Hi all, some arrays (most notably 3Par) only support simple subenclosures. Sadly our ses implementation doesn't handle this properly, so we're greeted with error messages like: scsi 1:0:0:254: Wrong diagnostic page; asked for 2 got 0 scsi 1:0:0:254: Failed to get diagnostic page 0xffffffea scsi 1:0:0:254: Failed to bind enclosure -19 ses 1:0:0:254: Attached Enclosure device This patchset fixes up our ses implementation to work properly with simple subenclosures. As usual, comments and reviews are welcome. Hannes Reinecke (4): scsi: Fixup ses page check ses: check return code from ses_recv_diag() ses: Fixup error message 'failed to get diagnostic page 0xffffffea' ses: make page2 support optional drivers/scsi/ses.c | 63 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 11 deletions(-) -- 1.8.5.6