[media] go7007: fix invalid use of sizeof in go7007_usb_i2c_master_xfer()
commit02745f63443c08b9b82ab2d654a0f5fc3699e586
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 26 Mar 2013 07:45:11 +0000 (26 04:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 26 Mar 2013 11:37:46 +0000 (26 08:37 -0300)
tree2b15134d74a6e8575d4e083dd017de5e53538182
parent0170a39b69ae65fffb40bd162730e3de2b87c835
[media] go7007: fix invalid use of sizeof in go7007_usb_i2c_master_xfer()

sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/go7007-usb.c