summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-16 13:40:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:58:08 -0700
commit9d85db2244d71fa4f2f9747a090c1920f07a8b4b (patch)
tree5ae72c9df6cdc1ade8fcff0c3bbe7aad5f875fe5 /drivers/ieee1394
parent22d27051b4b2a2650c54fa3f08c2c271c6234a2f (diff)
downloadop-kernel-dev-9d85db2244d71fa4f2f9747a090c1920f07a8b4b.zip
op-kernel-dev-9d85db2244d71fa4f2f9747a090c1920f07a8b4b.tar.gz
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 'drivers/ieee1394')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud