ep93xx: use pr_fmt in dma-m2p.c
PATCH 1/1 ep93xx: use pr_fmt in dma-m2p.c
Use pr_fmt to prefix kernel output with the module name.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Ryan Mallon <[email protected]>
---
arch/arm/mach-ep93xx/dma-m2p.c +4 -2
@@ -28,6 +28,8 @@* with this implementation. */ +#define pr_fmt (fmt) "ep93xx " KBUILD_MODNAME ": " fmt +#include <linux/kernel.h> #include <linux/clk.h> #include <linux/err.h>
@@ -173,7 +175,7 @@ static irqreturn_t m2p_irq(int irq, void *dev_id)switch (m2p_channel_state (ch)) {case STATE_IDLE : -pr_crit ("m2p_irq: dma interrupt without a dma buffer\n" ); +pr_crit ("dma interrupt without a dma buffer\n" );BUG ();break ;
@@ -197,7 +199,7 @@ static irqreturn_t m2p_irq(int irq, void *dev_id)break ;case STATE_NEXT : -pr_crit ("m2p_irq: dma interrupt while next\n" ); +pr_crit ("dma interrupt while next\n" );BUG ();break ; }
PATCH 1/1 ep93xx: use pr_fmt in dma-m2p.c
Quoted 30 lines · H Hartley Sweeten
Use
pr_fmtto prefix kernel output with the module name.Signed-off-by H Hartley Sweeten <[email protected]>Cc Ryan Mallon <[email protected]>---
arch/arm/mach-ep93xx/dma-m2p.c +3
-1@@ -28,6 +28,8 @@* with this implementation. */ +#define pr_fmt (fmt) "ep93xx " KBUILD_MODNAME ": " fmt +#include <linux/kernel.h> #include <linux/clk.h> #include <linux/err.h> @@ -173,7 +175,7 @@ static irqreturn_t m2p_irq(int irq, void *dev_id)switch (m2p_channel_state (ch)) {case STATE_IDLE : -pr_crit ("m2p_irq: dma interrupt without a dma buffer\n" ); +pr_crit ("dma interrupt without a dma buffer\n" );BUG ();break ;
arch/arm/mach-ep93xx/dma-m2p.c static irqreturn_t m2p_irq(int irq, void *dev_id) · line 205
Quoted 8 lines
arch/arm/mach-ep93xx/dma-m2p.c +1
-1@@ -197,7 +199,7 @@ static irqreturn_t m2p_irq(int irq, void *dev_id)break ;case STATE_NEXT : -pr_crit ("m2p_irq: dma interrupt while next\n" ); +pr_crit ("dma interrupt while next\n" );BUG ();break ; }
Acked-by Ryan Mallon <[email protected]>
Signature · 7 lines
Bluewater Systems Ltd - ARM Technology Solution Centre Ryan Mallon 5 Amuri Park, 404 Barbadoes St ryan at bluewatersys.com PO Box 13 889, Christchurch 8013 http://www.bluewatersys.com New Zealand Phone: +64 3 3779127 Freecall: Australia 1800 148 751 Fax: +64 3 3779135 USA 1800 261 2934