[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170406225206.GA2714@salvia>
Date: Fri, 7 Apr 2017 00:52:06 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Arushi Singhal <arushisinghal19971997@...il.com>
Cc: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>, davem@...emloft.net,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
outreachy-kernel@...glegroups.com
Subject: Re: [Outreachy kernel] [PATCH] net: netfilter: Remove typedef from
"typedef struct bitstr_t".
On Tue, Mar 28, 2017 at 11:54:13PM +0530, Arushi Singhal wrote:
> This patch removes typedefs from struct and renames it from "typedef struct
> bitstr_t" to "struct bitstr" as per kernel coding standards."
>
> Signed-off-by: Arushi Singhal <arushisinghal19971997@...il.com>
> ---
> net/netfilter/nf_conntrack_h323_asn1.c | 80 +++++++++++++++++-----------------
> 1 file changed, 40 insertions(+), 40 deletions(-)
>
> diff --git a/net/netfilter/nf_conntrack_h323_asn1.c b/net/netfilter/nf_conntrack_h323_asn1.c
> index fb8cf238a76f..4502c0d6071d 100644
> --- a/net/netfilter/nf_conntrack_h323_asn1.c
> +++ b/net/netfilter/nf_conntrack_h323_asn1.c
> @@ -91,41 +91,41 @@ struct field {
> };
>
> /* Bit Stream */
> -typedef struct {
> +struct bitstr {
Same thing here, I'd suggest you use 'struct h323_bitstr' instead.
Thanks!
Powered by blists - more mailing lists