diff options
| author | 2025-08-30 18:06:37 +0800 | |
|---|---|---|
| committer | 2025-09-01 15:01:09 +0200 | |
| commit | 8a9e097def55391273d3042b32350ded1ec83e04 (patch) | |
| tree | e85b7616daefe934108e6aaee693fbd3b0660a33 /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | mtd: spinand: add support for FudanMicro FM25S01A (diff) | |
mtd: rawnand: pl353: Use int type to store negative error codes
Change the 'ret' variable from u32 to int in pl35x_nand_probe() to store
negative error codes or zero;
Storing the negative error codes in unsigned type, doesn't cause an issue
at runtime but can be confusing. Additionally, assigning negative error
codes to unsigned type may trigger a GCC warning when the -Wsign-conversion
flag is enabled.
No effect on runtime.
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
