diff options
| author | Colin Ian King <colin.king@canonical.com> | 2018-12-18 11:35:52 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-19 08:28:22 +0100 |
| commit | a86028f8e3eea59517cb47895faad04b6ae8d8e1 (patch) | |
| tree | 464a91f7ecd2ea51cfecb588f37dfbe16ee8ddc4 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | staging: most: Documentation: add information to driver_usage file (diff) | |
| download | linux-a86028f8e3eea59517cb47895faad04b6ae8d8e1.tar.gz linux-a86028f8e3eea59517cb47895faad04b6ae8d8e1.zip | |
staging: most: sound: replace snprintf with strscpy
Using snprintf without a format specifier is potentially risky if
the string device_name contains format specifiers. Replace this with
the safer and more efficient strscpy.
Cleans up clang warning:
drivers/staging/most/sound/sound.c:673:41: warning: format string is not
a string literal (potentially insecure) [-Wformat-security]
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
