]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
pmcraid: remove duplicate struct member
authorAnil Ravindranath <anil_ravindranath@pmc-sierra.com>
Mon, 25 Oct 2010 22:41:54 +0000 (15:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 19:03:16 +0000 (11:03 -0800)
commit990a971cf6443839baad4660abb40844849b89d9
treebf77595a84c88a793f575c44d1d024573f6ec97b
parent4b316a3ac3411569714d8bbc26dc3af3a49bd8bd
pmcraid: remove duplicate struct member

commit df30e5059681ed0671c9cc6ff702fe9ca7f20042 upstream.

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>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/pmcraid.h