OSDN Git Service

[media] atmel-isc: Fix the static checker warning
authorSongjun Wu <songjun.wu@microchip.com>
Mon, 17 Apr 2017 09:07:57 +0000 (06:07 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Apr 2017 12:02:47 +0000 (09:02 -0300)
commit9eb9db3a0f92b75ec710066202e0b2accb45afa9
tree06e8da26db32f95f9dddabde7e3f01cfe093661a
parentd72b196f96e2afad1656c9332da7ffe3b07e17cb
[media] atmel-isc: Fix the static checker warning

Initialize the pointer 'fmt' before the start of
the loop.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Songjun Wu <songjun.wu@microchip.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/atmel/atmel-isc.c