linux-stable/drivers/staging/vc04_services/interface
Rohit Sarkar 63350bdb38 staging: vhciq_core: replace snprintf with scnprintf
When the number of bytes to be printed exceeds the limit snprintf
returns the number of bytes that would have been printed (if there was
no truncation). This might cause issues, hence use scnprintf which
returns the actual number of bytes printed to buffer always

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190911135112.GA5569@SARKAR
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-12 10:38:45 +01:00
..
vchi staging: vc04_services: remove remaining redundant license text 2019-04-03 11:10:16 +02:00
vchiq_arm staging: vhciq_core: replace snprintf with scnprintf 2019-09-12 10:38:45 +01:00