With CONFIG_ARM_LPAE=y spi driver throws below warning
drivers/spi/spi-davinci.c: In function ?davinci_spi_probe?:
drivers/spi/spi-davinci.c:965:3: warning: format ?%d? expects argument of type ?int?, but argument 3 has type ?resource_size_t? [-Wformat]
drivers/spi/spi-davinci.c:965:3: warning: format ?%d? expects argument of type ?int?, but argument 4 has type ?resource_size_t? [-Wformat]
Lets use '%pa' to properly print 'resource_size_t' type variables.
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Santosh Shilimkar <redacted>
---
drivers/spi/spi-davinci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Olof Johansson <hidden> Date: 2013-11-13 21:34:42
On Wed, Nov 13, 2013 at 01:29:52PM +0000, Mark Brown wrote:
On Tue, Nov 12, 2013 at 10:38:13PM -0800, Olof Johansson wrote:
quoted
On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown [off-list ref] wrote:
quoted
quoted
Applied, thanks.
quoted
These warnings are showing up (again?), so wherever it was applied is
not making it into -next. Did it fall between the cracks?
Looks lie it never got pushed and nobody looked at the warnings for over
a month. Oh well, sorry about that.
No worries.
I've been eyeing the warnings but not doing anything about it. Didn't
notice that there was a patch until I started looking for existing
patches to take care of it (and post patches where needed).
-Olof
On Sat, Nov 23, 2013 at 04:17:24PM -0500, Santosh Shilimkar wrote:
On Wednesday 13 November 2013 08:29 AM, Mark Brown wrote:
quoted
Looks lie it never got pushed and nobody looked at the warnings for over
a month. Oh well, sorry about that.
Are you going to push this one ? The warning is still showing up at
3.13-rc1.
It's a warning fix only so no, I was going to leave it till the next
merge window. It'll appear in -next as soon as Linus releases -rc1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131124/32bd6646/attachment.sig>