[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170406162654.GA5777@salvia>
Date: Thu, 6 Apr 2017 18:26:54 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Arushi Singhal <arushisinghal19971997@...il.com>
Cc: kadlec@...ckhole.kfki.hu, davem@...emloft.net,
outreachy-kernel@...glegroups.com, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, gregkh@...uxfoundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] net: netfilter: Remove typedef from "typedef struct
field_t"
On Sat, Mar 25, 2017 at 05:57:55PM +0530, Arushi Singhal wrote:
> This patch removes typedefs from struct and renames it from "typedef struct
> field_t" to "struct field" as per kernel coding standards."
>
> Signed-off-by: Arushi Singhal <arushisinghal19971997@...il.com>
> ---
> net/netfilter/nf_conntrack_h323_asn1.c | 68 +++++++++++++++++-----------------
> 1 file changed, 34 insertions(+), 34 deletions(-)
>
> diff --git a/net/netfilter/nf_conntrack_h323_asn1.c b/net/netfilter/nf_conntrack_h323_asn1.c
> index 89b2e46925c4..fb8cf238a76f 100644
> --- a/net/netfilter/nf_conntrack_h323_asn1.c
> +++ b/net/netfilter/nf_conntrack_h323_asn1.c
> @@ -77,7 +77,7 @@
>
>
> /* ASN.1 Field Structure */
> -typedef struct field_t {
> +struct field {
Probably better if you rename this to 'struct h323_field' to make sure
compilation doesn't break due to structure name pollution. And we also
got a report from kbuild robot that would be good to investigate.
Powered by blists - more mailing lists