On Tue, Jul 24, 2007 at 10:03:58PM -0700, Andrew Morton wrote: > > SuperH allmodconfig broke: > > fs/binfmt_flat.c:83: warning: initialization from incompatible pointer type > fs/binfmt_flat.c:94: error: conflicting types for 'flat_core_dump' > fs/binfmt_flat.c:78: error: previous declaration of 'flat_core_dump' was here > fs/binfmt_flat.c:94: error: conflicting types for 'flat_core_dump' > fs/binfmt_flat.c:78: error: previous declaration of 'flat_core_dump' was here > fs/binfmt_flat.c: In function `decompress_exec': > fs/binfmt_flat.c:293: warning: label `out' defined but not used > fs/binfmt_flat.c: In function `load_flat_file': > fs/binfmt_flat.c:462: warning: unsigned int format, long int arg (arg 3) > fs/binfmt_flat.c:462: warning: unsigned int format, long int arg (arg 4) > fs/binfmt_flat.c:518: warning: comparison of distinct pointer types lacks a > cast > fs/binfmt_flat.c:549: warning: passing arg 1 of `ksize' makes pointer from > integer without a cast > fs/binfmt_flat.c:601: warning: passing arg 1 of `ksize' makes pointer from > integer without a cast > fs/binfmt_flat.c: At top level: > fs/binfmt_flat.c:78: warning: 'flat_core_dump' used but never defined > fs/binfmt_flat.c:94: warning: 'flat_core_dump' defined but not used
Damn! Sorry about that. At least I have a mediocre excuse in that it was on an arch I didn't have hardware to test with. Should have caught that sooner though. Heres the patch for it. Regards Neil Signed-off-by: Neil Horman <[EMAIL PROTECTED]> binfmt_flat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index e8f8198..cc24c5d 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -75,7 +75,7 @@ static int load_flat_shared_library(int id, struct lib_info *p); #endif static int load_flat_binary(struct linux_binprm *, struct pt_regs * regs); -static int flat_core_dump(long signr, struct pt_regs * regs, struct file *file, u32 limit); +static int flat_core_dump(long signr, struct pt_regs * regs, struct file *file, unsigned long limit); static struct linux_binfmt flat_format = { .module = THIS_MODULE, -- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. [EMAIL PROTECTED] *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/