aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorFelipe Balbi <[email protected]>2016-09-07 10:39:37 +0000
committerFelipe Balbi <[email protected]>2016-09-07 12:37:36 +0000
commit696118c016dd5f5caaa05360f13f8acd8fb9d1a7 (patch)
treee00f6e1987304e862c4a58cc6fceba27cde2d736 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentusb: gadget: prevent potenial null pointer dereference on skb->len (diff)
downloadkernel-696118c016dd5f5caaa05360f13f8acd8fb9d1a7.tar.gz
kernel-696118c016dd5f5caaa05360f13f8acd8fb9d1a7.zip
usb: dwc3: pci: fix build warning on !PM_SLEEP
When building a kernel with CONFIG_PM_SLEEP=n, we get the following warning: drivers/usb/dwc3/dwc3-pci.c:253:12: warning: 'dwc3_pci_pm_dummy' defined but not used In order to fix this, we should only define dwc3_pci_pm_dummy() when CONFIG_PM_SLEEP is defined. Fixes: f6c274e11e3b ("usb: dwc3: pci: runtime_resume child device") Reported-by: Arnd Bergmann <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions