Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1618386
| From | Pablo Neira Ayuso <pablo@netfilter.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Outreachy kernel] [PATCH] net: netfilter: Remove typedef from "typedef struct bitstr_t". |
| Date | 2017-04-07 01:00 +0200 |
| Message-ID | <ttoxI-76X-9@gated-at.bofh.it> (permalink) |
| References | <tq42u-3c8-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@gmail.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!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: netfilter: Remove typedef from "typedef struct bitstr_t". Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-28 20:30 +0200 Re: [Outreachy kernel] [PATCH] net: netfilter: Remove typedef from "typedef struct bitstr_t". Pablo Neira Ayuso <pablo@netfilter.org> - 2017-04-07 01:00 +0200
csiph-web