From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH 14/24] [NETFILTER]: Use bool in nf_conntrack_l4proto
Date: Thu, 03 Apr 2008 17:49:04 +0200 [thread overview]
Message-ID: <47F4FC70.6050008@trash.net> (raw)
In-Reply-To: <alpine.LNX.1.10.0804031725030.1301@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> On Thursday 2008-04-03 17:00, Patrick McHardy wrote:
>>
>> Some hints for the future to make this easier for both of us:
>>
>> - submit small batches, split into logical units
>
> This sets me up a bit.. sometimes it's "should have folded these"
> (like the const annotation patches that were at the start of
> the series), then it's "smaller batches" :-/
Folding patches makes the batches smaller (note: batch, not
patch) :) What I meant by this was to not flood me with 30
patches three times at once, if issues come up in one of the
first patches it often results in the later ones not applying.
Logical batches, like
- batch 1: constification
- batch 2: boolean conversions
- batch x: things like rename ipt_recent, add IPv6 support
- batch y: arp_tables userspace interface changes in order
to achieve X.
>> - avoid style changes like this, especially when the entire file
>> uses a consistent style:
>>
>>> -static int icmpv6_pkt_to_tuple(const struct sk_buff *skb,
>>> - unsigned int dataoff,
>>> - struct nf_conntrack_tuple *tuple)
>
> allow me the remark of "consistently odd", as you can see what a
> change in indent does when spaces are not used in the right
> place. But whatever, yeah.
>
>>> +static bool
>>> +icmpv6_pkt_to_tuple(const struct sk_buff *skb, unsigned int dataoff,
>>> + struct nf_conntrack_tuple *tuple)
>>
>> - run checkpatch
>
> Not before I rip out that incredibly stupid "use tabs" warning.
> The warning may be right for users who apparently have not dealt
> with patch submitting process a lot, but for longtime contributers
> that get their style right the 1st time it's just wrong.
No, we've fixed up net/ more than once using scripts before
checkpatch even existed. Simple: keep existing style.
> That program has no sense for when spaces are needed.
> The style I used and use (tabs=indent, spaces=align - it only makes
> sense) was always fine by you, but now it's not because
> checkpatch says so?
See above. I used to use a different indenting style as well,
but I prefer consistency over having it exactly as I like it.
>> - don't mix cleanups with real changes
>> - run sparse with endian checks
>> - compile test all the code your changing, including CONFIG_COMPAT
>
> Will do.
>
next prev parent reply other threads:[~2008-04-03 15:49 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-02 11:11 Patches for 2.6.26 Jan Engelhardt
2008-04-02 11:11 ` [PATCH 01/24] [NETFILTER]: remove arpt_table indirection macro Jan Engelhardt
2008-04-02 11:11 ` [PATCH 02/24] [NETFILTER]: remove arpt_target " Jan Engelhardt
2008-04-03 11:44 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 03/24] [NETFILTER]: remove ARPT_{STANDARD,ERROR}_TARGET " Jan Engelhardt
2008-04-03 11:46 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 04/24] [NETFILTER]: remove unused ARPT_ALIGN indirection macros Jan Engelhardt
2008-04-03 11:49 ` Patrick McHardy
2008-04-03 12:32 ` Jan Engelhardt
2008-04-03 12:38 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 05/24] [NETFILTER]: remove arpt_(un)register_target " Jan Engelhardt
2008-04-03 11:51 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 06/24] [NETFILTER]: remove ARPT_{CONTINUE,RETURN} " Jan Engelhardt
2008-04-03 11:52 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 07/24] " Jan Engelhardt
2008-04-03 11:52 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 08/24] [NETFILTER]: rename NF_ARP to AF_ARP and assign a non-clashing value Jan Engelhardt
2008-04-03 11:59 ` Patrick McHardy
2008-04-03 13:07 ` Jan Engelhardt
2008-04-03 13:17 ` Patrick McHardy
2008-04-03 13:40 ` Jan Engelhardt
2008-04-03 13:44 ` Patrick McHardy
2008-04-03 13:52 ` Jan Engelhardt
2008-04-03 13:56 ` Patrick McHardy
2008-04-03 13:54 ` YOSHIFUJI Hideaki / 吉藤英明
2008-04-03 13:58 ` Patrick McHardy
2008-04-03 14:05 ` YOSHIFUJI Hideaki / 吉藤英明
2008-04-02 11:11 ` [PATCH 09/24] [NETFILTER]: Implement AF_UNSPEC as a wildcard for extensions Jan Engelhardt
2008-04-03 13:21 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 10/24] [NETFILTER]: Explicitly initialize .priority in arptable_filter Jan Engelhardt
2008-04-03 13:21 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 11/24] [NETFILTER]: Rename ipt_recent to xt_recent Jan Engelhardt
2008-04-02 11:11 ` [PATCH 12/24] [NETFILTER]: xt_recent: IPv6 support Jan Engelhardt
2008-04-03 13:24 ` Patrick McHardy
2008-04-03 13:43 ` Jan Engelhardt
2008-04-03 13:46 ` Patrick McHardy
2008-04-03 13:58 ` Jan Engelhardt
2008-04-03 14:01 ` Patrick McHardy
2008-04-03 15:56 ` Greg KH
2008-04-02 11:11 ` [PATCH 13/24] [NETFILTER]: nf_nat: autoload IPv4 connection tracking Jan Engelhardt
2008-04-03 12:27 ` Patrick McHardy
2008-04-02 11:11 ` [PATCH 14/24] [NETFILTER]: Use bool in nf_conntrack_l4proto Jan Engelhardt
2008-04-03 15:00 ` Patrick McHardy
2008-04-03 15:39 ` Jan Engelhardt
2008-04-03 15:49 ` Patrick McHardy [this message]
2008-04-02 11:11 ` [PATCH 15/24] [NETFILTER]: Use bool in nf_conntrack_l3proto Jan Engelhardt
2008-04-02 11:11 ` [PATCH 16/24] [NETFILTER]: nf_conntrack_sctp: const annotations Jan Engelhardt
2008-04-02 11:11 ` [PATCH 17/24] [NETFILTER]: Use bool in nf_conntrack_tuple.h Jan Engelhardt
2008-04-02 11:12 ` [PATCH 18/24] [NETFILTER]: Replace anon union by nf_conntrack_man_proto Jan Engelhardt
2008-04-02 11:12 ` [PATCH 19/24] [NETFILTER]: Give AF-independent extensions an arpt_ alias Jan Engelhardt
2008-04-02 11:12 ` [PATCH 20/24] [NETFILTER]: Make Ebtables use Xtables infrastructure Jan Engelhardt
2008-04-02 11:12 ` [PATCH 21/24] [NETFILTER]: xt_length match, revision 1 Jan Engelhardt
2008-04-02 11:12 ` [PATCH 22/24] [NETFILTER]: Replace NF_CT_DUMP_TUPLE macro indrection by function call Jan Engelhardt
2008-04-02 11:12 ` [PATCH 23/24] [NETFILTER]: Collapse tcpmss_reverse_mtu{4,6} into one function Jan Engelhardt
2008-04-02 11:12 ` [PATCH 24/24] [NETFILTER]: Remove unused callbacks in nf_conntrack_l3proto Jan Engelhardt
2008-04-03 11:38 ` [PATCH 01/24] [NETFILTER]: remove arpt_table indirection macro Patrick McHardy
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=47F4FC70.6050008@trash.net \
--to=kaber@trash.net \
--cc=jengelh@computergmbh.de \
--cc=netfilter-devel@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.