All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ravid Baruch Naali <ravid@codefidence.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ][PATCH]dev->mem_start default value (~0) test (final go)
Date: Tue, 24 Jul 2007 19:52:56 +0000	[thread overview]
Message-ID: <46A65898.5010801@codefidence.com> (raw)
In-Reply-To: <46A5C2FE.6040602@codefidence.com>

Your comment was on my mind before submitting the patch:

It's always hard to know what's best: splitting the long patch, which
repeat it self, or combined it to one. It took me a while to decide but
finally I came to the conclusion that I would expect my colleague, to
combine.
Looking at other patches in the archive I could not tell what's the rule
of thumb.

I also followed the FAQ answer "Try splitting them up per subsystem
(drivers/net/ ..." (all my patch refers to drivers/net)
So at the end of the day I'm left confuse at what is best.

Cripps wrote:
>>> 3. Write readable code
>>>       #define LIFE_THE_UNIVERSE_AND_EVERYTHING 42
>>>       ...
>>>       if (answer = LIFE_THE_UNIVERSE_AND_EVERYTHING)
>>
>> I recommend the book named "The Practice of Programming" for you.
>> It tells you how to write readable and nice code.
> 
>    I am in agreement, way number 3 is definitely the best way to write
> code; I should probably start making my code
> easier to read.
>    In addition, Ravid, that's a fairly hefty patchfile. Personally, I would
> split the existing file into individual patches
> for each file being patched, that way it's easy to look over the patchfile
> and go "okay, this all looks right to me,
> lets move on." Splitting up large patchfiles makes processing patches
> easier, and faster, for kernel maintainers.
> 
> -acripps
> 

_______________________________________________
REMINDER: this mailing list moved to vger.kernel.org and current one will be discontinued soon.
To resubscribe, send email to majordomo@vger.kernel.org with
&quot;subscribe kernel-janitors&quot; in message body and follow instructions.

Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

  parent reply	other threads:[~2007-07-24 19:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  9:14 [KJ][PATCH]dev->mem_start default value (~0) test Ravid Baruch Naali
2007-07-24 11:22 ` Ravid Baruch Naali
2007-07-24 12:37 ` [KJ][PATCH]dev->mem_start default value (~0) test (final go) Ravid Baruch Naali
2007-07-24 13:03 ` Håkon Løvdal
2007-07-24 13:32 ` WANG Cong
2007-07-24 17:54 ` Cripps
2007-07-24 19:40 ` Ravid Baruch Naali
2007-07-24 19:52 ` Ravid Baruch Naali [this message]
2007-07-25  0:30 ` Cripps

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A65898.5010801@codefidence.com \
    --to=ravid@codefidence.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.