Re: [patch] ASoC: sh: dma-sh7760: fix a debug printf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 17, 2016 at 02:31:06PM +0100, bojan prtvar wrote:
> Hi,
> 
> On Thu, Nov 17, 2016 at 12:00 PM, Dan Carpenter
> <dan.carpenter@xxxxxxxxxx> wrote:
> 
> > -       pr_debug("PCM data: addr 0x%08ulx len %d\n",
> > +       pr_debug("PCM data: addr 0x%08lx len %d\n",
> >                  (u32)runtime->dma_addr, runtime->dma_bytes);
> 
> While there, why not using %pad as suggested by
> Documentation/printk-formats.txt?

Oh crap.  I never even compiled this stuff...   I'm really sorry it's
been a while since I screwed up like this.  Sorry about this.

That sounds like a good idea but I don't have a cross compiler set up
so I'm going to leave it alone for now.

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux