]> git.ipfire.org Git - thirdparty/linux.git/commit
block/mq-deadline: Make the lock context annotations compatible with Clang
authorBart Van Assche <bvanassche@acm.org>
Fri, 5 Jun 2026 18:01:06 +0000 (11:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jun 2026 19:41:11 +0000 (13:41 -0600)
commitf10b2de2af28f90c9d1a0774a474e5c4e4d222da
tree31d24f7b8a9cc30971cf02feb76e83b1d3f8f04a
parentb4591b91526ef53eedefc124221ec1a060bfbe54
block/mq-deadline: Make the lock context annotations compatible with Clang

While sparse ignores the __acquires() and __releases() arguments, Clang
verifies these. Make the arguments of __acquires() and __releases()
acceptable for Clang.

Reviewed-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://patch.msgid.link/3b6e336ced91e27213608ffce205ccd24f4ba285.1780682325.git.bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/mq-deadline.c