Messages in this thread | | | Subject | Re: [PATCH -mm] megaraid gcc 4.1 warning fix | From | Daniel Walker <> | Date | Wed, 10 May 2006 08:03:27 -0700 |
| |
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 ..
Daniel
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |