Skip to content
Commit 214ba358 authored by Stafford Horne's avatar Stafford Horne Committed by Arnd Bergmann
Browse files

io: Fix return type of _inb and _inl

The return type of functions _inb, _inw and _inl are all u16 which looks
wrong.  This patch makes them u8, u16 and u32 respectively.

The original commit text for these does not indicate that these should
be all forced to u16.

Fixes: f009c89d

 ("io: Provide _inX() and _outX()")
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
Reviewed-by: default avatarJohn Garry <john.garry@huawei.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent b3a9e3b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment