]> git.ipfire.org Git - thirdparty/linux.git/commit
block/Kyber: Make the lock context annotations compatible with Clang
authorBart Van Assche <bvanassche@acm.org>
Fri, 5 Jun 2026 18:01:05 +0000 (11:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jun 2026 19:41:11 +0000 (13:41 -0600)
commitb4591b91526ef53eedefc124221ec1a060bfbe54
tree263428269e69996bfc7f28386d8b90ca2044b904
parent131f14125a1840d393c3dec8910483e3fc3daf18
block/Kyber: 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/91cb8c790fc8b26b8aa742569fbf8c2c1d099dac.1780682325.git.bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/kyber-iosched.c