summaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-12-13 12:52:58 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-23 13:45:29 +0100
commitb75f2d16cb0d3f75104f8565dd5f713dbf4a074d (patch)
tree3dbd168b912e59ced2a02ced0b73ebbc6527dbb6 /sound/i2c
parent[media] m5mols: fix sparse warnings (diff)
downloadlinux-b75f2d16cb0d3f75104f8565dd5f713dbf4a074d.tar.xz
linux-b75f2d16cb0d3f75104f8565dd5f713dbf4a074d.zip
[media] s5k4ecgx: fix sparse warnings
drivers/media/i2c/s5k4ecgx.c:223:16: warning: cast to restricted __be16 drivers/media/i2c/s5k4ecgx.c:223:16: warning: cast to restricted __be16 drivers/media/i2c/s5k4ecgx.c:223:16: warning: cast to restricted __be16 drivers/media/i2c/s5k4ecgx.c:223:16: warning: cast to restricted __be16 drivers/media/i2c/s5k4ecgx.c:344:20: warning: cast to restricted __le32 drivers/media/i2c/s5k4ecgx.c:354:20: warning: cast to restricted __le32 drivers/media/i2c/s5k4ecgx.c:364:24: warning: cast to restricted __le32 drivers/media/i2c/s5k4ecgx.c:366:23: warning: cast to restricted __le16 The get_unaligned_le*() functions return the value using cpu endianness, so calling le*_to_cpu is wrong. It hasn't been not noticed because this code has only been run on little endian systems, so le*_to_cpu doesn't do anything. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions