lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ