On Tue, Feb 14, 2017 at 05:31:03PM +0200, Leonard Crestez wrote:
> root@leonard-imx6:~# cat /sys/kernel/debug/regulator/regulator_summary
> Unable to handle kernel NULL pointer dereference at virtual address 015c
> pgd = a8bd4000
> [015c] *pgd=a8c15831, *pte=, *ppte=
Pleas
It is allowed to call regulator_get with a NULL dev argument
(_regulator_get explicitly checks for it) but this causes an error later
when printing /sys/kernel/debug/regulator_summary.
Fix this by explicitly handling "deviceless" consumers in the debugfs code.
This fixes errors like this:
root@l
2 matches
Mail list logo