RE: [PATCH v2] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-06 Thread Kweh, Hock Leong
cw.cz; Kweh, Hock Leong > <hock.leong.k...@intel.com>; lars.pers...@axis.com; netdev > <net...@vger.kernel.org>; LKML <linux-kernel@vger.kernel.org> > Subject: [PATCH v2] net: stmmac: fix maxmtu assignment to be within valid > range > > From: "Kweh, Hock Leong&quo

RE: [PATCH v2] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-06 Thread Kweh, Hock Leong
assel ; Johan Hovold > ; pa...@ucw.cz; Kweh, Hock Leong > ; lars.pers...@axis.com; netdev > ; LKML > Subject: [PATCH v2] net: stmmac: fix maxmtu assignment to be within valid > range > > From: "Kweh, Hock Leong" > > There is no checking valid value of

[PATCH v2] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-05 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" There is no checking valid value of maxmtu when getting it from device tree. This resolution added the checking condition to ensure the assignment is made within a valid range. Signed-off-by: Kweh, Hock Leong ---

[PATCH v2] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-05 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" There is no checking valid value of maxmtu when getting it from device tree. This resolution added the checking condition to ensure the assignment is made within a valid range. Signed-off-by: Kweh, Hock Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |