]> Git Repo - linux.git/commitdiff
[SCSI] pmcraid: remove duplicate struct member
authorAnil Ravindranath <[email protected]>
Mon, 25 Oct 2010 22:41:54 +0000 (15:41 -0700)
committerJames Bottomley <[email protected]>
Tue, 26 Oct 2010 17:51:09 +0000 (12:51 -0500)
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 <[email protected]>
Signed-off-by: Anil Ravindranath <[email protected]>
Cc: Stable Tree <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/pmcraid.h

index 6cfa0145a1d7f088ea41926c400154bfcd0b989d..dd78f9e8eb9bbfe31f4deda7099292868ad2beab 100644 (file)
@@ -568,7 +568,6 @@ struct pmcraid_cmd {
        struct pmcraid_control_block *ioa_cb;
        dma_addr_t ioa_cb_bus_addr;
        dma_addr_t dma_handle;
-       u8 *sense_buffer;
 
        /* pointer to mid layer structure of SCSI commands */
        struct scsi_cmnd *scsi_cmd;
This page took 0.049537 seconds and 4 git commands to generate.