• John Hughes's avatar
    [SCSI] ses: show devices for enclosures with no page 7 · 877a5597
    John Hughes authored
    enclosure page 7 gives us the "pretty" names of the enclosure slots.
    Without a page 7, we can still use the enclosure code as long as we
    make up numeric names for the slots. Unfortunately, the current code
    fails to add any devices because the check for page 10 is in the wrong
    place if we have no page 7.  Fix it so that devices show up even if
    the enclosure has no page 7.
    
    Cc: stable@kernel.org
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    877a5597
ses.c 17.1 KB