]> Pileus Git - ~andy/linux/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)
commit72688dc95afcb42f4d5e8762f8790144cec9a280
tree8125285f55f79bcbdda6e71f8dc2e37cfb7a7041
parentfdf6e6390a567963e302a62ef676dd648d11661c
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