diff options
| author | Jiri Slaby <[email protected]> | 2020-02-19 09:49:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-02-19 12:46:47 +0100 |
| commit | edd05a735a391df1a8eeee05a5ba1c02ce41b369 (patch) | |
| tree | 06b069e96ff8ea08e42ed38a9afa6806cec35bbe /tools/perf/scripts/python | |
| parent | 329aa6e6e12f2667eb59baf2030a38047ce0a1cd (diff) | |
n_gsm: add missing __user annotations
sparse warns about incorrect types:
n_gsm.c:2638:35: warning: incorrect type in argument 1 (different address spaces)
n_gsm.c:2638:35: expected void [noderef] <asn:1> *to
n_gsm.c:2638:35: got void *
The ioctl handler casts its `arg' to (void *) without __user. Add that.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions