Re: [PATCH v2 09/39] megaraid_sas: change issue_dcmd to return void from int

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/08/2017 10:29 AM, Shivasharan S wrote:
> fix in v2 : 
> 1. split patches into two as discussed below 
> http://marc.info/?l=linux-scsi&m=148638999110404&w=2
> 2. issue_dcmd return type changed from int to void.
> 
> 
> With the changes to remove checks for a valid request descriptor,
> issue_dcmd will now always return DCMD_SUCCESS. This patch changes
> return type of issue_dcmd to void and change all callers
> appropriately.
> 
> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
> Signed-off-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxx>
> ---
>  drivers/scsi/megaraid/megaraid_sas.h        |  2 +-
>  drivers/scsi/megaraid/megaraid_sas_base.c   | 19 +++++++++++--------
>  drivers/scsi/megaraid/megaraid_sas_fusion.c |  8 ++++----
>  3 files changed, 16 insertions(+), 13 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		               zSeries & Storage
hare@xxxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux