Re: [PATCH] atm: solos-pci: Replace simple_strtol by kstrtoint
From: David Miller
Date: Sun Nov 29 2015 - 22:46:46 EST
From: LABBE Corentin <clabbe.montjoie@xxxxxxxxx>
Date: Wed, 25 Nov 2015 14:44:41 +0100
> The simple_strtol function is obsolete.
> This patch replace it by kstrtoint.
> This will simplify code, since some error case not handled by
> simple_strtol are handled by kstrtoint.
>
> Signed-off-by: LABBE Corentin <clabbe.montjoie@xxxxxxxxx>
kstrtoint() actually returns an accurate error code, so please
use it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/