diff options
author | Damien Le Moal <[email protected]> | 2017-04-24 16:51:12 +0900 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-04-25 13:00:56 -0400 |
commit | 2908769c35fbd3de7b874b60b95ba81546e3c920 (patch) | |
tree | 9bde4e27970ce851070a4b2b3daf6bb7eaed388f /scripts/gdb/linux | |
parent | d227ec267ff4fa91ac2db9965d5392cf825be511 (diff) |
scsi: Improve scsi_get_sense_info_fld
Use get_unaligned_be32 and get_unaligned_be64 to obtain values from the
sense buffer instead of open coding the operations. Also change the
function return value to a bool and fix the function signature
declaration to remove spaces triggering checkpatch warnings.
No functional change is introduced by this patch.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions