afs: fix NULL alist dereference and address bitmask shifts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | afs: Guard NULL alist on restart in afs_select_vlserver()fs/ | +9 | 0 replies | |
| 2/2 | afs: Use bitops for fileserver address bitmasksfs/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] afs: fix NULL alist dereference and address bitmask shifts
I am trying out new Clang static analysis checks for kernel bug classes, and they flagged this code as possibly buggy. The findings were triaged/fixed and commit descriptions were drafted with help of AI, then checked against linux-next (not runtime-tested on hardware).
Thanks,
Elkin
Elkin Cruz (2):
afs: Guard NULL alist on restart in afs_select_vlserver()
afs: Use bitops for fileserver address bitmasks
fs/afs/rotate.c | 7 ++++--- fs/afs/vl_rotate.c | 15 +++++++++------ 2 files changed, 13 insertions(+), 9 deletions(-)
Signature · 1 line
2.56.1.839.g22a8290db9-goog