Tag: 0a69bb4691662054596f48b9a1cab8f9323442c8

staging: octeon-usb: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/octeon-usb/cvmx-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb.c index d7b3c82..45dfe94 100644 — a/drivers/staging/octeon-usb/cvmx-usb.c +++ b/drivers/staging/octeon-usb/cvmx-usb.c @@ -604,7 …

Continue reading