Commit b7d83b8c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] scripts/modpost warning

From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>

I need the following patch to kill a warning (__endian() may be unused)
when cross-compiling m68k kernels on an ia32 box.
parent 5d5c8930
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#if KERNEL_ELFDATA != HOST_ELFDATA #if KERNEL_ELFDATA != HOST_ELFDATA
static void __endian(const void *src, void *dest, unsigned int size) static inline void __endian(const void *src, void *dest, unsigned int size)
{ {
unsigned int i; unsigned int i;
for (i = 0; i < size; i++) for (i = 0; i < size; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment