From 539628118f49fcad20467ec145cb0b54fddde030 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Tue, 23 Jul 2024 13:19:49 +0200 Subject: [PATCH] nak: allow clippy::not_unsafe_ptr_arg_deref lints Clippy errors on this, so just allow it here. Fixes: b9c0e3c1ab7 ("nak: Add helpers for filling QMDs") Part-of: (cherry picked from commit 526a5722335cb7320aed4456b60dfc10130d6710) --- .pick_status.json | 2 +- src/nouveau/compiler/meson.build | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 48aa24e655a..a159dfdc64d 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -24,7 +24,7 @@ "description": "nak: allow clippy::not_unsafe_ptr_arg_deref lints", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "b9c0e3c1ab7f157aaab4210e3f31843fb00368d5", "notes": null diff --git a/src/nouveau/compiler/meson.build b/src/nouveau/compiler/meson.build index 820f2941b36..38aad9040ed 100644 --- a/src/nouveau/compiler/meson.build +++ b/src/nouveau/compiler/meson.build @@ -37,6 +37,9 @@ nak_rust_args = [ '-Aclippy::upper_case_acronyms', '-Aclippy::vec_box', '-Aclippy::write_with_newline', + # warns about public function might dereference a raw pointer, but nothing is + # actually public here + '-Aclippy::not_unsafe_ptr_arg_deref', '-Anon_snake_case', ]