android_kernel_xiaomi_sm8350/drivers/net/caif
Dan Carpenter 7b7b0b9059 caif: handle snprintf() return
snprintf() returns the number of bytes that would have been written.  It
can be larger than the size of the buffer.  The current code won't
overflow, but people cut and paste this stuff so lets do it right and
also make the static checkers happy.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-07-26 21:05:03 -07:00
..
caif_serial.c caif: Use link layer MTU instead of fixed MTU 2010-06-20 19:46:06 -07:00
caif_spi_slave.c caif-driver: Add CAIF-SPI Protocol driver. 2010-06-29 00:08:21 -07:00
caif_spi.c caif: handle snprintf() return 2010-07-26 21:05:03 -07:00
Kconfig caif-driver: Add CAIF-SPI Protocol driver. 2010-06-29 00:08:21 -07:00
Makefile caif-driver: Add CAIF-SPI Protocol driver. 2010-06-29 00:08:21 -07:00