Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1508549

Re: [PATCH] gpio: gpiolib-devprop: Check chip->parent pointer before dereferencing

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] gpio: gpiolib-devprop: Check chip->parent pointer before dereferencing
Date 2016-10-25 20:30 +0200
Message-ID <sweE2-OM-31@gated-at.bofh.it> (permalink)
References <sweE2-OM-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Oct 25, 2016 at 6:31 PM,  <tthayer@opensource.altera.com> wrote:

> From: Thor Thayer <tthayer@opensource.altera.com>
>
> Confirm the chip->parent is valid before dereferencing because
> the parent parameter is optional.
>
> Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>

I wish it wasn't. Not much to do about though.

Patch applied.

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] gpio: gpiolib-devprop: Check chip->parent pointer before dereferencing Linus Walleij <linus.walleij@linaro.org> - 2016-10-25 20:30 +0200

csiph-web