diff options
| author | Damien Le Moal <[email protected]> | 2021-08-20 16:02:55 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-09-29 00:10:57 -0400 |
| commit | c749301ebee82eb5e97dec14b6ab31a4aabe37a6 (patch) | |
| tree | 829c93e2747997981d0cdda0421bad1e1c5b53d2 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a7d6840bed0c2b16ac3071b74b5fcf08fc488241 (diff) | |
scsi: sd: Fix sd_do_mode_sense() buffer length handling
For devices that explicitly asked for MODE SENSE(10) use, make sure that
scsi_mode_sense() is called with a buffer of at least 8 bytes so that the
sense header fits.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions