aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-09-06 13:44:38 +0000
committerSteve French <[email protected]>2021-09-08 22:15:48 +0000
commit36bbeb336584c3551bac72592bcaeeebb430fef1 (patch)
treea9002c1a2d6a4850650d15fce85352d551e7314d /scripts/gcc-plugins/randomize_layout_plugin.c
parentksmbd: add validation for ndr read/write functions (diff)
downloadkernel-36bbeb336584c3551bac72592bcaeeebb430fef1.tar.gz
kernel-36bbeb336584c3551bac72592bcaeeebb430fef1.zip
ksmbd: add missing assignments to ret on ndr_read_int64 read calls
Currently there are two ndr_read_int64 calls where ret is being checked for failure but ret is not being assigned a return value from the call. Static analyis is reporting the checks on ret as dead code. Fix this. Addresses-Coverity: ("Logical dead code") Reviewed-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions