diff options
author | Anil Ravindranath <anil_ravindranath@pmc-sierra.com> | 2010-10-25 18:41:54 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-26 13:51:09 -0400 |
commit | df30e5059681ed0671c9cc6ff702fe9ca7f20042 (patch) | |
tree | 302c83c9c087304994f36736b66acea89a6ad90c /drivers | |
parent | a1e0063d0c015145946981262f8d5f9758d8a895 (diff) |
[SCSI] pmcraid: remove duplicate struct member
sense_buffer is both a direct member of struct pmcraid_cmd as well as
an indirect one via an anonymous union and struct. Fix this clash by
eliminating the direct member in favour of the anonymous struct/union
one. The name duplication apparently isn't noticed by gcc versions
earlier than 4.4
Reported-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/pmcraid.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h index 6cfa0145a1d7..dd78f9e8eb9b 100644 --- a/drivers/scsi/pmcraid.h +++ b/drivers/scsi/pmcraid.h | |||
@@ -568,7 +568,6 @@ struct pmcraid_cmd { | |||
568 | struct pmcraid_control_block *ioa_cb; | 568 | struct pmcraid_control_block *ioa_cb; |
569 | dma_addr_t ioa_cb_bus_addr; | 569 | dma_addr_t ioa_cb_bus_addr; |
570 | dma_addr_t dma_handle; | 570 | dma_addr_t dma_handle; |
571 | u8 *sense_buffer; | ||
572 | 571 | ||
573 | /* pointer to mid layer structure of SCSI commands */ | 572 | /* pointer to mid layer structure of SCSI commands */ |
574 | struct scsi_cmnd *scsi_cmd; | 573 | struct scsi_cmnd *scsi_cmd; |