All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juliana Rodrigues <juliana.orod@gmail.com>
To: outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org
Subject: [PATCH v2 04/13] staging: wlan-ng: renames hfa384x_CommTallies32 to avoid camelcase
Date: Sat, 8 Oct 2016 06:47:21 -0300	[thread overview]
Message-ID: <20161008094721.GA12831@spock> (raw)
In-Reply-To: <cover.1475919731.git.juliana.orod@gmail.com>

Fixes a checkpatch warning by renaming the camelcased struct
hfa384x_CommTallies32 to hfa384x_comm_tallies_32.

Signed-off-by: Juliana Rodrigues <juliana.orod@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h   | 6 +++---
 drivers/staging/wlan-ng/prism2sta.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 7577f2b..e4105e1 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -634,7 +634,7 @@ struct hfa384x_CommTallies16 {
 	u16 rxmsginbadmsgfrag;
 } __packed;
 
-struct hfa384x_CommTallies32 {
+struct hfa384x_comm_tallies_32 {
 	u32 txunicastframes;
 	u32 txmulticastframes;
 	u32 txfragments;
@@ -763,7 +763,7 @@ struct hfa384x_KeyIDChanged {
 /*--  Collection of all Inf frames ---------------*/
 union hfa384x_infodata {
 	struct hfa384x_CommTallies16 commtallies16;
-	struct hfa384x_CommTallies32 commtallies32;
+	struct hfa384x_comm_tallies_32 commtallies32;
 	struct hfa384x_ScanResult scanresult;
 	struct hfa384x_ChInfoResult chinforesult;
 	struct hfa384x_HScanResult hscanresult;
@@ -1360,7 +1360,7 @@ struct hfa384x {
 	struct hfa384x_caplevel cap_act_ap_mfi;	/* ap f/w to modem interface */
 
 	u32 psusercount;	/* Power save user count. */
-	struct hfa384x_CommTallies32 tallies;	/* Communication tallies. */
+	struct hfa384x_comm_tallies_32 tallies;	/* Communication tallies. */
 	u8 comment[WLAN_COMMENT_MAX + 1];	/* User comment */
 
 	/* Channel Info request results (AP only) */
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index 2641641..73dd344 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1001,7 +1001,7 @@ static void prism2sta_inf_tallies(struct wlandevice *wlandev,
 	 * record length of the info record.
 	 */
 
-	cnt = sizeof(struct hfa384x_CommTallies32) / sizeof(u32);
+	cnt = sizeof(struct hfa384x_comm_tallies_32) / sizeof(u32);
 	if (inf->framelen > 22) {
 		dst = (u32 *)&hw->tallies;
 		src32 = (u32 *)&inf->info.commtallies32;
-- 
2.10.0



  parent reply	other threads:[~2016-10-08  9:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1475919731.git.juliana.orod@gmail.com>
2016-10-08  9:46 ` [PATCH v2 01/13] staging: wlan-ng: aligned block to open parenthesis Juliana Rodrigues
2016-10-08  9:46 ` [PATCH v2 02/13] staging: wlan-ng: fixed lines over 80 characters Juliana Rodrigues
2016-10-08  9:47 ` [PATCH v2 03/13] staging: wlan-ng: renames hfa384x_InfFrame to avoid camelcase Juliana Rodrigues
2016-10-08  9:47 ` Juliana Rodrigues [this message]
2016-10-08  9:47 ` [PATCH v2 05/13] staging: wlan-ng: renames hfa384x_ScanResult " Juliana Rodrigues
2016-10-08  9:47 ` [PATCH v2 06/13] staging: wlan-ng: renames hfa384x_JoinRequest_data " Juliana Rodrigues
2016-10-08  9:48 ` [PATCH v2 07/13] staging: wlan-ng: renames hfa384x_scanResultSub " Juliana Rodrigues
2016-10-08  9:48 ` [PATCH v2 08/13] staging: wlan-ng: renames hfa384x_ChInfoResultSub " Juliana Rodrigues
2016-10-08  9:48 ` [PATCH v2 09/13] staging: wlan-ng: renames hfa384x_AssocStatus " Juliana Rodrigues
2016-10-08  9:49 ` [PATCH v2 10/13] staging: wlan-ng: renames hfa384x_authenticateStation_data " Juliana Rodrigues
2016-10-08  9:49 ` [PATCH v2 11/13] staging: wlan-ng: renames CQ_currBSS " Juliana Rodrigues
2016-10-08  9:49 ` [PATCH v2 12/13] staging: wlan-ng: renames ASL_currBSS " Juliana Rodrigues
2016-10-08  9:49 ` [PATCH v2 13/13] staging: wlan-ng: renames ANL_currFC " Juliana Rodrigues

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=20161008094721.GA12831@spock \
    --to=juliana.orod@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --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.