aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorHans Verkuil2013-07-25 09:40:34 -0300
committerMauro Carvalho Chehab2013-08-18 09:02:15 -0300
commit85e86c6e8d400c6b794e971ee14251e7ad3467aa (patch)
tree17aa481b174e258a18265c52bdb4e0d271f785a4 /COPYING
parent73135e969970304a474c18c9f732fa3e36d88514 (diff)
[media] soc_camera: fix compiler warning
media_build/v4l/soc_camera.c: In function 'soc_camera_host_register': media_build/v4l/soc_camera.c:1513:10: warning: 'sasd' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(clk_name, sizeof(clk_name), "%d-%04x", ^ media_build/v4l/soc_camera.c:1464:34: note: 'sasd' was declared here struct soc_camera_async_subdev *sasd; ^ By changing the type of 'i' to unsigned and changing a condition we finally convince the compiler that sasd is really initialized. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions