[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e4e025f07718f1dfe1aecbfe5f210490369b2469.camel@linux.ibm.com>
Date: Fri, 29 Apr 2022 16:49:30 +0200
From: Niklas Schnelle <schnelle@...ux.ibm.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
linux-pci@...r.kernel.org, Arnd Bergmann <arnd@...nel.org>
Subject: Re: [PATCH 37/37] asm-generic/io.h: drop inb() etc for HAS_IOPORT=n
On Fri, 2022-04-29 at 15:51 +0200, Niklas Schnelle wrote:
> With all subsystems and drivers either declaring their dependence on
> HAS_IOPORT or ifdeffing I/O port specific code sections we can finally
> make inb()/outb() and friends compile-time dependent on HAS_IOPORT as
> suggested by Linus in the linked mail. The main benefit of this is that
> on platforms such as s390 which have no meaningful way of implementing
> inb()/outb() their use without the proper HAS_IOPORT dependency will
> result in easy to catch and fix compile-time errors instead of compiling
> code that can never work.
>
> Link: https://lore.kernel.org/lkml/CAHk-=wg80je=K7madF4e7WrRNp37e3qh6y10Svhdc7O8SZ_-8g@mail.gmail.com/
> Co-developed-by: Arnd Bergmann <arnd@...nel.org>
> Signed-off-by: Niklas Schnelle <schnelle@...ux.ibm.com>
> ---
Sorry everyone. I sent this as PATCH in error while preparing to sent
the same series as RFC. Since e-mail has no remote delete and I lack a
time machine let's just all pretend you only got the RFC.
Powered by blists - more mailing lists