Re: [PATCH] sonypi: add depends on HAS_IOPORT

2025-06-16 Thread Johannes Berg
> config SONYPI > tristate "Sony Vaio Programmable I/O Control Device support" > - depends on X86_32 && PCI && INPUT > + depends on X86_32 && PCI && INPUT && HAS_IOPORT I sent the same fix b efore, but not sure it ended up going anywhere, although Greg said he'd pick it up, I thin

[PATCH] sonypi: add depends on HAS_IOPORT

2025-06-15 Thread Randy Dunlap
The sonypi driver uses inb()/outb() without depending on HAS_IOPORT, which leads to build errors since kernel v6.13-rc1: commit 6f043e757445 ("asm-generic/io.h: Remove I/O port accessors for HAS_IOPORT=n") Add the HAS_IOPORT dependency to prevent the build errors. (Found in ARCH=um allmodconfig b