lkml.org 
[lkml]   [2007]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH -mm] IPS SCSI driver: Check return of scsi_add_host()
    Date
    On Sunday 02 September 2007 22:13:49 Satyam Sharma wrote:
    >
    > drivers/scsi/ips.c: In function ‘ips_register_scsi’:
    > drivers/scsi/ips.c:6869:
    > warning: ignoring return value of ‘scsi_add_host’, declared with attribute warn_unused_result
    >
    > scsi_add_host() is __must_check, so let's check it's return and cleanup
    > appropriately on errors.
    >
    > Signed-off-by: Satyam Sharma <satyam@infradead.org>
    >
    [snip]

    Something seems to be wrong either at your end or mine
    > + IPS_PRINTK(KERN_WARNING, ha->pcidev, "Unable to add SCSI host¥n");

    This should end with a newline "\n" but I'm seeing "¥n" ...


    /Jesper

    -
    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: 2007-09-02 22:11    [W:0.020 / U:31.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site