diff options
author | Lee Jones <[email protected]> | 2020-07-15 13:35:50 +0100 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-07-15 12:18:18 -0700 |
commit | 7e05c8de132308da0c2a5b17842b808d99a00ca8 (patch) | |
tree | 06a56d81c899634d7c2e3733676447a336104067 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0cf17702d872128fc2bec79a9578b5cb00d54a11 (diff) |
remoteproc: remoteproc_core: Use 'gnu_printf' format notation
Fixes the following W=1 kernel build warning(s):
drivers/remoteproc/remoteproc_core.c: In function ‘rproc_find_carveout_by_name’:
drivers/remoteproc/remoteproc_core.c:257:2: warning: function ‘rproc_find_carveout_by_name’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
257 | vsnprintf(_name, sizeof(_name), name, args);
| ^~~~~~~~~
drivers/remoteproc/remoteproc_core.c: In function ‘rproc_mem_entry_init’:
drivers/remoteproc/remoteproc_core.c:993:2: warning: function ‘rproc_mem_entry_init’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
993 | vsnprintf(mem->name, sizeof(mem->name), name, args);
| ^~~~~~~~~
drivers/remoteproc/remoteproc_core.c: In function ‘rproc_of_resm_mem_entry_init’:
drivers/remoteproc/remoteproc_core.c:1029:2: warning: function ‘rproc_of_resm_mem_entry_init’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
1029 | vsnprintf(mem->name, sizeof(mem->name), name, args);
| ^~~~~~~~~
Cc: Brian Swetland <[email protected]>
Cc: Mark Grosen <[email protected]>
Cc: Guzman Lugo <[email protected]>
Cc: Suman Anna <[email protected]>
Cc: Robert Tivy <[email protected]>
Cc: De Leon <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions