Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: host: fix sparse warning: Using plain integer as NULL pointer

Fix this sparse warning:
 drivers/usb/host/oxu210hp-hcd.c:2687:42: warning: Using plain integer as NULL pointer

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Hannes Eder and committed by
Greg Kroah-Hartman
a9f8ec4d 2dfa319a

+1 -1
+1 -1
drivers/usb/host/oxu210hp-hcd.c
··· 2684 2684 oxu->urb_len = 0; 2685 2685 2686 2686 /* FIMXE */ 2687 - hcd->self.controller->dma_mask = 0UL; 2687 + hcd->self.controller->dma_mask = NULL; 2688 2688 2689 2689 if (oxu->is_otg) { 2690 2690 oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;