Loading drivers/mtd/spi-nor/spi-nor.c +1 −1 Original line number Diff line number Diff line Loading @@ -1219,7 +1219,7 @@ static const struct flash_info *spi_nor_match_id(const char *name) { const struct flash_info *id = spi_nor_ids; while (id->name[0]) { while (id->name) { if (!strcmp(name, id->name)) return id; id++; Loading Loading
drivers/mtd/spi-nor/spi-nor.c +1 −1 Original line number Diff line number Diff line Loading @@ -1219,7 +1219,7 @@ static const struct flash_info *spi_nor_match_id(const char *name) { const struct flash_info *id = spi_nor_ids; while (id->name[0]) { while (id->name) { if (!strcmp(name, id->name)) return id; id++; Loading