We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2691f6 commit 07b7b88Copy full SHA for 07b7b88
drivers/base/dd.c
@@ -806,7 +806,7 @@ static int __init save_async_options(char *buf)
806
if (strlen(buf) >= ASYNC_DRV_NAMES_MAX_LEN)
807
pr_warn("Too long list of driver names for 'driver_async_probe'!\n");
808
809
- strlcpy(async_probe_drv_names, buf, ASYNC_DRV_NAMES_MAX_LEN);
+ strscpy(async_probe_drv_names, buf, ASYNC_DRV_NAMES_MAX_LEN);
810
async_probe_default = parse_option_str(async_probe_drv_names, "*");
811
812
return 1;
0 commit comments