]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: core: bail out if user gives an unknown RefId when using new_id
authorWolfram Sang <wsa@the-dreams.de>
Sun, 12 Jan 2014 09:07:50 +0000 (10:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 00:09:35 +0000 (16:09 -0800)
commit52a6966c350624db89addc3e6a825f5e797a73e4
treeb3f7f154831d0a369f34b3922016b26996da44f0
parent2fc82c2de604deabb86b0558be0a301bb2209a19
usb: core: bail out if user gives an unknown RefId when using new_id

If users use the new RefId feature of new_id, give them an error message
if they provided an unknown reference. That helps detecting typos.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c