aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2016-07-14 14:24:19 -0500
committerGreg Kroah-Hartman <[email protected]>2016-07-15 09:14:27 +0900
commitfc0c38b3d1d6648bfef8ed2478cd2505f6a97475 (patch)
tree81b740108487df3e91aa18b585e60260f949b262 /tools/perf/scripts/python
parent99ade1766dbd11652905ec91219a643992cb3c18 (diff)
greybus: use memdup_user()
Coccinelle reports that there are two opportunities to use memdup_user() in "authentication.c". This patch simplifies the code in cap_ioctl() by taking advantage of that. Make use of a local variable "size" to improve readability. Signed-off-by: Alex Elder <[email protected]> Reviewed-by: Viresh Kumar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions