]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: bcm2835: Silence uninit warning
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Dec 2021 13:45:13 +0000 (14:45 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Dec 2021 23:17:06 +0000 (00:17 +0100)
commit9234404e4343c56a5f1906d875e2ae64811e0036
treebd3b068590512c188dbbbb1bb5cfedce5b8f4a31
parentfedd3901531571c09b19be4f84730aab49f098ef
pinctrl: bcm2835: Silence uninit warning

The uninitialized variable would be caught by the BUG_ON()
logic below, but the kernel test robot cannot see that.
Silence the warning by initializing the variable.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20211209134513.306212-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c