[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200709022203.39922.jesper.juhl@gmail.com>
Date: Sun, 2 Sep 2007 22:03:39 +0200
From: Jesper Juhl <jesper.juhl@...il.com>
To: Satyam Sharma <satyam@...radead.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
James Bottomley <james.bottomley@...eleye.com>,
aacraid@...ptec.com, linux-scsi@...r.kernel.org
Subject: Re: [PATCH -mm] IPS SCSI driver: Check return of scsi_add_host()
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@...radead.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists