mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-27 11:54:44 -04:00
Merge MTD 4.3-rc1 updates into -next
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user