[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK8P3a2_B+gxqPUtCbfn9oR39DWGH2xQ-z3rCEh36f7jbaS+hA@mail.gmail.com>
Date: Fri, 9 Aug 2019 20:20:26 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Joe Perches <joe@...ches.com>
Cc: soc@...nel.org, Vladimir Zapolskiy <vz@...ia.com>,
Sylvain Lemieux <slemieux.tyco@...il.com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
kbuild test robot <lkp@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>
Subject: Re: [PATCH v2 09/13] net: lpc-enet: fix printk format strings
On Fri, Aug 9, 2019 at 6:30 PM Joe Perches <joe@...ches.com> wrote:
> > @@ -1333,13 +1333,14 @@ static int lpc_eth_drv_probe(struct platform_device *pdev)
> > pldat->dma_buff_base_p = dma_handle;
> >
> > netdev_dbg(ndev, "IO address space :%pR\n", res);
> > - netdev_dbg(ndev, "IO address size :%d\n", resource_size(res));
> > + netdev_dbg(ndev, "IO address size :%zd\n",
> > + (size_t)resource_size(res));
>
> Ideally all these would use %zu not %zd
Ok, changed now.
Arnd
Powered by blists - more mailing lists