[PATCH master] x86: <asm/io.h>: fix outl/outsl access size

Sascha Hauer sha at pengutronix.de
Mon Jan 10 00:18:33 PST 2022


On Fri, Jan 07, 2022 at 07:36:44AM +0100, Ahmad Fatoum wrote:
> outl so far behaved like outb, probably due to a copy-paste error when
> it was first added. We have three users in-tree for outl:
> 
> * drivers/serial/serial_ns16550_pci.c
>   only for handling a Quatech qurik, which probably no one ever needed
> 
> * drivers/serial/serial_ns16550.c
>   For platform drivers with a 4 byte I/O port resource. Only possible
>   user is x86 and that has a 1 byte I/O port resource. Thus no one
>   used this either.
> 
> * drivers/watchdog/itco_wdt.c
>   Here it indeed triggers a bug, although in my testing the WDAT
>   was functional without.
> 
> Fix this up so new code doesn't have to track this down.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> Cc: Steffen Trumtrar <str at pengutronix.de>
> ---
>  arch/x86/include/asm/io.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list