Tag: 2e30d14f12421f39329faefd5ae92b02cc9ff255

USB: fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/usb/host/ehci-mv.c:181:26-27: WARNING comparing pointer to 0, suggest !E /c/kernel-tests/src/cocci/drivers/usb/host/ehci-mv.c:181:26-27: WARNING comparing pointer to 0 Compare pointer-typed values to NULL rather than 0 Semantic patch information: This makes an effort to choose between !x and x == NULL. !x is used if it has previously been used with the function used to …

Continue reading