Skip to content
Commit 3eabddb8 authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

libata-eh: update atapi_eh_request_sense() to take @dev instead of @qc



Update atapi_eh_request_sense() to take @dev, @sense_buf and
@dfl_sense_key instead of taking @qc and extracting information from
it.  This change is to make the function more generic and allow it to
be called from other places.

While at it, make cdb initialization use initializer.

Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent ec6add99
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment