Re: [PATCH v1] gpiolib: Disable compat ->read() code in UML case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 5, 2020 at 3:11 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> It appears that UML (arch/um) has no compat.h header defined and hence
> can't compile a recently provided piece of code in GPIO library.
>
> Disable compat ->read() code in UML case to avoid compilation errors.
>
> While at it, use pattern which is already being used in the kernel elsewhere.
>
> Fixes: 5ad284ab3a01 ("gpiolib: Fix line event handling in syscall compatible mode")
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Patch applied for fixes.

Yours,
Linus Walleij



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux