linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Chaehyun Lim <chaehyun.lim@gmail.com>
Cc: johnny.kim@atmel.com, rachel.kim@atmel.com, chris.park@atmel.com,
	tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com,
	linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org
Subject: Re: [PATCH V3 29/31] staging: wilc1000: rename WILC_WFI_frame_register
Date: Sun, 13 Sep 2015 21:52:14 -0700	[thread overview]
Message-ID: <20150914045214.GA24383@kroah.com> (raw)
In-Reply-To: <1442201071-16155-29-git-send-email-chaehyun.lim@gmail.com>

On Mon, Sep 14, 2015 at 12:24:29PM +0900, Chaehyun Lim wrote:
> This patch replaces WILC_WFI_frame_register with mgmt_frame_register to
> avoid CamelCase.
> 
> Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
> ---
> V3: remove "wilc_" prefix
> 
>  drivers/staging/wilc1000/linux_wlan.c             | 12 ++++++------
>  drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +++++-----
>  2 files changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
> index 63f44f8..5576e1c 100644
> --- a/drivers/staging/wilc1000/linux_wlan.c
> +++ b/drivers/staging/wilc1000/linux_wlan.c
> @@ -1618,8 +1618,8 @@ int mac_init_fn(struct net_device *ndev)
>  	return 0;
>  }
>  
> -void    WILC_WFI_frame_register(struct wiphy *wiphy, struct net_device *dev,
> -				u16 frame_type, bool reg);
> +void mgmt_frame_register(struct wiphy *wiphy, struct net_device *dev,
> +			 u16 frame_type, bool reg);

This should be in a .h file, as it's a global variable.

And because it's global, it needs to keep a wilc_ prefix, right?

thanks,

greg k-h

  reply	other threads:[~2015-09-14  4:52 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14  3:24 [PATCH V3 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 02/31] staging: wilc1000: rename WILC_WFI_CfgScan Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 03/31] staging: wilc1000: rename WILC_WFI_CfgConnect Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 04/31] staging: wilc1000: rename WILC_WFI_disconnect Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 05/31] staging: wilc1000: rename WILC_WFI_add_key Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 06/31] staging: wilc1000: rename WILC_WFI_del_key Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 07/31] staging: wilc1000: rename WILC_WFI_get_key Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 08/31] staging: wilc1000: rename WILC_WFI_set_default_key Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 09/31] staging: wilc1000: rename WILC_WFI_add_virt_intf Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 10/31] staging: wilc1000: rename WILC_WFI_del_virt_intf Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 11/31] staging: wilc1000: rename WILC_WFI_change_virt_intf Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 12/31] staging: wilc1000: rename WILC_WFI_start_ap Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 13/31] staging: wilc1000: rename WILC_WFI_change_beacon Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 14/31] staging: wilc1000: rename WILC_WFI_stop_ap Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 15/31] staging: wilc1000: rename WILC_WFI_add_station Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 16/31] staging: wilc1000: rename WILC_WFI_del_station Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 17/31] staging: wilc1000: rename WILC_WFI_change_station Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 18/31] staging: wilc1000: rename WILC_WFI_get_station Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 19/31] staging: wilc1000: rename WILC_WFI_dump_station Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 20/31] staging: wilc1000: rename WILC_WFI_change_bss Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 21/31] staging: wilc1000: rename WILC_WFI_set_wiphy_params Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 22/31] staging: wilc1000: rename WILC_WFI_set_pmksa Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 23/31] staging: wilc1000: rename WILC_WFI_del_pmksa Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 24/31] staging: wilc1000: rename WILC_WFI_flush_pmksa Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 25/31] staging: wilc1000: rename WILC_WFI_remain_on_channel Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 26/31] staging: wilc1000: rename WILC_WFI_cancel_remain_on_channel Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 27/31] staging: wilc1000: rename WILC_WFI_mgmt_tx_cancel_wait Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 28/31] staging: wilc1000: rename WILC_WFI_mgmt_tx Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 29/31] staging: wilc1000: rename WILC_WFI_frame_register Chaehyun Lim
2015-09-14  4:52   ` Greg KH [this message]
2015-09-14  3:24 ` [PATCH V3 30/31] staging: wilc1000: rename WILC_WFI_set_power_mgmt Chaehyun Lim
2015-09-14  3:24 ` [PATCH V3 31/31] staging: wilc1000: rename WILC_WFI_set_cqm_rssi_config Chaehyun Lim

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=20150914045214.GA24383@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=chaehyun.lim@gmail.com \
    --cc=chris.park@atmel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=glen.lee@atmel.com \
    --cc=johnny.kim@atmel.com \
    --cc=leo.kim@atmel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rachel.kim@atmel.com \
    --cc=tony.cho@atmel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).