linux_dsm_epyc7002/drivers/pinctrl
Tony Lindgren b9130b776e pinctrl: add checks for empty function names
This is needed as otherwise we can get the following when
dealing with buggy data in a pinmux driver for
pinmux_search_function:

Unable to handle kernel NULL pointer dereference at virtual
address 00000000
...
PC is at strcmp+0xc/0x34
LR is at pinmux_get+0x350/0x8f4
...

As we need pctldev initialized to call ops->list_functions,
let's initialize it before check_ops calls and pass the
pctldev to the check_ops functions. Do this for both pinmux
and pinconf check_ops functions.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-01-26 14:13:11 +01:00
..
core.c pinctrl: add checks for empty function names 2012-01-26 14:13:11 +01:00
core.h pinctrl: free debugfs entries when unloading a pinmux driver 2012-01-24 23:03:02 +01:00
Kconfig pinctrl: rename U300 and SIRF pin controllers 2012-01-03 09:10:08 +01:00
Makefile pinctrl: rename U300 and SIRF pin controllers 2012-01-03 09:10:08 +01:00
pinconf.c pinctrl: add checks for empty function names 2012-01-26 14:13:11 +01:00
pinconf.h pinctrl: add checks for empty function names 2012-01-26 14:13:11 +01:00
pinctrl-coh901.c pinctrl/coh901: driver to request its pins 2012-01-03 09:10:04 +01:00
pinctrl-sirf.c pinctrl: remove unnecessary max pin number 2012-01-03 09:10:09 +01:00
pinctrl-u300.c pinctrl: remove unnecessary max pin number 2012-01-03 09:10:09 +01:00
pinmux.c pinctrl: add checks for empty function names 2012-01-26 14:13:11 +01:00
pinmux.h pinctrl: add checks for empty function names 2012-01-26 14:13:11 +01:00