[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D8E82A446BF54499747901DBDEB737A8D0C198B@avsrvexchmbx1.microsemi.net>
Date: Wed, 30 Aug 2017 02:10:35 +0000
From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@...rosemi.com>
To: Nikola Pajkovsky <npajkovsky@...e.cz>,
dl-esc-Aacraid Linux Driver <aacraid@...rosemi.com>
CC: "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 2/3] scsi: aacraid: get rid of one level of indentation
> -----Original Message-----
> From: Nikola Pajkovsky [mailto:npajkovsky@...e.cz]
> Sent: Tuesday, August 29, 2017 4:59 AM
> To: dl-esc-Aacraid Linux Driver <aacraid@...rosemi.com>
> Cc: Nikola Pajkovsky <npajkovsky@...e.cz>; James E.J. Bottomley
> <jejb@...ux.vnet.ibm.com>; Martin K. Petersen
> <martin.petersen@...cle.com>; linux-scsi@...r.kernel.org; linux-
> kernel@...r.kernel.org
> Subject: [PATCH 2/3] scsi: aacraid: get rid of one level of indentation
>
> EXTERNAL EMAIL
>
>
> unsigned long byte_count = 0;
> nseg = scsi_dma_map(scsicmd);
> if (nseg < 0)
> return nseg;
> if (nseg) {
> ...
> }
> return byte_count;
>
> is equal to
>
> unsigned long byte_count = 0;
> nseg = scsi_dma_map(scsicmd);
> if (nseg <= 0)
> return nseg;
> ...
> return byte_count;
>
> No other code has changed.
>
> Signed-off-by: Nikola Pajkovsky <npajkovsky@...e.cz>
> ---
[.....]
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@...rosemi.com>
Powered by blists - more mailing lists