All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [PATCH] Staging: rtl8723bs: Remove typedef in struct _Dynamic_Primary_CCA
Date: Tue, 2 Apr 2019 07:50:53 +0200	[thread overview]
Message-ID: <20190402055053.GC14075@kroah.com> (raw)
In-Reply-To: <20190401221854.29465-1-madhumithabiw@gmail.com>

On Mon, Apr 01, 2019 at 05:18:54PM -0500, Madhumitha Prabakaran wrote:
> Remove typedef in struct _Dynamic_Primary_CCA, as a struct that has
> elements that can reasonably be directly accessed should never be a
> typedef.
> 
> Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
> ---
>  drivers/staging/rtl8723bs/hal/odm.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h
> index 23ab160ac2c8..af68658233e3 100644
> --- a/drivers/staging/rtl8723bs/hal/odm.h
> +++ b/drivers/staging/rtl8723bs/hal/odm.h
> @@ -82,7 +82,7 @@
>  
>  /* Remove DIG by yuchen */
>  
> -typedef struct _Dynamic_Primary_CCA {
> +struct _Dynamic_Primary_CCA {

While this is a good thing, can you also name this to be a sane name at
the same time?  No need to have to write two patches for this.

thanks,

greg k-h


      reply	other threads:[~2019-04-02  5:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01 22:18 [PATCH] Staging: rtl8723bs: Remove typedef in struct _Dynamic_Primary_CCA Madhumitha Prabakaran
2019-04-02  5:50 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190402055053.GC14075@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=madhumithabiw@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.