lkml.org 
[lkml]   [2006]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH -mm] megaraid gcc 4.1 warning fix
    From
    Date
    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/

    \
     
     \ /
      Last update: 2006-05-10 17:05    [W:0.021 / U:0.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site