commit | 16dc42e018c2868211b4928f20a957c0c216126c | [log] [tgz] |
---|---|---|
author | Stas Sergeev <stsp@aknet.ru> | Sat Apr 26 19:52:35 2008 +0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Apr 30 16:52:47 2008 -0700 |
tree | 2551571326e4927e70485159fafdc8ee7a3eb2ca | |
parent | 93dd40013f4f7f4b18d19d0d77855f025bcc57c3 [diff] |
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>