Repository navigation
Commit 90d4fa4
mtd: spi-nor: Kill check with no effect
header.minor is of type u8 and cannot be negative.
Detected by CoverityScan CID#1417858 ("Integer handling issues")
Fixes: f384b35 ("mtd: spi-nor: parse Serial Flash Discoverable
Parameters (SFDP) tables")
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>1 parent 8a5776a commit 90d4fa4
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2288 | 2288 | | |
2289 | 2289 | | |
2290 | 2290 | | |
2291 | | - | |
2292 | | - | |
| 2291 | + | |
2293 | 2292 | | |
2294 | 2293 | | |
2295 | 2294 | | |
| |||
0 commit comments