[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151205.184520.1281826797997335875.davem@davemloft.net>
Date: Sat, 05 Dec 2015 18:45:20 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: clabbe.montjoie@...il.com
Cc: santosh@...lsio.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] cxgb3: Convert simple_strtoul to kstrtox
From: LABBE Corentin <clabbe.montjoie@...il.com>
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 <clabbe.montjoie@...il.com>
Again, kstrtouint() provides a reasonable error code, therefore
when you do these conversions you should use that error code
rather than hardcoded -EWHATEVER.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists