summaryrefslogtreecommitdiffstats
path: root/sound/core/misc.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-07-25 21:23:59 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-26 21:05:03 -0700
commit7b7b0b90592a023ac8946b29cca871bf17741fab (patch)
tree72637e6bd28dcff682a0b02a0112102523ff4b22 /sound/core/misc.c
parent652c6717465dbd0091dbe04ed9be2f7e59c03c7d (diff)
downloadlinux-7b7b0b90592a023ac8946b29cca871bf17741fab.tar.gz
linux-7b7b0b90592a023ac8946b29cca871bf17741fab.tar.bz2
linux-7b7b0b90592a023ac8946b29cca871bf17741fab.zip
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>
Diffstat (limited to 'sound/core/misc.c')
0 files changed, 0 insertions, 0 deletions