diff options
| author | Christoph Hellwig <hch@lst.de> | 2017-01-10 11:41:43 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2017-01-10 18:55:38 +0300 |
| commit | aa18da8b7ec57f6ff255634746aed6266a01b315 (patch) | |
| tree | 1c193773476d8d410c8caca5ee239562074661ad /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | fb1b8b117531f217e7d332bdc5cbdf8ebb077ea5 (diff) | |
| download | linux-aa18da8b7ec57f6ff255634746aed6266a01b315.tar.xz | |
libata: avoid global response buffer in atapi_qc_complete
We only need to look at 4 bytes of the inquiry response for ATAPI
devices. Instead of using the global ata_scsi_rbuf just use a
a stack buffer. Also factor the fixup into it's own little helper
function to make it more readable.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions
