mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-30 11:37:14 +00:00
The unsigned variable log_num is being assigned a return value
from the call to sharpsl_nand_get_logical_num that can return
-EINVAL.
Detected using Coccinelle:
./drivers/mtd/parsers/sharpslpart.c:207:6-13: WARNING: Unsigned expression compared with zero: log_num > 0
Fixes:
|
||
|---|---|---|
| .. | ||
| afs.c | ||
| ar7part.c | ||
| bcm47xxpart.c | ||
| bcm63xxpart.c | ||
| cmdlinepart.c | ||
| Kconfig | ||
| Makefile | ||
| ofpart.c | ||
| parser_imagetag.c | ||
| parser_trx.c | ||
| redboot.c | ||
| sharpslpart.c | ||