OSDN Git Service

serial: altera_jtaguart: switch status to u32
authorJiri Slaby <jirislaby@kernel.org>
Mon, 31 Jul 2023 08:02:40 +0000 (10:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jul 2023 15:16:05 +0000 (17:16 +0200)
commit3e6e212f614c3af6ac324b8042ea2c99a2818ba8
tree6c766ad1cf9d847c6d388a00d6fcf562562b560d
parent0e4a23ce7cc29b8e661446b7c622f220bc1db5ca
serial: altera_jtaguart: switch status to u32

'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@kernel.org>
Cc: Tobias Klauser <tklauser@distanz.ch>
Link: https://lore.kernel.org/r/20230731080244.2698-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/altera_jtaguart.c