mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
Merge ras/edac-misc into for-next
* ras/edac-misc: EDAC/thunderx: Check debugfs file creation retval properly Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
This commit is contained in:
commit
0a81fa5d74
|
|
@ -481,7 +481,7 @@ static int thunderx_create_debugfs_nodes(struct dentry *parent,
|
|||
ent = edac_debugfs_create_file(attrs[i]->name, attrs[i]->mode,
|
||||
parent, data, &attrs[i]->fops);
|
||||
|
||||
if (!ent)
|
||||
if (IS_ERR(ent))
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user