* [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
@ 2009-10-13 17:18 Ivo Calado
2009-10-13 18:06 ` Jarek Poplawski
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Ivo Calado @ 2009-10-13 17:18 UTC (permalink / raw)
To: dccp
First Patch on TFRC-SP. Does a copy from TFRC and adjust symbols name
with infix "_sp".
Also updates Kconfig and init/exit code. An #ifndef was added to headers
that
have commom symbols with TFRC that were not changed, so they don't get
included twice.
Following the rule #8 in Documentation/SubmittingPatches the patch is
stored at
http://embedded.ufcg.edu.br/~ivocalado/dccp/patches/patches_tfrc_sp_receiver-v2/tfrc_sp_receiver_01.patch
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
@ 2009-10-13 18:06 ` Jarek Poplawski
2009-10-13 18:12 ` Ivo Calado
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jarek Poplawski @ 2009-10-13 18:06 UTC (permalink / raw)
To: dccp
Ivo Calado wrote, On 10/13/2009 07:18 PM:
...
> Following the rule #8 in Documentation/SubmittingPatches the patch is
> stored at
> http://embedded.ufcg.edu.br/~ivocalado/dccp/patches/patches_tfrc_sp_receiver-v2/tfrc_sp_receiver_01.patch
>
Does this patch really exceed 300kb in size?
Jarek P.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
2009-10-13 18:06 ` Jarek Poplawski
@ 2009-10-13 18:12 ` Ivo Calado
2009-10-13 18:21 ` Jarek Poplawski
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ivo Calado @ 2009-10-13 18:12 UTC (permalink / raw)
To: dccp
On Tue, Oct 13, 2009 at 15:06, Jarek Poplawski <jarkao2@gmail.com> wrote:
> Ivo Calado wrote, On 10/13/2009 07:18 PM:
>
> ...
>> Following the rule #8 in Documentation/SubmittingPatches the patch is
>> stored at
>> http://embedded.ufcg.edu.br/~ivocalado/dccp/patches/patches_tfrc_sp_receiver-v2/tfrc_sp_receiver_01.patch
>>
>
> Does this patch really exceed 300kb in size?
>
> Jarek P.
>
Hi jarek,
This patch has 68kb in size, but in the rule #8 it says:
8) E-mail size.
...
Large changes are not appropriate for mailing lists, and some
maintainers. If your patch, uncompressed, exceeds 40 kB in size,
it is preferred that you store your patch on an Internet-accessible
server, and provide instead a URL (link) pointing to your patch.
"
--
Ivo Augusto Andrade Rocha Calado
MSc. Candidate
Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
Systems and Computing Department - http://www.dsc.ufcg.edu.br
Electrical Engineering and Informatics Center - http://www.ceei.ufcg.edu.br
Federal University of Campina Grande - http://www.ufcg.edu.br
PGP: 0x03422935
Quidquid latine dictum sit, altum viditur.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
2009-10-13 18:06 ` Jarek Poplawski
2009-10-13 18:12 ` Ivo Calado
@ 2009-10-13 18:21 ` Jarek Poplawski
2009-10-13 18:25 ` Ivo Calado
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jarek Poplawski @ 2009-10-13 18:21 UTC (permalink / raw)
To: dccp
On Tue, Oct 13, 2009 at 03:12:14PM -0300, Ivo Calado wrote:
> On Tue, Oct 13, 2009 at 15:06, Jarek Poplawski <jarkao2@gmail.com> wrote:
> > Ivo Calado wrote, On 10/13/2009 07:18 PM:
> >
> > ...
> >> Following the rule #8 in Documentation/SubmittingPatches the patch is
> >> stored at
> >> http://embedded.ufcg.edu.br/~ivocalado/dccp/patches/patches_tfrc_sp_receiver-v2/tfrc_sp_receiver_01.patch
> >>
> >
> > Does this patch really exceed 300kb in size?
> >
> > Jarek P.
> >
>
>
> Hi jarek,
> This patch has 68kb in size, but in the rule #8 it says:
>
>
> 8) E-mail size.
>
> ...
> Large changes are not appropriate for mailing lists, and some
> maintainers. If your patch, uncompressed, exceeds 40 kB in size,
> it is preferred that you store your patch on an Internet-accessible
> server, and provide instead a URL (link) pointing to your patch.
> "
Hi Ivo,
Current version?
"8) E-mail size.
When sending patches to Linus, always follow step #7.
Large changes are not appropriate for mailing lists, and some
maintainers. If your patch, uncompressed, exceeds 300 kB in size,
it is preferred that you store your patch on an Internet-accessible
server, and provide instead a URL (link) pointing to your patch.
"
Jarek P.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
` (2 preceding siblings ...)
2009-10-13 18:21 ` Jarek Poplawski
@ 2009-10-13 18:25 ` Ivo Calado
2009-10-13 18:42 ` Arnaldo Carvalho de Melo
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ivo Calado @ 2009-10-13 18:25 UTC (permalink / raw)
To: dccp
On Tue, Oct 13, 2009 at 15:21, Jarek Poplawski <jarkao2@gmail.com> wrote:
> On Tue, Oct 13, 2009 at 03:12:14PM -0300, Ivo Calado wrote:
>> On Tue, Oct 13, 2009 at 15:06, Jarek Poplawski <jarkao2@gmail.com> wrote:
>> > Ivo Calado wrote, On 10/13/2009 07:18 PM:
>> >
>> > ...
>> >> Following the rule #8 in Documentation/SubmittingPatches the patch is
>> >> stored at
>> >> http://embedded.ufcg.edu.br/~ivocalado/dccp/patches/patches_tfrc_sp_receiver-v2/tfrc_sp_receiver_01.patch
>> >>
>> >
>> > Does this patch really exceed 300kb in size?
>> >
>> > Jarek P.
>> >
>>
>>
>> Hi jarek,
>> This patch has 68kb in size, but in the rule #8 it says:
>>
>>
>> 8) E-mail size.
>>
>> ...
>> Large changes are not appropriate for mailing lists, and some
>> maintainers. If your patch, uncompressed, exceeds 40 kB in size,
>> it is preferred that you store your patch on an Internet-accessible
>> server, and provide instead a URL (link) pointing to your patch.
>> "
>
> Hi Ivo,
> Current version?
>
> "8) E-mail size.
>
> When sending patches to Linus, always follow step #7.
>
> Large changes are not appropriate for mailing lists, and some
> maintainers. If your patch, uncompressed, exceeds 300 kB in size,
> it is preferred that you store your patch on an Internet-accessible
> server, and provide instead a URL (link) pointing to your patch.
> "
>
> Jarek P.
>
Hi Jarek,
strange! I'm using the current DCCP test tree, branch dccp.
Am I correct in use these rules?
best regards,
Ivo
--
Ivo Augusto Andrade Rocha Calado
MSc. Candidate
Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
Systems and Computing Department - http://www.dsc.ufcg.edu.br
Electrical Engineering and Informatics Center - http://www.ceei.ufcg.edu.br
Federal University of Campina Grande - http://www.ufcg.edu.br
PGP: 0x03422935
Quidquid latine dictum sit, altum viditur.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
` (3 preceding siblings ...)
2009-10-13 18:25 ` Ivo Calado
@ 2009-10-13 18:42 ` Arnaldo Carvalho de Melo
2009-10-13 18:53 ` Jarek Poplawski
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Arnaldo Carvalho de Melo @ 2009-10-13 18:42 UTC (permalink / raw)
To: dccp
Em Tue, Oct 13, 2009 at 03:25:48PM -0300, Ivo Calado escreveu:
> strange! I'm using the current DCCP test tree, branch dccp.
> Am I correct in use these rules?
Follow the rules in the latest Documentation/SubmittingPatches file,
that is:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/SubmittingPatches;hb=HEAD
And that states:
-------------------------------------------------------------------
8) E-mail size.
When sending patches to Linus, always follow step #7.
Large changes are not appropriate for mailing lists, and some
maintainers. If your patch, uncompressed, exceeds 300 kB in size,
it is preferred that you store your patch on an Internet-accessible
server, and provide instead a URL (link) pointing to your patch.
-------------------------------------------------------------------
As Jarek pointed out.
- Arnaldo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
` (4 preceding siblings ...)
2009-10-13 18:42 ` Arnaldo Carvalho de Melo
@ 2009-10-13 18:53 ` Jarek Poplawski
2009-10-19 5:21 ` Gerrit Renker
2009-10-20 13:51 ` Ivo Calado
7 siblings, 0 replies; 9+ messages in thread
From: Jarek Poplawski @ 2009-10-13 18:53 UTC (permalink / raw)
To: dccp
On Tue, Oct 13, 2009 at 03:25:48PM -0300, Ivo Calado wrote:
> On Tue, Oct 13, 2009 at 15:21, Jarek Poplawski <jarkao2@gmail.com> wrote:
> > On Tue, Oct 13, 2009 at 03:12:14PM -0300, Ivo Calado wrote:
> >> On Tue, Oct 13, 2009 at 15:06, Jarek Poplawski <jarkao2@gmail.com> wrote:
> >> > Ivo Calado wrote, On 10/13/2009 07:18 PM:
> >> >
> >> > ...
> >> >> Following the rule #8 in Documentation/SubmittingPatches the patch is
...
> >> 8) E-mail size.
> >>
> >> ...
> >> Large changes are not appropriate for mailing lists, and some
> >> maintainers. If your patch, uncompressed, exceeds 40 kB in size,
...
> > Large changes are not appropriate for mailing lists, and some
> > maintainers. If your patch, uncompressed, exceeds 300 kB in size,
...
> Hi Jarek,
> strange! I'm using the current DCCP test tree, branch dccp.
> Am I correct in use these rules?
Hmm... Looks like a fresh change in Linus' (and net-next) tree. So,
there is a hard legal question: which tree rules should be respected
here?
I guess you're one of a few respecting these rules ;-) Well done!
Best regards,
Jarek P.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
` (5 preceding siblings ...)
2009-10-13 18:53 ` Jarek Poplawski
@ 2009-10-19 5:21 ` Gerrit Renker
2009-10-20 13:51 ` Ivo Calado
7 siblings, 0 replies; 9+ messages in thread
From: Gerrit Renker @ 2009-10-19 5:21 UTC (permalink / raw)
To: dccp
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
| First Patch on TFRC-SP.
Please find attached one edit that I made.
I added unwinding the initialisation of tfrc_lib in the case where the
initialisation of tfrc_sp_lib fails. Unwinding is now done in the reverse
order of the steps done during initialisation.
[-- Attachment #2: 1.diff --]
[-- Type: text/x-diff, Size: 689 bytes --]
--- a/net/dccp/ccid.c
+++ b/net/dccp/ccid.c
@@ -223,7 +223,7 @@ int __init ccid_initialize_builtins(void
err = tfrc_sp_lib_init();
if (err)
- return err;
+ goto unwind_tfrc_lib;
for (i = 0; i < ARRAY_SIZE(ccids); i++) {
err = ccid_activate(ccids[i]);
@@ -235,8 +235,10 @@ int __init ccid_initialize_builtins(void
unwind_registrations:
while(--i >= 0)
ccid_deactivate(ccids[i]);
- tfrc_lib_exit();
+
tfrc_sp_lib_exit();
+unwind_tfrc_lib:
+ tfrc_lib_exit();
return err;
}
@@ -246,6 +248,6 @@ void ccid_cleanup_builtins(void)
for (i = 0; i < ARRAY_SIZE(ccids); i++)
ccid_deactivate(ccids[i]);
- tfrc_lib_exit();
tfrc_sp_lib_exit();
+ tfrc_lib_exit();
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
` (6 preceding siblings ...)
2009-10-19 5:21 ` Gerrit Renker
@ 2009-10-20 13:51 ` Ivo Calado
7 siblings, 0 replies; 9+ messages in thread
From: Ivo Calado @ 2009-10-20 13:51 UTC (permalink / raw)
To: dccp
On Mon, Oct 19, 2009 at 02:21, Gerrit Renker <gerrit@erg.abdn.ac.uk> wrote:
> | First Patch on TFRC-SP.
> Please find attached one edit that I made.
>
> I added unwinding the initialisation of tfrc_lib in the case where the
> initialisation of tfrc_sp_lib fails. Unwinding is now done in the reverse
> order of the steps done during initialisation.
>
Agree.
--
Ivo Augusto Andrade Rocha Calado
MSc. Candidate
Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
Systems and Computing Department - http://www.dsc.ufcg.edu.br
Electrical Engineering and Informatics Center - http://www.ceei.ufcg.edu.br
Federal University of Campina Grande - http://www.ufcg.edu.br
PGP: 0x03422935
Quidquid latine dictum sit, altum viditur.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-10-20 13:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 17:18 [PATCHv2 1/4] First Patch on TFRC-SP. Copy base files from TFRC Ivo Calado
2009-10-13 18:06 ` Jarek Poplawski
2009-10-13 18:12 ` Ivo Calado
2009-10-13 18:21 ` Jarek Poplawski
2009-10-13 18:25 ` Ivo Calado
2009-10-13 18:42 ` Arnaldo Carvalho de Melo
2009-10-13 18:53 ` Jarek Poplawski
2009-10-19 5:21 ` Gerrit Renker
2009-10-20 13:51 ` Ivo Calado
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox