Re: [PATCH v3 1/2] iptables-nftables: function nft_chain_zero_counters added.

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

 



Hi Tomasz,

>> >+
>> >+            nlh = nft_chain_nlmsg_build_hdr(buf, NFT_MSG_NEWCHAIN, h->family,
>>
>> This line seems to have more than 80 characters.
>>
>> There is a script in linux kernel sources that might help you before
>> sending any patches: scripts/checkpatch.pl
>> Run it against your patches, it will tell you about such style
>> issues. At least at the beginning, at some point code style becomes
>> a reflex.
>>

I runned checkscript.pl with my patch, but i don't get any style issues.
This is the output:

./scripts/checkpatch.pl --file /home/giuseppe/nft_chain_zero_counters.patch
/home/giuseppe/nft_chain_zero_counters.patch:83: ERROR: trailing whitespace
/home/giuseppe/nft_chain_zero_counters.patch:92: ERROR: trailing whitespace
total: 2 errors, 0 warnings, 141 lines checked
--
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