]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: dummy_hcd: fix build when BUG is not set
authorSasha Levin <levinsasha928@gmail.com>
Fri, 11 May 2012 04:39:37 +0000 (06:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 May 2012 22:17:31 +0000 (15:17 -0700)
commit153905c7ac67c5a88b812b9095209f47abd50660
tree8125285f55f79bcbdda6e71f8dc2e37cfb7a7041
parent58978ebe5225a0063475c0e187385a5e168e68b8
usb: gadget: dummy_hcd: fix build when BUG is not set

Use WARN_ON() instead of __WARN, which also means we won't use any
internal macros.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/dummy_hcd.c