Re: [PATCH 2/8] [NETFILTER]: Use bool type in struct nf_conntrack_l3proto

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sunday 2008-04-06 17:22, Patrick McHardy wrote:
 -                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.

Just when I was done I noticed I still had to run checkpatch (the
original version), I did it for one or two patches (involved
an awkward git rebase) then got so upset that I decided to send
the cp update instead.

Besides, I did not even touch that "Return true if possible" line.
git blame tells me:

9fb9cbb1 (Yasuyuki Kozakai  2005-11-09 16:38:16 -0800 27)       /*
9fb9cbb1 (Yasuyuki Kozakai  2005-11-09 16:38:16 -0800 28)        * Try to fill i
9fb9cbb1 (Yasuyuki Kozakai  2005-11-09 16:38:16 -0800 29)          * hdr.  Retur
9fb9cbb1 (Yasuyuki Kozakai  2005-11-09 16:38:16 -0800 30)        */

hmkay? What you are seeing is that the offending line uses 8(+4) spaces instead of a tab. If it does not apply, well, that is _so_ sad. I always announce the upstream commit id or tree so people have a clue what it's against, and there's even my git tree out there (//dev.computergmbh.de/linux master) where, should even that fail, people can fetch and use gitk/git-forest to see where my commits got stacked on.
I need a kitkat now..

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux