commit | 90d4fa4540f16df552b4bac480a032552e594fc3 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Sun Sep 17 16:13:52 2017 +0200 |
committer | Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> | Tue Oct 10 17:00:25 2017 +0200 |
tree | 475eff301e0282cca24e20b63d9f738064b95724 | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f [diff] |
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: f384b352cbf0 ("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>