summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-19 07:00:41 +0900
committerJens Axboe <jens.axboe@oracle.com>2009-04-28 07:37:29 +0200
commit59a4f6f355fc718581ddcf1bb45a469d4756c035 (patch)
tree4593ab2fdf3a8521a63c07b47c717c1e6d84e6ff /drivers/staging
parent214ae19104141404f18ad6651752eb38e3dd584e (diff)
downloadtalos-op-linux-59a4f6f355fc718581ddcf1bb45a469d4756c035.tar.gz
talos-op-linux-59a4f6f355fc718581ddcf1bb45a469d4756c035.zip
ide-cd: clear sense buffer before issuing request sense
Impact: code simplification ide_cd_request_sense_fixup() clears the tail of the sense buffer if the device didn't completely fill it. This patch makes cdrom_queue_request_sense() clear the sense buffer before issuing the command instead of clearing it afterwards. This simplifies code and eases future changes. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud