]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
serial_core: fix sizeof(pointer)
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 6 Sep 2012 02:27:51 +0000 (10:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:19:50 +0000 (09:19 -0700)
commit37cd0c994fc8ecbfb258c4be2442d9d6f31447ea
tree273cec4f7d6838485d34674a94b4f4dcd2c7ae3a
parent6721ab7f77f2614ab43e3de2f908b1d7436331df
serial_core: fix sizeof(pointer)

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

Generated by: scripts/coccinelle/misc/noderef.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c