diff options
| author | Ben Hutchings <[email protected]> | 2013-10-27 21:53:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-10-29 16:51:57 -0700 |
| commit | e6418fcc8adaa5c3911295cbe7ddd368b9788616 (patch) | |
| tree | d50409fad508cefafd39d62fc0b4beb519810bc5 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | 75f0aef6220dc1e73bed238e57b20544ef4f38ec (diff) | |
uio: Pass pointers to virt_to_page(), not integers
Most architectures define virt_to_page() as a macro that casts its
argument such that an argument of type unsigned long will be accepted
without complaint. However, the proper type is void *, and passing
unsigned long results in a warning on MIPS.
Compile-tested only.
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions