From: David Rientjes Date: Sun, 7 Apr 2013 21:11:47 +0000 (-0700) Subject: usb, gadget: use appropriate warning accessors X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75bfe23a36fc47dd95c5216b48caaf1fa9c55a65;p=pandora-kernel.git usb, gadget: use appropriate warning accessors Use the appropriate WARN() and WARN_ON() accessors to avoid a build error when CONFIG_BUG=n: drivers/usb/gadget/configfs.c: In function 'config_usb_cfg_unlink': drivers/usb/gadget/configfs.c:442:2: error: implicit declaration of function '__WARN_printf' drivers/usb/gadget/configfs.c: In function 'configfs_do_nothing': drivers/usb/gadget/configfs.c:733:2: error: implicit declaration of function '__WARN' Reported-by: Randy Dunlap Signed-off-by: David Rientjes Cc: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed