Re: [PATCH V1 2/4] spmi: pmic-arb: fix a possible null pointer dereference

2017-07-06 Thread Stephen Boyd
On 07/03, Kiran Gunda wrote: > If "core" memory resource is not specified, then the driver could > end up dereferencing a null pointer. Fix this issue. > > Signed-off-by: Kiran Gunda > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center,

Re: [PATCH V1 2/4] spmi: pmic-arb: fix a possible null pointer dereference

2017-07-06 Thread Stephen Boyd
On 07/03, Kiran Gunda wrote: > If "core" memory resource is not specified, then the driver could > end up dereferencing a null pointer. Fix this issue. > > Signed-off-by: Kiran Gunda > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux

[PATCH V1 2/4] spmi: pmic-arb: fix a possible null pointer dereference

2017-07-03 Thread Kiran Gunda
If "core" memory resource is not specified, then the driver could end up dereferencing a null pointer. Fix this issue. Signed-off-by: Kiran Gunda --- drivers/spmi/spmi-pmic-arb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V1 2/4] spmi: pmic-arb: fix a possible null pointer dereference

2017-07-03 Thread Kiran Gunda
If "core" memory resource is not specified, then the driver could end up dereferencing a null pointer. Fix this issue. Signed-off-by: Kiran Gunda --- drivers/spmi/spmi-pmic-arb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spmi/spmi-pmic-arb.c