]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: octeon-usb: Cocci spatch "noderef"
authorThomas Meyer <thomas@m3y3r.de>
Thu, 19 Sep 2013 21:45:46 +0000 (23:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 23:53:39 +0000 (16:53 -0700)
commit0a69bb4691662054596f48b9a1cab8f9323442c8
tree0e82ace87f3366f8b84e6bf36d69b2ff2765ae04
parentf6853448667b3b3234331b22d34d7158b12237fd
staging: octeon-usb: Cocci spatch "noderef"

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 <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/cvmx-usb.c