summaryrefslogtreecommitdiff
path: root/drivers/staging/media/omap4iss/iss_video.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-12-17 00:19:50 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-02 21:52:35 +0400
commiteaf95eeec47e41f30139eaad8c0f3d33c5059d22 (patch)
treed5b5fd9e23b5e57b7a117fc3afe80ab0dea6a215 /drivers/staging/media/omap4iss/iss_video.c
parent31a2d43d7c1160d12460b988636a48bdd40d1e40 (diff)
downloadlinux-eaf95eeec47e41f30139eaad8c0f3d33c5059d22.tar.xz
[media] v4l: omap4iss: use snprintf() to make smatch happy
Smatch complains here because name is a 32 character buffer and we adding the "OMAP4 ISS " prefix as well for a total of 42 characters. The sd->name buffer can only hold 32 characters. I've changed it to use snprintf() to silence the overflow warning. Also I have removed the call to strlcpy() which is a no-op. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss_video.c')
0 files changed, 0 insertions, 0 deletions