media: go7007: fix two sparse warnings
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 14 May 2018 12:37:17 +0000 (08:37 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 25 May 2018 19:30:04 +0000 (15:30 -0400)
commita7f3482ddbf2b2507f9db7e442bfa5382c8aaaf7
tree169e7416967df3e893170b4f5830cb520cf20b5a
parente86d1929adae5d5a20617aade8ab19e53297dc4e
media: go7007: fix two sparse warnings

drivers/media/usb/go7007/go7007-v4l2.c:637:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation]
drivers/media/usb/go7007/go7007-fw.c:1507:3: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/go7007/go7007-fw.c
drivers/media/usb/go7007/go7007-v4l2.c