提交 f9b97fe6 编写于 作者: B Brian Norris

Merge MTD 4.3-rc1 updates into -next

......@@ -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++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册