diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-26 21:22:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 23:52:16 (GMT) |
commit | 674dff6507d3f9b110219ea125cf5e1213c9acef (patch) | |
tree | ce1799340d42aa814e6b4d4311c6bcf6ff2c5f5c /include/linux | |
parent | 8155c02a44a95562e1ae0999360eb31288d7195a (diff) | |
download | linux-fsl-qoriq-674dff6507d3f9b110219ea125cf5e1213c9acef.tar.xz |
printk: change type of 'boot_delay' to int *
get_option() takes its 2nd arg as int * so passing boot_delay to it
caused following warnings from sparse:
kernel/printk.c:223:27: warning: incorrect type in argument 2 (different signedness)
kernel/printk.c:223:27: expected int *pint
kernel/printk.c:223:27: got unsigned int static [toplevel] *<noident>
Since boot_delay can't grow more than 10,000 changing it to 'int *'
will not produce any problem.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions