-
Notifications
You must be signed in to change notification settings - Fork 151
rqspinlock: Annotate rqspinlock lock acquiring functions with __must_check #10348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bpf-next_base
Are you sure you want to change the base?
Conversation
|
Upstream branch: 792f258 |
AI reviewed your patch. Please fix the bug or email reply why it's not a bug. In-Reply-To-Subject: |
|
Forwarding comment 3564643279 via email |
44cbecf to
e8ba78a
Compare
|
Upstream branch: 878ee3c |
263ec83 to
540a171
Compare
e8ba78a to
c1a1f03
Compare
|
Upstream branch: ae24fc8 |
540a171 to
f136885
Compare
c1a1f03 to
ca453f8
Compare
|
Upstream branch: 4dd3a48 |
f136885 to
c9cc8ae
Compare
ca453f8 to
b3f74e5
Compare
|
Upstream branch: 8f7cf30 |
c9cc8ae to
cec8352
Compare
b3f74e5 to
b57110f
Compare
…check Locking a resilient queued spinlock can fail when deadlock or timeout happen. Mark the lock acquring functions with __must_check to make sure callers always handle the returned error. Suggested-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Amery Hung <ameryhung@gmail.com>
Return errors from raw_res_spin_lock{_irqsave}() to writelock(). This is
simply to silence the unused result warning. lock_torture_writer()
currently does not handle errors returned from writelock(). This aligns
with the existing torture test for ww_mutex.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
|
Upstream branch: c427320 |
cec8352 to
17329c8
Compare
Pull request for series with
subject: rqspinlock: Annotate rqspinlock lock acquiring functions with __must_check
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504