mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 10:06:43 +07:00
Merge branch 'sh/driver-core'
This commit is contained in:
commit
b9e3fc29c0
@ -1259,7 +1259,7 @@ static int __init early_platform_driver_probe_id(char *class_str,
|
||||
* dev_name() and others to be used before the
|
||||
* rest of the driver core is initialized.
|
||||
*/
|
||||
if (!match->dev.init_name) {
|
||||
if (!match->dev.init_name && slab_is_available()) {
|
||||
if (match->id != -1)
|
||||
match->dev.init_name =
|
||||
kasprintf(GFP_KERNEL, "%s.%d",
|
||||
|
Loading…
Reference in New Issue
Block a user