All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH 2/8] [NETFILTER]: Use bool type in struct nf_conntrack_l3proto
Date: Sun, 06 Apr 2008 17:22:14 +0200	[thread overview]
Message-ID: <47F8EAA6.1040406@trash.net> (raw)
In-Reply-To: <alpine.LNX.1.10.0804060544190.30794@fbirervta.pbzchgretzou.qr>

Jan Engelhardt wrote:
> commit bb84a3dab22636fbf691b913a4ceff836c21ffb4
> Author: Jan Engelhardt <jengelh@computergmbh.de>
> Date:   Sat Mar 8 15:16:53 2008 +0100
> 
>     [NETFILTER]: Use bool type in struct nf_conntrack_l3proto
> 
>     Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>

> -    int (*pkt_to_tuple)(const struct sk_buff *skb, unsigned int nhoff,
> -                struct nf_conntrack_tuple *tuple);
> +    bool (*pkt_to_tuple)(const struct sk_buff *skb, unsigned int nhoff,
> +                         struct nf_conntrack_tuple *tuple);
> 

This doesn't apply because of whitespace damage:

          * Try to fill in the third arg: nhoff is offset of l3 proto
            * hdr.  Return true if possible. 

^^^^^^^^^^ spaces that are not present in the tree

I even tried the files taken from Maildir/, so its not mailer related.

Besides that it *still* uses spaced for indentation. I didn't
mean you should run it through your own checkpatch.pl version that
doesn't complain about whitespace but through the one contained in
the kernel tree.



  reply	other threads:[~2008-04-06 15:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06  3:43 0/8 Netfilter patches Jan Engelhardt
2008-04-06  3:44 ` [PATCH 1/8] [NETFILTER]: Remove unused callbacks in nf_conntrack_l3proto Jan Engelhardt
2008-04-06 15:11   ` Patrick McHardy
2008-04-06  3:45 ` [PATCH 2/8] [NETFILTER]: Use bool type in struct nf_conntrack_l3proto Jan Engelhardt
2008-04-06 15:22   ` Patrick McHardy [this message]
2008-04-06 15:35     ` Jan Engelhardt
2008-04-06 16:00       ` Patrick McHardy
2008-04-06 16:14         ` Jan Engelhardt
2008-04-06 16:18           ` Patrick McHardy
2008-04-07  8:46             ` Jan Engelhardt
2008-04-06  3:45 ` [PATCH 3/8] [NETFILTER]: Use bool type in struct nf_conntrack_l4proto Jan Engelhardt
2008-04-06  3:46 ` [PATCH 4/8] [NETFILTER]: Use unsigned types for hooknum and pf vars Jan Engelhardt
2008-04-06  3:46 ` [PATCH 5/8] [NETFILTER]: Use bool type in struct nf_conntrack_tuple.h Jan Engelhardt
2008-04-06  3:46 ` [PATCH 6/8] [NETFILTER]: Use bool type in nf_nat_proto Jan Engelhardt
2008-04-06  3:48 ` [PATCH 7/8] [NETFILTER]: const annotations in nf_conntrack_{sctp,dccp}, nf_nat_proto_gre Jan Engelhardt
2008-04-06  3:48 ` [PATCH 8/8] [NETFILTER]: Replace NF_CT_DUMP_TUPLE macro indrection by function call Jan Engelhardt

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=47F8EAA6.1040406@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.