diff options
| author | ruanjinjie <ruanjinjie@huawei.com> | 2022-09-24 17:25:16 +0800 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2022-10-12 18:54:42 -0400 |
| commit | 9cf06d6ef7fd08adf51568b704ab7ba6007b6fe8 (patch) | |
| tree | 6b48df633debfc6875122ed3554cf1317d0d80ce /tools/perf/scripts/python | |
| parent | drm: split build lists one per line and sort (diff) | |
| download | linux-9cf06d6ef7fd08adf51568b704ab7ba6007b6fe8.tar.gz linux-9cf06d6ef7fd08adf51568b704ab7ba6007b6fe8.zip | |
drm/nouveau/disp: fix cast removes address space of expression warnings
When build Linux kernel with 'make C=2', encounter the following warnings:
./drivers/gpu/drm/nouveau/dispnv50/disp.c:134:34: warning: cast removes address space '__iomem' of expression
./drivers/gpu/drm/nouveau/dispnv50/disp.c:197:34: warning: cast removes address space '__iomem' of expression
The data type of dmac->_push.mem.object.map.ptr is 'void __iomem *', but
converted to 'u32 *' directly and cause above warnings, now
recover their data types to fix these warnings.
Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220924092516.10007-1-ruanjinjie@huawei.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
