mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 02:51:44 +00:00
550f45bc83
My static checker warns that the name of the port can be 15 characters when you consider the NUL terminator and that's one more than the 14 characters in name[]. Maybe it's an off-by-one? It's unlikely that we hit the limit and even if we do the overflow will only affect one of the two bytes of padding so it's harmless. Still let's fix it and also change the sprintf() to snprintf(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xilinx-dma.c | ||
xilinx-dma.h | ||
xilinx-tpg.c | ||
xilinx-vip.c | ||
xilinx-vip.h | ||
xilinx-vipp.c | ||
xilinx-vipp.h | ||
xilinx-vtc.c | ||
xilinx-vtc.h |