]> Git Repo - linux.git/commit - lib/kstrtox.c
kstrto*: accept "-0" for signed conversion
authorAlexey Dobriyan <[email protected]>
Wed, 9 Sep 2015 22:36:17 +0000 (15:36 -0700)
committerLinus Torvalds <[email protected]>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commit2d2e4715a65ca7e81b292d01ae009a03ccedb9b5
tree540fd65bc0d6d914dd8c5074d63074d3dc8d4f23
parent3cdea4d71439fb5676b7334a333dab0f7b1bd2e9
kstrto*: accept "-0" for signed conversion

strtol(3) et al accept "-0", so should we.

Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: David Howells <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/kstrtox.c
lib/test-kstrtox.c
This page took 0.054779 seconds and 4 git commands to generate.