aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2023-09-16 03:14:58 +0200
committerDanilo Krummrich <[email protected]>2023-09-20 00:15:50 +0200
commit7ece3fc9b76b2d4596607fd8751f36c4e5f1f072 (patch)
tree45fcbcc95015d0525fb7b3a52d5054032aa997ef /tools/perf/scripts/python/export-to-sqlite.py
parentbb6c4507fe825f1b4904fc3ffd329ab196c5e645 (diff)
drm/nouveau: fence: fix type cast warning in nouveau_fence_emit()
Fix the following warning. drivers/gpu/drm/nouveau/nouveau_fence.c:210:45: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct nouveau_channel *chan @@ got struct nouveau_channel [noderef] __rcu *channel We're just about to emit the fence, there is nothing to protect against yet, hence it is safe to just cast __rcu away. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: 978474dc8278 ("drm/nouveau: fence: fix undefined fence state after emit") Signed-off-by: Danilo Krummrich <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions