Skip to content
Commit 16dc42e0 authored by Stas Sergeev's avatar Stas Sergeev Committed by Greg Kroah-Hartman
Browse files

driver core: warn about duplicate driver names on the same bus



Currently an attempt to register multiple
drivers with the same name causes the
stack trace with some cryptic error message.
The attached patch adds the necessary check
and the clear error message.

Signed-off-by: default avatarStas Sergeev <stsp@aknet.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 93dd4001
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