Re: [PATCH 1/1] scsi/snic: fixing the error print
From: Narsimhulu Musini (nmusini)
Date: Thu Jun 25 2015 - 06:33:04 EST
On 25/06/15 3:22 pm, "Maninder Singh" <maninder1.s@xxxxxxxxxxx> wrote:
>Currently SNIC_HOST_ERR is called in both cases
>whether snic_disc_start returns zero or non-zero.
>
>From the code it looks like it has to print only if
>snic_disc_start return non-zero value, So calling
>SNIC_HOST_ERR only for non-zero return from snic_disc_start.
>
>Signed-off-by: Maninder Singh <maninder1.s@xxxxxxxxxxx>
>Reviewed-by: Rohit Thapliyal <r.thapliyal@xxxxxxxxxxx>
Acked-by: Narsimhulu Musini <nmusini@xxxxxxxxx>
--
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/