[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 7/7] rust: pl011: simplify handling of the FIFO enabled bit i
From: |
Zhao Liu |
Subject: |
Re: [PATCH 7/7] rust: pl011: simplify handling of the FIFO enabled bit in LCR |
Date: |
Thu, 19 Dec 2024 15:55:21 +0800 |
On Thu, Dec 12, 2024 at 06:22:04PM +0100, Paolo Bonzini wrote:
> Date: Thu, 12 Dec 2024 18:22:04 +0100
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH 7/7] rust: pl011: simplify handling of the FIFO enabled bit
> in LCR
> X-Mailer: git-send-email 2.47.1
>
> Use ==/!= instead of going through bool and xor.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> rust/hw/char/pl011/src/device.rs | 6 ++----
> rust/hw/char/pl011/src/lib.rs | 6 ------
> 2 files changed, 2 insertions(+), 10 deletions(-)
>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
- Re: [PATCH 2/7] rust: pl011: match break logic of C version, (continued)