All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
@ 2013-09-30 18:52 Santosh Shilimkar
  2013-10-01 10:48 ` Mark Brown
  0 siblings, 1 reply; 12+ messages in thread
From: Santosh Shilimkar @ 2013-09-30 18:52 UTC (permalink / raw)
  To: linux-arm-kernel

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 <santosh.shilimkar@ti.com>
---
 drivers/spi/spi-davinci.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c
index 8fbfe24..c91ad94 100644
--- a/drivers/spi/spi-davinci.c
+++ b/drivers/spi/spi-davinci.c
@@ -962,8 +962,8 @@ static int davinci_spi_probe(struct platform_device *pdev)
 			goto free_clk;
 
 		dev_info(&pdev->dev, "DMA: supported\n");
-		dev_info(&pdev->dev, "DMA: RX channel: %d, TX channel: %d, "
-				"event queue: %d\n", dma_rx_chan, dma_tx_chan,
+		dev_info(&pdev->dev, "DMA: RX channel: %pa, TX channel: %pa, "
+				"event queue: %d\n", &dma_rx_chan, &dma_tx_chan,
 				pdata->dma_event_q);
 	}
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
  2013-09-30 18:52 [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y Santosh Shilimkar
@ 2013-10-01 10:48 ` Mark Brown
       [not found]   ` <20131001104840.GL19304-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Mark Brown @ 2013-10-01 10:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Sep 30, 2013 at 02:52:59PM -0400, Santosh Shilimkar wrote:
> With CONFIG_ARM_LPAE=y spi driver throws below warning

Applied, thanks.
-------------- 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/20131001/c9966945/attachment.sig>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
  2013-10-01 10:48 ` Mark Brown
@ 2013-11-13  6:38       ` Olof Johansson
  0 siblings, 0 replies; 12+ messages in thread
From: Olof Johansson @ 2013-11-13  6:38 UTC (permalink / raw)
  To: Mark Brown
  Cc: Santosh Shilimkar,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

Hi,

On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> On Mon, Sep 30, 2013 at 02:52:59PM -0400, Santosh Shilimkar wrote:
>> With CONFIG_ARM_LPAE=y spi driver throws below warning
>
> Applied, thanks.

These warnings are showing up (again?), so wherever it was applied is
not making it into -next. Did it fall between the cracks?


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
@ 2013-11-13  6:38       ` Olof Johansson
  0 siblings, 0 replies; 12+ messages in thread
From: Olof Johansson @ 2013-11-13  6:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie@kernel.org> wrote:
> On Mon, Sep 30, 2013 at 02:52:59PM -0400, Santosh Shilimkar wrote:
>> With CONFIG_ARM_LPAE=y spi driver throws below warning
>
> Applied, thanks.

These warnings are showing up (again?), so wherever it was applied is
not making it into -next. Did it fall between the cracks?


-Olof

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
  2013-11-13  6:38       ` Olof Johansson
@ 2013-11-13 13:29           ` Mark Brown
  -1 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2013-11-13 13:29 UTC (permalink / raw)
  To: Olof Johansson
  Cc: Santosh Shilimkar,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

On Tue, Nov 12, 2013 at 10:38:13PM -0800, Olof Johansson wrote:
> On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:

> > Applied, thanks.

> 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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
@ 2013-11-13 13:29           ` Mark Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2013-11-13 13:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 12, 2013 at 10:38:13PM -0800, Olof Johansson wrote:
> On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie@kernel.org> wrote:

> > Applied, thanks.

> 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.
-------------- 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/20131113/1d7b541a/attachment.sig>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
  2013-11-13 13:29           ` Mark Brown
@ 2013-11-13 21:34               ` Olof Johansson
  -1 siblings, 0 replies; 12+ messages in thread
From: Olof Johansson @ 2013-11-13 21:34 UTC (permalink / raw)
  To: Mark Brown
  Cc: Santosh Shilimkar,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

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:
> > On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> 
> > > Applied, thanks.
> 
> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
@ 2013-11-13 21:34               ` Olof Johansson
  0 siblings, 0 replies; 12+ messages in thread
From: Olof Johansson @ 2013-11-13 21:34 UTC (permalink / raw)
  To: linux-arm-kernel

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:
> > On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie@kernel.org> wrote:
> 
> > > Applied, thanks.
> 
> > 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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
  2013-11-13 13:29           ` Mark Brown
@ 2013-11-23 21:17               ` Santosh Shilimkar
  -1 siblings, 0 replies; 12+ messages in thread
From: Santosh Shilimkar @ 2013-11-23 21:17 UTC (permalink / raw)
  To: Mark Brown
  Cc: Olof Johansson,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

Mark,

On Wednesday 13 November 2013 08:29 AM, Mark Brown wrote:
> On Tue, Nov 12, 2013 at 10:38:13PM -0800, Olof Johansson wrote:
>> On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> 
>>> Applied, thanks.
> 
>> 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.
> 
Are you going to push this one ? The warning is still showing up at
3.13-rc1.

Regards,
Santosh 
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
@ 2013-11-23 21:17               ` Santosh Shilimkar
  0 siblings, 0 replies; 12+ messages in thread
From: Santosh Shilimkar @ 2013-11-23 21:17 UTC (permalink / raw)
  To: linux-arm-kernel

Mark,

On Wednesday 13 November 2013 08:29 AM, Mark Brown wrote:
> On Tue, Nov 12, 2013 at 10:38:13PM -0800, Olof Johansson wrote:
>> On Tue, Oct 1, 2013 at 3:48 AM, Mark Brown <broonie@kernel.org> wrote:
> 
>>> Applied, thanks.
> 
>> 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.
> 
Are you going to push this one ? The warning is still showing up at
3.13-rc1.

Regards,
Santosh 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
  2013-11-23 21:17               ` Santosh Shilimkar
@ 2013-11-24 13:31                   ` Mark Brown
  -1 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2013-11-24 13:31 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: Olof Johansson,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

On Sat, Nov 23, 2013 at 04:17:24PM -0500, Santosh Shilimkar wrote:
> On Wednesday 13 November 2013 08:29 AM, Mark Brown wrote:

> > 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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
@ 2013-11-24 13:31                   ` Mark Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2013-11-24 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Nov 23, 2013 at 04:17:24PM -0500, Santosh Shilimkar wrote:
> On Wednesday 13 November 2013 08:29 AM, Mark Brown wrote:

> > 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>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-11-24 13:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-30 18:52 [PATCH] spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y Santosh Shilimkar
2013-10-01 10:48 ` Mark Brown
     [not found]   ` <20131001104840.GL19304-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-11-13  6:38     ` Olof Johansson
2013-11-13  6:38       ` Olof Johansson
     [not found]       ` <CAOesGMhRoEvsQoSvoCSY=zm71zeZec3MG_FpHOy1zUkYronZcw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-13 13:29         ` Mark Brown
2013-11-13 13:29           ` Mark Brown
     [not found]           ` <20131113132952.GK878-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-11-13 21:34             ` Olof Johansson
2013-11-13 21:34               ` Olof Johansson
2013-11-23 21:17             ` Santosh Shilimkar
2013-11-23 21:17               ` Santosh Shilimkar
     [not found]               ` <52911B64.3020009-l0cyMroinI0@public.gmane.org>
2013-11-24 13:31                 ` Mark Brown
2013-11-24 13:31                   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.