diff options
author | Algapally Santosh Sagar <santoshsagar.algapally@amd.com> | 2023-06-14 03:03:57 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-07-21 09:00:38 +0200 |
commit | 52279be25cf53491a605ce2ebcefd81b4e7ed9b3 (patch) | |
tree | dfd7184b5d69a731e327114de67e98c347c3de86 /drivers/fpga/cyclon2.c | |
parent | 0ebb68fb55f135b036fe20a74f2cfebd98ac0b76 (diff) |
mtd: nand: zynq_nand: Change datatype of status and ecc_status to int
status and ecc_status are of unsigned type where they are compared for
negative value. This is pointed by below sparse warning. Change datatype
to int to fix this.
warning: comparison of unsigned expression in '< 0' is always false
[-Wtype-limits]
Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230614090359.10809-5-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/fpga/cyclon2.c')
0 files changed, 0 insertions, 0 deletions