On Thu, Oct 4, 2018 at 12:52 AM Marek Vasut <marex@xxxxxxx> wrote: > The priv->data->set can be NULL while flags contains GPIO_SYSCON_FEAT_OUT > and chip->set is valid pointer. This happens in case the controller uses > the default GPIO setter. Always use chip->set to access the setter to avoid > possible NULL pointer dereferencing. > > Signed-off-by: Marek Vasut <marex@xxxxxxx> Patch applied. Yours, Linus Walleij