diff options
| author | Amit Daniel Kachhap <[email protected]> | 2022-01-14 14:03:55 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-01-15 16:30:25 +0200 |
| commit | a12cf8b32ceed9c60c8bba7c46077ebffbfb9db2 (patch) | |
| tree | 6226b0e8f8080200f808d62b0a505009acdc35f9 /tools/perf/scripts/python | |
| parent | 9a25d051502ca1f19af3fd8e196c408a4a9c9fbb (diff) | |
fs/ioctl: remove unnecessary __user annotation
__user annotations are used by the checker (e.g sparse) to mark user
pointers. However here __user is applied to a struct directly, without a
pointer being directly involved.
Although the presence of __user does not cause sparse to emit a warning,
__user should be removed for consistency with other uses of offsetof().
Note: No functional changes intended.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Amit Daniel Kachhap <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Cc: Kevin Brodsky <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions