as cpm_muram_alloc_common is used only in this file,
making it static
Signed-off-by: Saurabh Sengar
---
drivers/soc/fsl/qe/qe_common.c | 66 +-
include/soc/fsl/qe/qe.h| 2 --
2 files changed, 33 insertions(+), 35 deletions(-)
diff --git a
cpm_muram_alloc_common is called twice and both the times
spin_lock_irqsave is held.
Using GFP_KERNEL can sleep in spin_lock_irqsave context and cause
deadlock
Signed-off-by: Saurabh Sengar
---
Let me know if there is any other way to fix it.
Also, I would say this function should be static as