From: zhong jiang
[ Upstream commit cd5ff94577e004e0a4457e70d0ef3a030f4010b8 ]
Move the dereference of xc below the NULL test.
Signed-off-by: zhong jiang
Signed-off-by: Michael Ellerman
Signed-off-by: Sasha Levin
---
arch/powerpc/sysdev/xive/common.c | 7 ---
1 file changed, 4 insertion
From: zhong jiang
[ Upstream commit cd5ff94577e004e0a4457e70d0ef3a030f4010b8 ]
Move the dereference of xc below the NULL test.
Signed-off-by: zhong jiang
Signed-off-by: Michael Ellerman
Signed-off-by: Sasha Levin
---
arch/powerpc/sysdev/xive/common.c | 7 ---
1 file changed, 4 insertion
On Wed, 2018-09-26 at 12:09:32 UTC, zhong jiang wrote:
> It is safe to move dereference below a NULL test.
>
> Signed-off-by: zhong jiang
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/cd5ff94577e004e0a4457e70d0ef3a
cheers
It is safe to move dereference below a NULL test.
Signed-off-by: zhong jiang
---
arch/powerpc/sysdev/xive/common.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/sysdev/xive/common.c
b/arch/powerpc/sysdev/xive/common.c
index 959a2a6..9824074 100644
--- a