linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: origin tree build warnings
@ 2008-12-29  0:35 Stephen Rothwell
  2008-12-29  4:01 ` David Miller
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2008-12-29  0:35 UTC (permalink / raw)
  To: Neil Horman; +Cc: linux-next, LKML, David S. Miller, netdev

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

Hi Neil,

Today's linux-next build (powerpc ppc64_defconfig) produced these new
warnings:

drivers/net/pasemi_mac.c: In function 'pasemi_mac_rx_intr':
drivers/net/pasemi_mac.c:957: warning: unused variable 'dev'
drivers/net/pasemi_mac.c: In function 'pasemi_mac_poll':
drivers/net/pasemi_mac.c:1637: warning: unused variable 'dev'
drivers/net/spider_net.c: In function 'spider_net_poll':
drivers/net/spider_net.c:1280: warning: unused variable 'netdev'

Probably caused by commit 908a7a16b852ffd618a9127be8d62432182d81b4 ("net:
Remove unused netdev arg from some NAPI interfaces").

Please fix these up.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

* Re: linux-next: origin tree build warnings
  2008-12-29  0:35 Stephen Rothwell
@ 2008-12-29  4:01 ` David Miller
  2008-12-29  4:17   ` Stephen Rothwell
  0 siblings, 1 reply; 14+ messages in thread
From: David Miller @ 2008-12-29  4:01 UTC (permalink / raw)
  To: sfr; +Cc: nhorman, linux-next, linux-kernel, netdev

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 29 Dec 2008 11:35:25 +1100

> Hi Neil,
> 
> Today's linux-next build (powerpc ppc64_defconfig) produced these new
> warnings:
> 
> drivers/net/pasemi_mac.c: In function 'pasemi_mac_rx_intr':
> drivers/net/pasemi_mac.c:957: warning: unused variable 'dev'
> drivers/net/pasemi_mac.c: In function 'pasemi_mac_poll':
> drivers/net/pasemi_mac.c:1637: warning: unused variable 'dev'
> drivers/net/spider_net.c: In function 'spider_net_poll':
> drivers/net/spider_net.c:1280: warning: unused variable 'netdev'
> 
> Probably caused by commit 908a7a16b852ffd618a9127be8d62432182d81b4 ("net:
> Remove unused netdev arg from some NAPI interfaces").
> 
> Please fix these up.

I'll take care of all of these issues, along with the
ibmveth et al. ones you reported seperately.

Thanks Stephen.

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

* Re: linux-next: origin tree build warnings
  2008-12-29  4:01 ` David Miller
@ 2008-12-29  4:17   ` Stephen Rothwell
  2008-12-29  4:21     ` David Miller
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2008-12-29  4:17 UTC (permalink / raw)
  To: David Miller; +Cc: nhorman, linux-next, linux-kernel, netdev

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

Hi Dave,

On Sun, 28 Dec 2008 20:01:45 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> I'll take care of all of these issues, along with the

Thanks.

> ibmveth et al. ones you reported seperately.

Linus already took my patches for cifs, ibmveth and ehea (probably
assuming that they were trivial).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

* Re: linux-next: origin tree build warnings
  2008-12-29  4:17   ` Stephen Rothwell
@ 2008-12-29  4:21     ` David Miller
  0 siblings, 0 replies; 14+ messages in thread
From: David Miller @ 2008-12-29  4:21 UTC (permalink / raw)
  To: sfr; +Cc: nhorman, linux-next, linux-kernel, netdev

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 29 Dec 2008 15:17:49 +1100

> On Sun, 28 Dec 2008 20:01:45 -0800 (PST) David Miller <davem@davemloft.net> wrote:
> >
> > I'll take care of all of these issues, along with the
> 
> Thanks.
> 
> > ibmveth et al. ones you reported seperately.
> 
> Linus already took my patches for cifs, ibmveth and ehea (probably
> assuming that they were trivial).

Yep I noticed that, thanks a lot Stephen.

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

* linux-next: origin tree build warnings
@ 2009-04-29  4:44 Stephen Rothwell
  2009-04-29  7:52 ` Andrew Morton
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2009-04-29  4:44 UTC (permalink / raw)
  To: Tyler Hicks; +Cc: linux-next, LKML

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

Hi Tyler,

Today's linux-next build (x86_64 allmodconfig) generated these warnings:

fs/ecryptfs/inode.c: In function 'ecryptfs_readlink':
fs/ecryptfs/inode.c:670: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
fs/ecryptfs/inode.c:693: warning: comparison of distinct pointer types lacks a cast

Caused by commit 3a6b42cadc112b01daf0525e5fcd90bb333a5bb3 ("eCryptfs:
Larger buffer for encrypted symlink targets").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

* Re: linux-next: origin tree build warnings
  2009-04-29  4:44 linux-next: origin tree build warnings Stephen Rothwell
@ 2009-04-29  7:52 ` Andrew Morton
  2009-04-29 15:38   ` Tyler Hicks
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Morton @ 2009-04-29  7:52 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Tyler Hicks, linux-next, LKML

On Wed, 29 Apr 2009 14:44:36 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Tyler,
> 
> Today's linux-next build (x86_64 allmodconfig) generated these warnings:
> 
> fs/ecryptfs/inode.c: In function 'ecryptfs_readlink':
> fs/ecryptfs/inode.c:670: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
> fs/ecryptfs/inode.c:693: warning: comparison of distinct pointer types lacks a cast
> 
> Caused by commit 3a6b42cadc112b01daf0525e5fcd90bb333a5bb3 ("eCryptfs:
> Larger buffer for encrypted symlink targets").

yup, Randy sent a fix for this today.

I merged that patch and put it into my "to be merged into 2.6.30 via
the ecryptfs tree" pile.

Tyler, if you can't be bothered setting up a git pull for a one-liner
then feel free to tell me to merge it.

If you don't do that then I tend to end up sitting on the patch for
rather a while, sending it at the tree maintainer once every couple of
weeks.  Sometimes I end up sitting on them after the major kernel
release, after having sent them to the maintainer several times, which
is all very sad.  Sometimes I'll get bored of sending them at the
maintainer and I'll just merge them anyway, depending upon how frisky
I'm feeling.

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

* Re: linux-next: origin tree build warnings
  2009-04-29  7:52 ` Andrew Morton
@ 2009-04-29 15:38   ` Tyler Hicks
  0 siblings, 0 replies; 14+ messages in thread
From: Tyler Hicks @ 2009-04-29 15:38 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Stephen Rothwell, linux-next, LKML

Andrew Morton wrote:
> On Wed, 29 Apr 2009 14:44:36 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
>> Hi Tyler,
>>
>> Today's linux-next build (x86_64 allmodconfig) generated these warnings:
>>
>> fs/ecryptfs/inode.c: In function 'ecryptfs_readlink':
>> fs/ecryptfs/inode.c:670: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
>> fs/ecryptfs/inode.c:693: warning: comparison of distinct pointer types lacks a cast
>>
>> Caused by commit 3a6b42cadc112b01daf0525e5fcd90bb333a5bb3 ("eCryptfs:
>> Larger buffer for encrypted symlink targets").
> 
> yup, Randy sent a fix for this today.
> 
> I merged that patch and put it into my "to be merged into 2.6.30 via
> the ecryptfs tree" pile.
> 
> Tyler, if you can't be bothered setting up a git pull for a one-liner
> then feel free to tell me to merge it.
> 
> If you don't do that then I tend to end up sitting on the patch for
> rather a while, sending it at the tree maintainer once every couple of
> weeks.  Sometimes I end up sitting on them after the major kernel
> release, after having sent them to the maintainer several times, which
> is all very sad.  Sometimes I'll get bored of sending them at the
> maintainer and I'll just merge them anyway, depending upon how frisky
> I'm feeling.

Hi Andrew - I see another warning in Stephen's email that should be
addressed, too.  I'll fix that and set up a git pull containing both
fixes a little later today.

Tyler

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

* linux-next: origin tree build warnings
@ 2010-01-01  0:42 Stephen Rothwell
  2010-01-01  0:50 ` Linus Torvalds
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2010-01-01  0:42 UTC (permalink / raw)
  To: Linus
  Cc: linux-next, linux-kernel, Thomas Gleixner, Samuel Ortiz,
	Tony Lindgren, Santosh Shilimkar, Balaji T K, Rajendra Nayak

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

Hi all,

Today's linux-next build (powerpc allyesconfig) produced these warnings:

drivers/mfd/twl4030-irq.c: In function 'twl4030_sih_do_edge':
drivers/mfd/twl4030-irq.c:571: warning: passing argument 1 of 'spin_lock_irq' from incompatible pointer type
include/linux/spinlock.h:304: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
drivers/mfd/twl4030-irq.c:576: warning: passing argument 1 of 'spin_unlock_irq' from incompatible pointer type
include/linux/spinlock.h:329: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'

Introduced by commit 239007b8440abff689632f50cdf0f2b9e895b534 ("genirq:
Convert irq_desc.lock to raw_spinlock").  I guess that this file was
missed in the conversion.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

* Re: linux-next: origin tree build warnings
  2010-01-01  0:42 Stephen Rothwell
@ 2010-01-01  0:50 ` Linus Torvalds
  2010-01-01  1:22   ` Stephen Rothwell
  0 siblings, 1 reply; 14+ messages in thread
From: Linus Torvalds @ 2010-01-01  0:50 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, linux-kernel, Thomas Gleixner, Samuel Ortiz,
	Tony Lindgren, Santosh Shilimkar, Balaji T K, Rajendra Nayak



On Fri, 1 Jan 2010, Stephen Rothwell wrote:
>
> Today's linux-next build (powerpc allyesconfig) produced these warnings:
> 
> drivers/mfd/twl4030-irq.c: In function 'twl4030_sih_do_edge':
> drivers/mfd/twl4030-irq.c:571: warning: passing argument 1 of 'spin_lock_irq' from incompatible pointer type
> include/linux/spinlock.h:304: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
> drivers/mfd/twl4030-irq.c:576: warning: passing argument 1 of 'spin_unlock_irq' from incompatible pointer type
> include/linux/spinlock.h:329: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
> 
> Introduced by commit 239007b8440abff689632f50cdf0f2b9e895b534 ("genirq:
> Convert irq_desc.lock to raw_spinlock").  I guess that this file was
> missed in the conversion.

Ok, I tested and committed the other warning you pointed out, but this one 
I can't test since I no longer do powerpc builds. I assume the trivial fix 
below fixes it, but without testing I won't be committing it.

		Linus
---
 drivers/mfd/twl4030-irq.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c
index 20d29ba..9df9a5a 100644
--- a/drivers/mfd/twl4030-irq.c
+++ b/drivers/mfd/twl4030-irq.c
@@ -568,12 +568,12 @@ static void twl4030_sih_do_edge(struct work_struct *work)
 
 		bytes[byte] &= ~(0x03 << off);
 
-		spin_lock_irq(&d->lock);
+		raw_spin_lock_irq(&d->lock);
 		if (d->status & IRQ_TYPE_EDGE_RISING)
 			bytes[byte] |= BIT(off + 1);
 		if (d->status & IRQ_TYPE_EDGE_FALLING)
 			bytes[byte] |= BIT(off + 0);
-		spin_unlock_irq(&d->lock);
+		raw_spin_unlock_irq(&d->lock);
 
 		edge_change &= ~BIT(i);
 	}

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

* Re: linux-next: origin tree build warnings
  2010-01-01  0:50 ` Linus Torvalds
@ 2010-01-01  1:22   ` Stephen Rothwell
  2010-01-01  1:32     ` Linus Torvalds
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2010-01-01  1:22 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-next, linux-kernel, Thomas Gleixner, Samuel Ortiz,
	Tony Lindgren, Santosh Shilimkar, Balaji T K, Rajendra Nayak

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

Hi Linus,

On Thu, 31 Dec 2009 16:50:39 -0800 (PST) Linus Torvalds <torvalds@linux-foundation.org> wrote:
>
> Ok, I tested and committed the other warning you pointed out, but this one 
> I can't test since I no longer do powerpc builds. I assume the trivial fix 
> below fixes it, but without testing I won't be committing it.

I have built drivers/mfd/twl4030-irq.o the same way as before but after
applying your patch and the warnings are fixed.  I do not have the
hardware and so cannot do a runtime test.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

* Re: linux-next: origin tree build warnings
  2010-01-01  1:22   ` Stephen Rothwell
@ 2010-01-01  1:32     ` Linus Torvalds
  2010-01-01  1:50       ` Stephen Rothwell
  2010-01-04 13:51       ` Samuel Ortiz
  0 siblings, 2 replies; 14+ messages in thread
From: Linus Torvalds @ 2010-01-01  1:32 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, linux-kernel, Thomas Gleixner, Samuel Ortiz,
	Tony Lindgren, Santosh Shilimkar, Balaji T K, Rajendra Nayak



On Fri, 1 Jan 2010, Stephen Rothwell wrote:
> 
> I have built drivers/mfd/twl4030-irq.o the same way as before but after
> applying your patch and the warnings are fixed.  I do not have the
> hardware and so cannot do a runtime test.

Ok, committed as "Reported-and-compile-tested-by:" you.

Somebody should probably test it on real hardware, but I doubt the patch 
makes anything worse, and it _probably_ makes things better.

			Linus

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

* Re: linux-next: origin tree build warnings
  2010-01-01  1:32     ` Linus Torvalds
@ 2010-01-01  1:50       ` Stephen Rothwell
  2010-01-02  9:32         ` Shilimkar, Santosh
  2010-01-04 13:51       ` Samuel Ortiz
  1 sibling, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2010-01-01  1:50 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-next, linux-kernel, Thomas Gleixner, Samuel Ortiz,
	Tony Lindgren, Santosh Shilimkar, Balaji T K, Rajendra Nayak

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

Hi Linus,

On Thu, 31 Dec 2009 17:32:11 -0800 (PST) Linus Torvalds <torvalds@linux-foundation.org> wrote:
>
> On Fri, 1 Jan 2010, Stephen Rothwell wrote:
> > 
> > I have built drivers/mfd/twl4030-irq.o the same way as before but after
> > applying your patch and the warnings are fixed.  I do not have the
> > hardware and so cannot do a runtime test.
> 
> Ok, committed as "Reported-and-compile-tested-by:" you.

Thanks.

> Somebody should probably test it on real hardware, but I doubt the patch 
> makes anything worse, and it _probably_ makes things better.

With any luck :-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

* RE: linux-next: origin tree build warnings
  2010-01-01  1:50       ` Stephen Rothwell
@ 2010-01-02  9:32         ` Shilimkar, Santosh
  0 siblings, 0 replies; 14+ messages in thread
From: Shilimkar, Santosh @ 2010-01-02  9:32 UTC (permalink / raw)
  To: Stephen Rothwell, Linus Torvalds
  Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Thomas Gleixner, Samuel Ortiz, Tony Lindgren,
	Krishnamoorthy, Balaji T, Nayak, Rajendra

Stephen,Linus,

> -----Original Message-----
> From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
> Sent: Friday, January 01, 2010 7:21 AM
> To: Linus Torvalds
> Cc: linux-next@vger.kernel.org; linux-kernel@vger.kernel.org; Thomas Gleixner; Samuel Ortiz; Tony
> Lindgren; Shilimkar, Santosh; Krishnamoorthy, Balaji T; Nayak, Rajendra
> Subject: Re: linux-next: origin tree build warnings
> 
> Hi Linus,
> 
> On Thu, 31 Dec 2009 17:32:11 -0800 (PST) Linus Torvalds <torvalds@linux-foundation.org> wrote:
> >
> > On Fri, 1 Jan 2010, Stephen Rothwell wrote:
> > >
> > > I have built drivers/mfd/twl4030-irq.o the same way as before but after
> > > applying your patch and the warnings are fixed.  I do not have the
> > > hardware and so cannot do a runtime test.
> >
> > Ok, committed as "Reported-and-compile-tested-by:" you.
> 
> Thanks.
> 
> > Somebody should probably test it on real hardware, but I doubt the patch
> > makes anything worse, and it _probably_ makes things better.
> 
> With any luck :-)
Have tested this patch on OMAP3430 and works as expected. 

Regards,
Santosh

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

* Re: linux-next: origin tree build warnings
  2010-01-01  1:32     ` Linus Torvalds
  2010-01-01  1:50       ` Stephen Rothwell
@ 2010-01-04 13:51       ` Samuel Ortiz
  1 sibling, 0 replies; 14+ messages in thread
From: Samuel Ortiz @ 2010-01-04 13:51 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Stephen Rothwell, linux-next, linux-kernel, Thomas Gleixner,
	Tony Lindgren, Santosh Shilimkar, Balaji T K, Rajendra Nayak

Hi Linus,

On Thu, Dec 31, 2009 at 05:32:11PM -0800, Linus Torvalds wrote:
> 
> 
> On Fri, 1 Jan 2010, Stephen Rothwell wrote:
> > 
> > I have built drivers/mfd/twl4030-irq.o the same way as before but after
> > applying your patch and the warnings are fixed.  I do not have the
> > hardware and so cannot do a runtime test.
> 
> Ok, committed as "Reported-and-compile-tested-by:" you.
> 
> Somebody should probably test it on real hardware, but I doubt the patch 
> makes anything worse, and it _probably_ makes things better.
Thanks for the fix.
I got the same fix from Felipe and Tony during the holidays, so I assume they
tested it on real hardware.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

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

end of thread, other threads:[~2010-01-04 13:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29  4:44 linux-next: origin tree build warnings Stephen Rothwell
2009-04-29  7:52 ` Andrew Morton
2009-04-29 15:38   ` Tyler Hicks
  -- strict thread matches above, loose matches on Subject: below --
2010-01-01  0:42 Stephen Rothwell
2010-01-01  0:50 ` Linus Torvalds
2010-01-01  1:22   ` Stephen Rothwell
2010-01-01  1:32     ` Linus Torvalds
2010-01-01  1:50       ` Stephen Rothwell
2010-01-02  9:32         ` Shilimkar, Santosh
2010-01-04 13:51       ` Samuel Ortiz
2008-12-29  0:35 Stephen Rothwell
2008-12-29  4:01 ` David Miller
2008-12-29  4:17   ` Stephen Rothwell
2008-12-29  4:21     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).