summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-04 11:53:18 +0100
committerTom Rini <[email protected]>2025-07-11 11:33:25 -0600
commitff8a41ce4947c6d7f1826990d5d7b96d30928e3f (patch)
tree5d232785f9e9c91752a45d94bfddf94e4a00ae0b /include/linux/kernel.h
parenta21ec39944f93fb5bd3dd5de525e78cac988fdb6 (diff)
fs: erofs: Do NULL check before dereferencing pointer
The assignments to sect and off use the pointer from ctxt.cur_dev but that has not been NULL checked before this is done. So instead move the assignments after the NULL check. This issue found by Smatch Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Gao Xiang <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions