Re: [PATCH] cxgb3: Convert simple_strtoul to kstrtox

2015-12-05 Thread David Miller
From: LABBE Corentin Date: Fri, 4 Dec 2015 15:26:40 +0100 > the simple_strtoul function is obsolete. This patch replace it by > kstrtox. > > Signed-off-by: LABBE Corentin Again, kstrtouint() provides a reasonable error code, therefore when you do these conversions you should use that error co

[PATCH] cxgb3: Convert simple_strtoul to kstrtox

2015-12-04 Thread LABBE Corentin
the simple_strtoul function is obsolete. This patch replace it by kstrtox. Signed-off-by: LABBE Corentin --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 10 - drivers/net/ethernet/chelsio/cxgb3/t3_hw.c | 28 ++--- 2 files changed, 25 insertions(+), 13 delet