Re: [PATCH -mm] megaraid gcc 4.1 warning fix
From: Daniel Walker
Date: Wed May 10 2006 - 11:03:02 EST
On Wed, 2006-05-10 at 16:08 +0100, Alan Cox wrote:
> On Mer, 2006-05-10 at 07:21 -0700, Daniel Walker wrote:
> > The writel on 1153 is attached to a memory leak, or I add one in this
> > patch ?
> You exit without cleaning up.
Your talking about this warning ,
drivers/scsi/megaraid.c: In function âmegadev_ioctlâ:
drivers/scsi/megaraid.c:3665: warning: ignoring return value of âcopy_to_userâ, declared with attribute warn_unused_result
Ahh, I see .. I'll set rval as you suggested ..
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/