aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-02-16 20:55:30 -0800
committerGreg Kroah-Hartman <[email protected]>2018-02-22 15:17:05 +0100
commitb382a5c3c592a53cdf0097e314dc9936f7eae16d (patch)
tree8cfcaa3de37a4a302c203a6e5681d19af535195d /tools/perf/scripts/python
parent22072e83ebd510fb6a090aef9d65ccfda9b1e7e4 (diff)
USB: chaoskey: Use kasprintf() over strcpy()/strcat()
Instead of kmalloc() with manually calculated values followed by multiple strcpy()/strcat() calls, just fold it all into a single kasprintf() call. Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Keith Packard <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions