The patch titled
     alpha: fix boot/main.c warning
has been added to the -mm tree.  Its filename is
     alpha-fix-boot-mainc-warning.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: alpha: fix boot/main.c warning
From: Meelis Roos <[EMAIL PROTECTED]>

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]>
---

 arch/alpha/boot/main.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/alpha/boot/main.c~alpha-fix-boot-mainc-warning 
arch/alpha/boot/main.c
--- a/arch/alpha/boot/main.c~alpha-fix-boot-mainc-warning
+++ a/arch/alpha/boot/main.c
@@ -132,7 +132,7 @@ static inline long load(long dev, unsign
        if (result)
                srm_printk("Boot file specification (%s) not implemented\n",
                       bootfile);
-       return callback_read(dev, count, addr, boot_size/512 + 1);
+       return callback_read(dev, count, (void *)addr, boot_size/512 + 1);
 }
 
 /*
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

alpha-fix-mkbb-compilation-warnings.patch
alpha-fix-objstripc-compilation-warnings.patch
alpha-fix-boot-mainc-warning.patch
acpi-cure-run-together-printk-lines.patch
fix-integer-overflow-warning-in-i2o_block.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to