Commit 0a81fa5d authored by Borislav Petkov (AMD)'s avatar Borislav Petkov (AMD)

Merge ras/edac-misc into for-next

* ras/edac-misc:
  EDAC/thunderx: Check debugfs file creation retval properly
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
parents 6c79e421 bf5c04dd
...@@ -481,7 +481,7 @@ static int thunderx_create_debugfs_nodes(struct dentry *parent, ...@@ -481,7 +481,7 @@ static int thunderx_create_debugfs_nodes(struct dentry *parent,
ent = edac_debugfs_create_file(attrs[i]->name, attrs[i]->mode, ent = edac_debugfs_create_file(attrs[i]->name, attrs[i]->mode,
parent, data, &attrs[i]->fops); parent, data, &attrs[i]->fops);
if (!ent) if (IS_ERR(ent))
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment