aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2018-04-14 15:06:45 +0000
committerJiri Kosina <[email protected]>2018-04-25 08:52:42 +0000
commit749ab300d41bcdbb8edf776d20e9a9891e79eba4 (patch)
tree9225b3e02656b05e00dfdfabbd6252b4dfcffa72 /tools/perf/util/llvm-utils.c
parentHID: intel_ish-hid: Move header size check to inside the loop (diff)
downloadkernel-749ab300d41bcdbb8edf776d20e9a9891e79eba4.tar.gz
kernel-749ab300d41bcdbb8edf776d20e9a9891e79eba4.zip
HID: intel_ish-hid: Stop using a static local buffer in get_report()
hid_ishtp_get_report() may be called by multiple callers at the same time, causing trouble with the static local buffer used. Also there is no reason to use a non stack buffer, the buffer is tiny and ishtp_cl_send() copies its contents so the lifetime is not an issue either. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions