From: Hannes Reinecke Subject: Re: [PATCH v2 7/8] scsi/pmcraid: Remove an unused structure member Date: Tue, 17 Oct 2017 08:21:33 +0200 Message-ID: <5ea64c10-aa3e-f0ee-cfba-e93b3d8e1428@suse.de> References: <20171016224940.1332-1-bart.vanassche@wdc.com> <20171016224940.1332-8-bart.vanassche@wdc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-nvme@lists.infradead.org, linux-crypto@vger.kernel.org, "Martin K . Petersen" , Anil Ravindranath To: Bart Van Assche , Jens Axboe Return-path: Received: from mx2.suse.de ([195.135.220.15]:57498 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932545AbdJQGVg (ORCPT ); Tue, 17 Oct 2017 02:21:36 -0400 In-Reply-To: <20171016224940.1332-8-bart.vanassche@wdc.com> Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: On 10/17/2017 12:49 AM, Bart Van Assche wrote: > Signed-off-by: Bart Van Assche > Reviewed-by: Johannes Thumshirn > Cc: linux-scsi@vger.kernel.org > Cc: Martin K. Petersen > Cc: Anil Ravindranath > --- > drivers/scsi/pmcraid.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h > index 8bfac72a242b..44da91712115 100644 > --- a/drivers/scsi/pmcraid.h > +++ b/drivers/scsi/pmcraid.h > @@ -542,7 +542,6 @@ struct pmcraid_sglist { > u32 order; > u32 num_sg; > u32 num_dma_sg; > - u32 buffer_len; > struct scatterlist scatterlist[1]; > }; > > This actually is the same story that we've had with ipr (and, looking at the code, those two drivers look awfully similar ...). pmcraid_sglist looks as if it's a hardware-dependent structure, so just removing one entry from the middle of a structure might not be a good idea. But this is something for the pmcraid folks to clarify. Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)