LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* -git10 staging build warnings
@ 2008-10-21 17:41 Randy Dunlap
  2008-10-21 18:07 ` Greg KH
  2008-10-21 19:00 ` Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: Randy Dunlap @ 2008-10-21 17:41 UTC (permalink / raw)
  To: Greg KH, lkml

i386:

drivers/staging/sxg/sxg.c:462: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
drivers/staging/sxg/sxg.c:479: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
drivers/staging/sxg/sxg.c:540: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
drivers/staging/sxg/sxg.c:571: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'

x86_64:

drivers/staging/winbond/./linux/wbusb .c:109: warning: 'struct ieee80211_tx_control' declared inside parameter list drivers/staging/winbond/./linux/wbusb.c:109: warning: its scope is only this definition or declaration, which is proba bly not what you want
drivers/staging/winbond/./linux/wbusb .c:172: warning: initialization from incompatible pointer type
drivers/staging/winbond/./linux/wbusb .c:174: warning: initialization from incompatible pointer type
drivers/staging/winbond/./linux/wbusb .c:180: warning: initialization from incompatible pointer type
drivers/staging/winbond/./linux/wbusb .c:181: warning: initialization from incompatible pointer type
drivers/staging/winbond/./linux/wbusb .c:299: warning: ISO C90 forbids mixed declarations and code
drivers/staging/usbip/vhci_rx.c:204: warning: format '%d' expects type 'int', but argument 7 has type 'long unsigned int'
drivers/staging/winbond/sme_api.c:13: warning: no return statement in function returning non-void

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

* Re: -git10 staging build warnings
  2008-10-21 17:41 -git10 staging build warnings Randy Dunlap
@ 2008-10-21 18:07 ` Greg KH
  2008-10-21 18:14   ` J.R. Mauro
  2008-10-21 19:00 ` Greg KH
  1 sibling, 1 reply; 5+ messages in thread
From: Greg KH @ 2008-10-21 18:07 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml

On Tue, Oct 21, 2008 at 10:41:45AM -0700, Randy Dunlap wrote:
> i386:
> 
> drivers/staging/sxg/sxg.c:462: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> drivers/staging/sxg/sxg.c:479: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> drivers/staging/sxg/sxg.c:540: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> drivers/staging/sxg/sxg.c:571: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> 
> x86_64:
> 
> drivers/staging/winbond/./linux/wbusb .c:109: warning: 'struct ieee80211_tx_control' declared inside parameter list drivers/staging/winbond/./linux/wbusb.c:109: warning: its scope is only this definition or declaration, which is proba bly not what you want
> drivers/staging/winbond/./linux/wbusb .c:172: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:174: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:180: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:181: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:299: warning: ISO C90 forbids mixed declarations and code
> drivers/staging/usbip/vhci_rx.c:204: warning: format '%d' expects type 'int', but argument 7 has type 'long unsigned int'
> drivers/staging/winbond/sme_api.c:13: warning: no return statement in function returning non-void

Thanks, I have quite a few -staging patches queued up, need to ensure
these get fixed as well.

greg k-h

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

* Re: -git10 staging build warnings
  2008-10-21 18:07 ` Greg KH
@ 2008-10-21 18:14   ` J.R. Mauro
  2008-10-21 18:32     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: J.R. Mauro @ 2008-10-21 18:14 UTC (permalink / raw)
  To: Greg KH; +Cc: Randy Dunlap, lkml

On Tue, Oct 21, 2008 at 2:07 PM, Greg KH <greg@kroah.com> wrote:
> On Tue, Oct 21, 2008 at 10:41:45AM -0700, Randy Dunlap wrote:
>> i386:
>>
>> drivers/staging/sxg/sxg.c:462: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
>> drivers/staging/sxg/sxg.c:479: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
>> drivers/staging/sxg/sxg.c:540: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
>> drivers/staging/sxg/sxg.c:571: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'

Greg, does this have anything to do with the fix-gcc-warnings patch I
sent you a while back?

>>
>> x86_64:
>>
>> drivers/staging/winbond/./linux/wbusb .c:109: warning: 'struct ieee80211_tx_control' declared inside parameter list drivers/staging/winbond/./linux/wbusb.c:109: warning: its scope is only this definition or declaration, which is proba bly not what you want
>> drivers/staging/winbond/./linux/wbusb .c:172: warning: initialization from incompatible pointer type
>> drivers/staging/winbond/./linux/wbusb .c:174: warning: initialization from incompatible pointer type
>> drivers/staging/winbond/./linux/wbusb .c:180: warning: initialization from incompatible pointer type
>> drivers/staging/winbond/./linux/wbusb .c:181: warning: initialization from incompatible pointer type
>> drivers/staging/winbond/./linux/wbusb .c:299: warning: ISO C90 forbids mixed declarations and code
>> drivers/staging/usbip/vhci_rx.c:204: warning: format '%d' expects type 'int', but argument 7 has type 'long unsigned int'
>> drivers/staging/winbond/sme_api.c:13: warning: no return statement in function returning non-void
>
> Thanks, I have quite a few -staging patches queued up, need to ensure
> these get fixed as well.
>
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

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

* Re: -git10 staging build warnings
  2008-10-21 18:14   ` J.R. Mauro
@ 2008-10-21 18:32     ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2008-10-21 18:32 UTC (permalink / raw)
  To: J.R. Mauro; +Cc: Randy Dunlap, lkml

On Tue, Oct 21, 2008 at 02:14:58PM -0400, J.R. Mauro wrote:
> On Tue, Oct 21, 2008 at 2:07 PM, Greg KH <greg@kroah.com> wrote:
> > On Tue, Oct 21, 2008 at 10:41:45AM -0700, Randy Dunlap wrote:
> >> i386:
> >>
> >> drivers/staging/sxg/sxg.c:462: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> >> drivers/staging/sxg/sxg.c:479: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> >> drivers/staging/sxg/sxg.c:540: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> >> drivers/staging/sxg/sxg.c:571: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
> 
> Greg, does this have anything to do with the fix-gcc-warnings patch I
> sent you a while back?

I don't know, I don't see that one in my "to-apply" queue, so either I
missed it, or it's already applied :)

I've now fixed this in my tree, it was a simple change.

thanks,

greg k-h

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

* Re: -git10 staging build warnings
  2008-10-21 17:41 -git10 staging build warnings Randy Dunlap
  2008-10-21 18:07 ` Greg KH
@ 2008-10-21 19:00 ` Greg KH
  1 sibling, 0 replies; 5+ messages in thread
From: Greg KH @ 2008-10-21 19:00 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml

On Tue, Oct 21, 2008 at 10:41:45AM -0700, Randy Dunlap wrote:
> x86_64:
> 
> drivers/staging/winbond/./linux/wbusb .c:109: warning: 'struct ieee80211_tx_control' declared inside parameter list drivers/staging/winbond/./linux/wbusb.c:109: warning: its scope is only this definition or declaration, which is proba bly not what you want
> drivers/staging/winbond/./linux/wbusb .c:172: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:174: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:180: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:181: warning: initialization from incompatible pointer type
> drivers/staging/winbond/./linux/wbusb .c:299: warning: ISO C90 forbids mixed declarations and code
> drivers/staging/usbip/vhci_rx.c:204: warning: format '%d' expects type 'int', but argument 7 has type 'long unsigned int'
> drivers/staging/winbond/sme_api.c:13: warning: no return statement in function returning non-void

Thanks, I've now fixed these.

greg k-h

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

end of thread, other threads:[~2008-10-21 19:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 17:41 -git10 staging build warnings Randy Dunlap
2008-10-21 18:07 ` Greg KH
2008-10-21 18:14   ` J.R. Mauro
2008-10-21 18:32     ` Greg KH
2008-10-21 19:00 ` Greg KH

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