summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYunfeng Ye <yeyunfeng@huawei.com>2019-10-14 16:14:59 +0800
committerPeter Zijlstra <peterz@infradead.org>2019-10-17 21:31:55 +0200
commit8a9f91c51ea72b126864e0db616b1bac12261200 (patch)
tree2fb1ecbf3b1a7139c136ee6c8169c0e6e3ee8edc /scripts/gdb/linux/utils.py
parentda97e18458fb42d7c00fac5fd1c56a3896ec666e (diff)
downloadlwn-8a9f91c51ea72b126864e0db616b1bac12261200.tar.gz
lwn-8a9f91c51ea72b126864e0db616b1bac12261200.zip
perf/ring_buffer: Modify the parameter type of perf_mmap_free_page()
In perf_mmap_free_page(), the unsigned long type is converted to the pointer type, but where the call is made, the pointer type is converted to the unsigned long type. There is no need to do these operations. Modify the parameter type of perf_mmap_free_page() to pointer type. Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: <jolsa@redhat.co> Cc: <acme@kernel.org> Cc: <mingo@redhat.com> Cc: <mark.rutland@arm.com> Cc: <namhyung@kernel.org> Cc: <alexander.shishkin@linux.intel.com> Link: https://lkml.kernel.org/r/e6ae3f0c-d04c-50f9-544a-aee3b30330cd@huawei.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions