aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPhilipp Hortmann <[email protected]>2023-09-18 18:43:10 +0200
committerGreg Kroah-Hartman <[email protected]>2023-09-26 11:11:56 +0200
commite2572686a5a8fa35f8d1a449311f1b98165e4015 (patch)
tree9e0e1529347f4c440c0310db540e9f1e417ca7bf /tools/perf/scripts/python/export-to-sqlite.py
parent9d600c0960d8a7fbd1112636c71a1cbc58a7a609 (diff)
staging: rtl8192e: Fix compiler warning truncated writing of iwe.u.name
iwe.u.name and proto_name have both 16 bytes of space. But when writing to iwe.u.name the first 10 bytes are used by the fixed string "IEEE802.11". Evaluating the code shows that only the following strings can occur in proto_name: "N-24G", "g", "b", "bg". Therefore it is sufficient to shorten proto_name to 6 bytes. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/2caafb8628880570725385e87150c47689474fc4.1695054044.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions