aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-03-10 15:31:13 +0300
committerHans de Goede <[email protected]>2023-03-16 13:30:29 +0100
commitf0f2903de50418899a5e5dcecf2906da44a7a05e (patch)
tree8f76ff815e32571fc8c6203bef447e675db8fe44 /tools/perf/scripts/python
parentad3d0ee8dca5fa4a656057e20f9605bbe7ff067c (diff)
platform/x86: apple-gmux: return -EFAULT if copy fails
The copy_to/from_user() functions return the number of bytes remaining to be copied, but we want to return -EFAULT to the user. Fixes: ce3fef2eb235 ("platform/x86: apple-gmux: add debugfs interface") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Orlando Chamberlain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions