diff options
author | Stas Sergeev <stsp@aknet.ru> | 2008-04-26 17:52:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-01 01:52:47 +0200 |
commit | 16dc42e018c2868211b4928f20a957c0c216126c (patch) | |
tree | 2551571326e4927e70485159fafdc8ee7a3eb2ca /arch/ia64/kvm/vcpu.h | |
parent | klist: implement klist_add_{after|before}() (diff) | |
download | linux-16dc42e018c2868211b4928f20a957c0c216126c.tar.xz linux-16dc42e018c2868211b4928f20a957c0c216126c.zip |
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: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/ia64/kvm/vcpu.h')
0 files changed, 0 insertions, 0 deletions