diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-12-04 19:36:33 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-08 03:06:58 +0100 |
commit | 4b1d8e78615d1ab19ac85aef4d61c47f175ecf50 (patch) | |
tree | 8ebc9688c511cda5d19190808f395b898c47516e /drivers/scsi/scsi_debug.c | |
parent | scsi: core: scsi_get_device_flags_keyed(): Always return device flags (diff) | |
download | linux-4b1d8e78615d1ab19ac85aef4d61c47f175ecf50.tar.xz linux-4b1d8e78615d1ab19ac85aef4d61c47f175ecf50.zip |
scsi: core: Introduce scsi_devinfo_key enumeration type
Since symbolic names for the device information keys alread exist,
associate an enumeration type with these symbolic values. This change
makes it clear what the valid values for the 'key' arguments are.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions