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


Groups > linux.kernel > #1508549 > unrolled thread

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

Started byLinus Walleij <linus.walleij@linaro.org>
First post2016-10-25 20:30 +0200
Last post2016-10-25 20:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-10-25 20:30 +0200
SubjectRe: [PATCH] gpio: gpiolib-devprop: Check chip->parent pointer before dereferencing
Message-ID<sweE2-OM-31@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web