diff options
| author | Andrew Goodbody <[email protected]> | 2025-06-26 11:49:32 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-28 12:10:47 -0600 |
| commit | ce1bdedd2f4b3c5c8c76fbf2fc1a234fca470573 (patch) | |
| tree | b2f55b3de65b2fe25197f8f53b7c27d706c9bf30 /include/linux/linux_string.h | |
| parent | f12ca3e2b81beef901c182981bb70b0b2aec8f6c (diff) | |
cmd: mtd: Prevent use of uninitialised variable
ret maybe used uninitialised in some cases so instead
initialise it first to prevent this.
This issue was found by Smatch.
Fixes: 9671243e8d10 (cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands)
Signed-off-by: Andrew Goodbody <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
