Re: [PATCH] gpiolib: don't dereference a desc before validation

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

 



On Thu, Dec 21, 2017 at 5:37 PM, Vladimir Zapolskiy <vz@xxxxxxxxx> wrote:

> The fix restores a proper validation of an input gpio desc, which
> might be needed to deal with optional GPIOs correctly.
>
> Fixes: 02e479808b5d ("gpio: Alter semantics of *raw* operations to actually be raw")
> Signed-off-by: Vladimir Zapolskiy <vz@xxxxxxxxx>

Hm you're right this looks better.

I don't think it's a regression so queued as a non-critical fix.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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