Skip to contentSkip to conversation

procedure for submitting patches

lm-sensors Thomas Andrews 2 participants 3 messages May 10, 2006 – May 29, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I'm not about to submit a patch, but sometime in the future I will be doing so, so I want to understand fully how it works around here. Firstly some notes though:

In the module that I'm working on:

(a) I have found (and fixed) a bug in the original code.
(b) I have made enhancements that are not all related to one another.

Should I submit seperate patches for all the different bits that I've done, or should I (at least initially) submit one huge patch for the lot?

Is there one specific person that I should send the patch(es) to, or is the list the place where it all happens?

I'm pretty new to all this, so I can imagine that my code will have to be massaged a bit to fit in properly..

Many thanks,
Thomas

#1 lore raw

Hi Thomas,

Sorry for the late answer.

Quoted 6 lines

I'm not about to submit a patch, but sometime in the future I will be doing so, so I want to understand fully how it works around here. Firstly some notes though:

In the module that I'm working on:

Quoted 7 lines

(a) I have found (and fixed) a bug in the original code.
(b) I have made enhancements that are not all related to one another.

Should I submit seperate patches for all the different bits that I've done, or should I (at least initially) submit one huge patch for the lot?

Alawys submit seperate patches. There are no exceptions to this rule.

Quoted 2 lines

Is there one specific person that I should send the patch(es) to, or is the list the place where it all happens?

Yes, this list is the right place (assuming your work is related to hardware monitoring or i2c). For bug fixes, or if you think your patch is ready to be pushed upstream, it's a good idea to Cc me.

Quoted 2 lines

I'm pretty new to all this, so I can imagine that my code will have to be massaged a bit to fit in properly..

Probably, but we try to be nice with newcomers, so don't worry :)

Signature · 1 line
Jean Delvare
#2 lore raw
In reply to Thomas Andrews
Quoted 19 lines · Jean Delvare
Quoted 6 lines

I'm not about to submit a patch, but sometime in the future I will be doing so, so I want to understand fully how it works around here. Firstly some notes though:

In the module that I'm working on:

Quoted 7 lines

(a) I have found (and fixed) a bug in the original code.
(b) I have made enhancements that are not all related to one another.

Should I submit seperate patches for all the different bits that I've done, or should I (at least initially) submit one huge patch for the lot?

Alawys submit seperate patches. There are no exceptions to this rule.

Quoted 2 lines

Is there one specific person that I should send the patch(es) to, or is the list the place where it all happens?

Quoted 8 lines

Yes, this list is the right place (assuming your work is related to hardware monitoring or i2c). For bug fixes, or if you think your patch is ready to be pushed upstream, it's a good idea to Cc me.

Quoted 2 lines

I'm pretty new to all this, so I can imagine that my code will have to be massaged a bit to fit in properly..

Probably, but we try to be nice with newcomers, so don't worry :)

Thanks Jean. I've pretty much finished with my changes to scx200_acb.c but I won't submit any patches until I've done some fairly heavy testing because making the driver operate as a slave using interrupts is quite a big change (in my opinion), and I don't want to submit something that's buggy.

Regards,
Thomas