diff options
| author | Meelis Roos <[email protected]> | 2007-07-31 07:38:13 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-31 22:39:39 +0000 |
| commit | 9965a5d5a5aab575f995ba58dc80285aa0f6ecbf (patch) | |
| tree | f3783e0a0b73a0528b5e31745e078190fd1984fc /lib/kasprintf.c | |
| parent | alpha: fix objstrip.c compilation warnings (diff) | |
| download | kernel-9965a5d5a5aab575f995ba58dc80285aa0f6ecbf.tar.gz kernel-9965a5d5a5aab575f995ba58dc80285aa0f6ecbf.zip | |
alpha: fix boot/main.c warning
In current 2.6.23-rc1+git, make bootimage gives the following warning while
compiling arch/alpha/boot/main.c. The patch below fixes the warning by
casting callback argument explicitly to void*. The original value comes from
START_ADDR macro and is clearly numeric so only cast it for the callback.
CC arch/alpha/boot/main.o
arch/alpha/boot/main.c: In function 'load':
arch/alpha/boot/main.c:135: warning: passing argument 3 of 'callback_read' makes pointer from integer without a cast
Signed-off-by: Meelis Roos <[email protected]>
Cc: Jay Estabrook <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: Richard Henderson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions
