diff mbox

[1/2] dmaengine: coh901318: Remove unnecessary 0x prefixes before %pad

Message ID 1509685942-12914-1-git-send-email-vinod.koul@intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Vinod Koul Nov. 3, 2017, 5:12 a.m. UTC
Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code
to special_hex_number()") %pad doesn't need 0x prefix so drop that.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Joe Perches <joe@perches.com>

 drivers/dma/coh901318.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Linus Walleij Nov. 3, 2017, 7:42 a.m. UTC | #1
On Fri, Nov 3, 2017 at 6:12 AM, Vinod Koul <vinod.koul@intel.com> wrote:

> Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code
> to special_hex_number()") %pad doesn't need 0x prefix so drop that.
>
> Signed-off-by: Vinod Koul <vinod.koul@intel.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Vinod Koul Nov. 8, 2017, 5:17 a.m. UTC | #2
On Fri, Nov 03, 2017 at 08:42:44AM +0100, Linus Walleij wrote:
> On Fri, Nov 3, 2017 at 6:12 AM, Vinod Koul <vinod.koul@intel.com> wrote:
> 
> > Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code
> > to special_hex_number()") %pad doesn't need 0x prefix so drop that.
> >
> > Signed-off-by: Vinod Koul <vinod.koul@intel.com>
> 
> Acked-by: Linus Walleij <linus.walleij@linaro.org>

Thanks, merged now
diff mbox

Patch

diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
index 74794c9859f6..da74fd74636b 100644
--- a/drivers/dma/coh901318.c
+++ b/drivers/dma/coh901318.c
@@ -1319,8 +1319,8 @@  static void coh901318_list_print(struct coh901318_chan *cohc,
 	int i = 0;
 
 	while (l) {
-		dev_vdbg(COHC_2_DEV(cohc), "i %d, lli %p, ctrl 0x%x, src 0x%pad"
-			 ", dst 0x%pad, link 0x%pad virt_link_addr 0x%p\n",
+		dev_vdbg(COHC_2_DEV(cohc), "i %d, lli %p, ctrl 0x%x, src %pad"
+			 ", dst %pad, link %pad virt_link_addr 0x%p\n",
 			 i, l, l->control, &l->src_addr, &l->dst_addr,
 			 &l->link_addr, l->virt_link_addr);
 		i++;
@@ -2231,7 +2231,7 @@  coh901318_prep_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
 	spin_lock_irqsave(&cohc->lock, flg);
 
 	dev_vdbg(COHC_2_DEV(cohc),
-		 "[%s] channel %d src 0x%pad dest 0x%pad size %zu\n",
+		 "[%s] channel %d src %pad dest %pad size %zu\n",
 		 __func__, cohc->id, &src, &dest, size);
 
 	if (flags & DMA_PREP_INTERRUPT)