Messages in this thread | | | From | Linus Walleij <> | Date | Sat, 13 Oct 2018 18:23:50 +0200 | Subject | Re: Bug introduced in the of_get_named_gpiod_flags function. |
| |
On Sat, Oct 13, 2018 at 5:53 PM wzabolot@elektron.elka.pw.edu.pl <wzabolot@elektron.elka.pw.edu.pl> wrote:
> The question is, if there may be any other in-tree GPIO controller > driver that does not initialize those flags?
So as I said, I looked over them and they all initialize their flags.
> Anyway the current situation is somehow dangerous.
Not very dangerous compared to much other kernel code.
> Maybe the best solution would be to initialize the automatic variable in > the of_find_gpio?
Patches welcom, make sure they are tested with mainline code and drivers.
Yours. Linus Walleij
| |