Re: [PATCH 06/10] serial: altera_jtaguart: switch status to u32
From: Tobias Klauser
Date: Tue Aug 08 2023 - 12:36:12 EST
On 2023-07-31 at 10:02:40 +0200, Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx> wrote:
> 'status' is assigned a result from readl(). There is no need for the
> variable to be 'unsigned long'. readl() returns 32bit values.
>
> Provided, this is a Nios II driver (32-bit), there is no change in
> semantics. This only makes the type explicit.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
> Cc: Tobias Klauser <tklauser@xxxxxxxxxx>
Acked-by: Tobias Klauser <tklauser@xxxxxxxxxx>