Skip to contentSkip to conversation

gcc 4x warnings, x86_64

KJ Mike Day 3 participants 4 messages Oct 24, 2006 Kernel janitors

lore
Share & tools
lore

Mike Day

author
#0 lore raw

A lot of drivers are producing warnings and I would like to submit some patches to clean the warnings up. However, a lot of the drivers are for devices or chips for which I don't have access and am unable to test. Is it OK to submit patches like this or should I limit my patches to drivers/code I can actually test?

Mike Day

Signature · 4 lines
Mike Day
http://www.ncultra.org
AIM: ncmikeday  Yahoo: ultra.runner
PGP key: http://www.ncultra.org/ncmike/pubkey.asc

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw
Quoted 5 lines · On Tue, 24 Oct 2006 08:41:42 -0400 Mike Day wrote:

A lot of drivers are producing warnings and I would like to submit some patches to clean the warnings up. However, a lot of the drivers are for devices or chips for which I don't have access and am unable to test. Is it OK to submit patches like this or should I limit my patches to drivers/code I can actually test?

It's OK to submit patches for them. Please at least build the drivers cleanly first, though. Even using sparse on them would be a good idea. (see Documentation/sparse.txt)

---
~Randy
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#2 lore raw
In reply to Mike Day
Quoted 2 lines · Mike Day

A lot of drivers are producing warnings and I would like to submit some patches to clean the warnings up.

Note, that

warning: 'foo' may be used uninitialized in this function

style patches must have a description of codepath where foo is indeed used initialized.

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#3 lore raw
In reply to Mike Day
Quoted 10 lines · Alexey Dobriyan
Quoted 2 lines · Mike Day

A lot of drivers are producing warnings and I would like to submit some patches to clean the warnings up.

Note, that

warning: 'foo' may be used uninitialized in this function

style patches must have a description of codepath where foo is indeed used initialized.

Yes, I'm aware of that gcc 4.x bug.

thanks!

Mike

Signature · 4 lines
Mike Day
http://www.ncultra.org
AIM: ncmikeday  Yahoo: ultra.runner
PGP key: http://www.ncultra.org/ncmike/pubkey.asc

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors