diff options
| author | Colin Ian King <[email protected]> | 2021-09-06 13:44:38 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-09-08 22:15:48 +0000 |
| commit | 36bbeb336584c3551bac72592bcaeeebb430fef1 (patch) | |
| tree | a9002c1a2d6a4850650d15fce85352d551e7314d /fs/proc/array.c | |
| parent | ksmbd: add validation for ndr read/write functions (diff) | |
| download | kernel-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 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
