Skip to content

Commit 6aeb885

Browse files
nfrapradogregkh
authored andcommitted
device: core: Log warning for devices pending deferred probe on timeout
Once the deferred probe timeout has elapsed it is very likely that the devices that are still deferring probe won't ever be probed. Therefore log the defer probe pending reason at the warning level instead to bring attention to the issue. Signed-off-by: "Nícolas F. R. A. Prado" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 448af2d commit 6aeb885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/dd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static void deferred_probe_timeout_work_func(struct work_struct *work)
313313

314314
mutex_lock(&deferred_probe_mutex);
315315
list_for_each_entry(p, &deferred_probe_pending_list, deferred_probe)
316-
dev_info(p->device, "deferred probe pending: %s", p->deferred_probe_reason ?: "(reason unknown)\n");
316+
dev_warn(p->device, "deferred probe pending: %s", p->deferred_probe_reason ?: "(reason unknown)\n");
317317
mutex_unlock(&deferred_probe_mutex);
318318

319319
fw_devlink_probing_done();

0 commit comments

Comments
 (0)