summaryrefslogtreecommitdiffstats
path: root/lib/crc-t10dif.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-16 22:40:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 23:58:08 +0200
commit9d85db2244d71fa4f2f9747a090c1920f07a8b4b (patch)
tree5ae72c9df6cdc1ade8fcff0c3bbe7aad5f875fe5 /lib/crc-t10dif.c
parentlib: trivial whitespace tidy (diff)
downloadlinux-9d85db2244d71fa4f2f9747a090c1920f07a8b4b.tar.xz
linux-9d85db2244d71fa4f2f9747a090c1920f07a8b4b.zip
lib: remove defining macros for strict_strto??
Open-code them rather than using defining macros. The function bodies are now next to their kerneldoc comments as a bonus. Add casts to the signed cases as they call into the unsigned versions. Avoids the sparse warnings: lib/vsprintf.c:249:1: warning: incorrect type in argument 3 (different signedness) lib/vsprintf.c:249:1: expected unsigned long *res lib/vsprintf.c:249:1: got long *res lib/vsprintf.c:249:1: warning: incorrect type in argument 3 (different signedness) lib/vsprintf.c:249:1: expected unsigned long *res lib/vsprintf.c:249:1: got long *res lib/vsprintf.c:251:1: warning: incorrect type in argument 3 (different signedness) lib/vsprintf.c:251:1: expected unsigned long long *res lib/vsprintf.c:251:1: got long long *res lib/vsprintf.c:251:1: warning: incorrect type in argument 3 (different signedness) lib/vsprintf.c:251:1: expected unsigned long long *res lib/vsprintf.c:251:1: got long long *res Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc-t10dif.c')
0 files changed, 0 insertions, 0 deletions