]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: muxes: fix wrong use of sizeof(ptr)
authorLaurent Navet <laurent.navet@gmail.com>
Tue, 8 Jan 2013 13:40:09 +0000 (14:40 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Tue, 22 Jan 2013 08:54:32 +0000 (09:54 +0100)
commit93a7232dbd8598c639b3f254158c2481942fe1f3
tree780659f4b05f32586cded38efbee30e5e789302f
parent0230fab4cab9d55600b7ed5128e898a92426f4ca
i2c: muxes: fix wrong use of sizeof(ptr)

sizeof when applied to a pointer typed expression gives the size of
the pointer

The semantic patch that makes this output is available
in scripts/coccinelle/misc/noderef.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/muxes/i2c-mux-pinctrl.c