All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhao Liu <zhao1.liu@intel.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-rust@nongnu.org,
	Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [PATCH] rust: bindings: disable more clippy warnings
Date: Wed, 9 Sep 2026 14:21:00 +0800	[thread overview]
Message-ID: <aqD6zIDPORAamvKu@intel.com> (raw)
In-Reply-To: <20260908173826.867616-1-pbonzini@redhat.com>

On Tue, Sep 08, 2026 at 07:38:26PM +0200, Paolo Bonzini wrote:
> Date: Tue,  8 Sep 2026 19:38:26 +0200
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH] rust: bindings: disable more clippy warnings
> X-Mailer: git-send-email 2.55.0
> 
> The clippy::complexity category includes manual_div_ceil, which triggers
> with e.g. bindgen 0.73.2.  It is not really relevant to automatically
> generated code so drop it from all bindgen crates, but keep it
> enabled on purpose for other code.
> 
> Reported-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  Cargo.toml                         | 1 +
>  rust/bindings/chardev-sys/lib.rs   | 1 +
>  rust/bindings/hwcore-sys/lib.rs    | 1 +
>  rust/bindings/migration-sys/lib.rs | 1 +
>  rust/bindings/qom-sys/lib.rs       | 1 +
>  rust/bindings/system-sys/lib.rs    | 1 +
>  rust/bindings/util-sys/lib.rs      | 1 +
>  7 files changed, 7 insertions(+)

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>



      reply	other threads:[~2026-09-09  6:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08 17:38 [PATCH] rust: bindings: disable more clippy warnings Paolo Bonzini
2026-09-09  6:21 ` Zhao Liu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aqD6zIDPORAamvKu@intel.com \
    --to=zhao1.liu@intel.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-rust@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.