mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
bsg: Add sparse annotations to bsg_request_fn()
Avoid that sparse complains about unbalanced lock actions. Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
382cf633ed
commit
dbb3ab0356
1 changed files with 2 additions and 0 deletions
|
|
@ -161,6 +161,8 @@ failjob_rls_job:
|
|||
* Drivers/subsys should pass this to the queue init function.
|
||||
*/
|
||||
void bsg_request_fn(struct request_queue *q)
|
||||
__releases(q->queue_lock)
|
||||
__acquires(q->queue_lock)
|
||||
{
|
||||
struct device *dev = q->queuedata;
|
||||
struct request *req;
|
||||
|
|
|
|||
Loading…
Reference in a new issue