Skip to contentSkip to conversation

How to submit patches

lm-sensors carlos.olalla at urv.cat 2 participants 5 messages Jul 2, 2006 – Jul 3, 2006

lore
Share & tools
lore
#0 lore raw

Hello everybodyI have been working in patches for kernel drivers and libsensors, adding / mapping omitted registers aboutpwms and pwm divisors of the winbond family.Are these patches welcome? How can I submit them?RegardsCarlos

Carlos Olalla Martinez
carlos.olalla at urv.net
carlos.olalla at estudiants.urv.cat
http://www.tinet.org/~com.ea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060702/07750c4f/attachment.html

#1 lore raw

Hello Carlos,

Quoted 3 lines

I have been working in patches for kernel drivers and libsensors, adding / mapping omitted registers about
pwms and pwm divisors of the winbond family.

Well patches always welcomed. Please post the patches to the list. Just use diff -uprN a/ b/

where a/ and b/ are two trees of sources. (The diff should be done using the latest kernel -mm)

Indicate that the mail contains a patch with [PATCH] subject line. You may include the patch into text attachment. The message body will just contain a description of the patch and Signed-Off-By line if it is for kernel patch.

You may also read
http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.17.y.git;a=blob;hÂc85bcb3d438b983ccc1535acbbd185867e26c3;hbRcbb7b78994ea3799f1bbb8c03bce1e2f72a271;f=Documentation/SubmittingPatches
and
http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.17.y.git;a=blob;hÎ5d2c038cf54603d76c32b25e563456ebcf6711;hbRcbb7b78994ea3799f1bbb8c03bce1e2f72a271;f=Documentation/CodingStyle

The SubmittingPatches document is explaining the procedure of submitting patches to kernel. If you follow the rules and just use the lm-sensors mailing list all will be fine. (I described the rules briefly above)

I hope it is more clear now. If you have more questions ask please.

Regards
Rudolf

#2 lore raw
In reply to carlos.olalla at urv.cat

Thx for your answer Rudolf> Well patches always welcomed. Please post the patches to the list.> Just use diff -uprN a/ b/> > where a/ and b/ are two trees of sources. (The diff should be > done using> the latest kernel -mm)I have seen that the kernel drivers from latest SVN snapshot of lm-sensors athttp://dl.lm-sensors.org/lm-sensors/snapshots/are different from the ones athttp://www.kernel.org/should i use the latest lm-sensors SVN snapshot for libsensors patches?and the latest kernel for drivers patches?I guess this is obvious but i want to be sureThx again!

Carlos Olalla Martinez
carlos.olalla at urv.net
carlos.olalla at estudiants.urv.cat
http://www.tinet.org/~com.ea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060703/6a54cf89/attachment.html

#3 lore raw
In reply to carlos.olalla at urv.cat

Sorry, text formatted my msg now ->

Thx for your answer Rudolf

Quoted 2 lines

Well patches always welcomed. Please post the patches to the list. Just use diff -uprN a/ b/> > where a/ and b/ are two trees of sources.

(The diff should be > done using> the latest kernel -mm)

I have seen that the kernel drivers from latest SVN snapshot of lm-sensors at
http://dl.lm-sensors.org/lm-sensors/snapshots/

are different from the ones at
http://www.kernel.org/

should i use the latest lm-sensors SVN snapshot for libsensors patches? and the latest kernel for drivers patches?

I guess this is obvious but i want to be sure

Thx again!

Carlos Olalla Martinez
carlos.olalla at urv.net
carlos.olalla at estudiants.urv.cat
http://www.tinet.org/~com.ea