[dpdk-dev] [PATCH 23/39] net/ixgbe/base: add bound check in LED functions

2016-09-22 Thread Wang, Xiao W
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, September 20, 2016 1:07 AM > To: Wang, Xiao W ; Lu, Wenzhuo > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 23/39] net/ixgbe/base: add bound check in LED > functions > > On 8/27

[dpdk-dev] [PATCH 23/39] net/ixgbe/base: add bound check in LED functions

2016-09-19 Thread Ferruh Yigit
On 8/27/2016 4:48 PM, Xiao Wang wrote: > Do parameter check to prevent exceptional value being written into > register. > > Signed-off-by: Xiao Wang > --- > drivers/net/ixgbe/base/ixgbe_common.c | 15 ++- > drivers/net/ixgbe/base/ixgbe_x540.c | 6 ++ > 2 files changed, 20 inse

[dpdk-dev] [PATCH 23/39] net/ixgbe/base: add bound check in LED functions

2016-08-27 Thread Xiao Wang
Do parameter check to prevent exceptional value being written into register. Signed-off-by: Xiao Wang --- drivers/net/ixgbe/base/ixgbe_common.c | 15 ++- drivers/net/ixgbe/base/ixgbe_x540.c | 6 ++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgb