mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
Passing string ch_data_type[i].name as the format specifier is
potentially hazardous because it could (although very unlikely to)
have a format specifier embedded in it causing issues when parsing
the non-existent arguments to these. Follow best practice by using
the "%s" format string for the string.
Cleans up clang warning:
format string is not a string literal (potentially insecure) [-Wformat-security]
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| cdev | ||
| dim2 | ||
| Documentation | ||
| i2c | ||
| net | ||
| sound | ||
| usb | ||
| video | ||
| core.c | ||
| core.h | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||