ARM: OMAP2+: PRM: Delete an error message for a failed memory allocation
Subsystems (5)
PATCH 1/1 ARM: OMAP2+: PRM: Delete an error message for a failed memory allocation
From: Markus Elfring <[email protected]>
Date: Sat, 3 Dec 2016 21:46:02 +0100
Omit an extra message for a memory allocation failure in this function.
Signed-off-by Markus Elfring <[email protected]>
--- arch/arm/mach-omap2/prm_common.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/mach-omap2/prm_common.c +1 -3
@@ -295,10 +295,8 @@ int omap_prcm_register_chain_handler(struct omap_prcm_irq_setup *irq_setup) GFP_KERNEL);if (!prcm_irq_chips || !prcm_irq_setup->saved_mask || - !prcm_irq_setup->priority_mask) { -pr_err ("PRCM: kzalloc failed\n" ); + !prcm_irq_setup->priority_mask) goto err; - }memset (mask,0 ,sizeof (mask));
Signature · 1 line
2.11.0
Tony Lindgren
maintainerQuoted 4 lines · SF Markus Elfring
From: Markus Elfring <[email protected]>
Date: Sat, 3 Dec 2016 21:46:02 +0100Omit an extra message for a memory allocation failure in this function.
Applying into omap-for-v4.10/fixes.
Regards,
Tony