All of lore.kernel.org
 help / color / mirror / Atom feed
From: Janusz Lisiecki <janusz.lisiecki@gmail.com>
To: Wolfram Sang <wsa@the-dreams.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Linux Driver Project Developer List
	<driverdev-devel@linuxdriverproject.org>,
	Janusz Lisiecki <janusz.lisiecki@gmail.com>
Subject: [PATCH v2 7/8] staging: ks7010: avoid CamelCase: reqIEs_size and respIEs_size
Date: Fri, 12 May 2017 15:42:42 +0200	[thread overview]
Message-ID: <1494596563-2518-8-git-send-email-janusz.lisiecki@gmail.com> (raw)
In-Reply-To: <1494596563-2518-1-git-send-email-janusz.lisiecki@gmail.com>

Replace CamelCase association_request_t and association_response_t
struct field names with underscores to comply with the standard kernel
coding style.

Signed-off-by: Janusz Lisiecki <janusz.lisiecki@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 10 +++++-----
 drivers/staging/ks7010/ks_hostif.h |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 6a55814..0f9a798 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -948,18 +948,18 @@ void hostif_associate_indication(struct ks_wlan_private *priv)
 	wrqu.data.length += sizeof(associnfo_leader0) - 1;
 	pbuf += sizeof(associnfo_leader0) - 1;
 
-	for (i = 0; i < assoc_req->reqIEs_size; i++)
+	for (i = 0; i < assoc_req->req_ies_size; i++)
 		pbuf += sprintf(pbuf, "%02x", *(pb + i));
-	wrqu.data.length += (assoc_req->reqIEs_size) * 2;
+	wrqu.data.length += (assoc_req->req_ies_size) * 2;
 
 	memcpy(pbuf, associnfo_leader1, sizeof(associnfo_leader1) - 1);
 	wrqu.data.length += sizeof(associnfo_leader1) - 1;
 	pbuf += sizeof(associnfo_leader1) - 1;
 
-	pb += assoc_req->reqIEs_size;
-	for (i = 0; i < assoc_resp->respIEs_size; i++)
+	pb += assoc_req->req_ies_size;
+	for (i = 0; i < assoc_resp->resp_ies_size; i++)
 		pbuf += sprintf(pbuf, "%02x", *(pb + i));
-	wrqu.data.length += (assoc_resp->respIEs_size) * 2;
+	wrqu.data.length += (assoc_resp->resp_ies_size) * 2;
 
 	pbuf += sprintf(pbuf, ")");
 	wrqu.data.length += 1;
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 72f36db..d93fff6 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -481,7 +481,7 @@ struct association_request_t {
 	u16 capability;
 	u16 listen_interval;
 	u8 ap_address[6];
-	u16 reqIEs_size;
+	u16 req_ies_size;
 } __packed;
 
 struct association_response_t {
@@ -492,14 +492,14 @@ struct association_response_t {
 	u16 capability;
 	u16 status;
 	u16 association_id;
-	u16 respIEs_size;
+	u16 resp_ies_size;
 } __packed;
 
 struct hostif_associate_indication_t {
 	struct hostif_hdr header;
 	struct association_request_t assoc_req;
 	struct association_response_t assoc_resp;
-	/* followed by (reqIEs_size + respIEs_size) octets of data */
+	/* followed by (req_ies_size + resp_ies_size) octets of data */
 	/* reqIEs data *//* respIEs data */
 } __packed;
 
-- 
1.9.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2017-05-12 13:42 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-29 20:58 [PATCH 0/8] Avoid CamelCases in ks7010 driver Janusz Lisiecki
2017-04-29 20:58 ` [PATCH 1/8] staging: ks7010: avoid CamelCase in fields of struct local_gain_t Janusz Lisiecki
2017-05-07  3:37   ` Greg Kroah-Hartman
2017-05-12 13:46     ` Janusz Lisiecki
2017-05-07  7:03   ` [PATCH v2 1/8] staging: ks7010: avoid CamelCase: receiveDTIMs Janusz Lisiecki
2017-05-12  9:10     ` Greg Kroah-Hartman
2017-04-29 20:58 ` [PATCH 2/8] " Janusz Lisiecki
2017-04-29 20:58 ` [PATCH 3/8] staging: ks7010: avoid CamelCase: FhParms_t fields Janusz Lisiecki
2017-04-29 20:58 ` [PATCH 4/8] staging: ks7010: avoid CamelCase: link_ap_info_t fields Janusz Lisiecki
2017-04-30  8:59   ` Tobin C. Harding
2017-04-29 20:58 ` [PATCH 5/8] staging: ks7010: avoid CamelCase: CfParms_t fields Janusz Lisiecki
2017-04-29 20:58 ` [PATCH 6/8] staging: ks7010: avoid CamelCase: atimWindow Janusz Lisiecki
2017-04-29 20:58 ` [PATCH 7/8] staging: ks7010: avoid CamelCase: reqIEs_size and respIEs_size Janusz Lisiecki
2017-04-29 20:58 ` [PATCH 8/8] staging: ks7010: avoid CamelCase: local variables in ks_hostif.c Janusz Lisiecki
2017-05-07  7:07   ` [PATCH v2 " Janusz Lisiecki
2017-04-30  9:01 ` [PATCH 0/8] Avoid CamelCases in ks7010 driver Tobin C. Harding
2017-05-12 13:42 ` [PATCH v2 " Janusz Lisiecki
2017-05-12 13:42   ` [PATCH v2 1/8] staging: ks7010: avoid CamelCase in fields of struct local_gain_t Janusz Lisiecki
2017-05-15 10:03     ` Greg Kroah-Hartman
2017-05-12 13:42   ` [PATCH v2 2/8] staging: ks7010: avoid CamelCase: receiveDTIMs Janusz Lisiecki
2017-05-12 13:42   ` [PATCH v2 3/8] staging: ks7010: avoid CamelCase: FhParms_t fields Janusz Lisiecki
2017-05-12 13:42   ` [PATCH v2 4/8] staging: ks7010: avoid CamelCase: link_ap_info_t fields Janusz Lisiecki
2017-05-12 13:42   ` [PATCH v2 5/8] staging: ks7010: avoid CamelCase: CfParms_t fields Janusz Lisiecki
2017-05-12 13:42   ` [PATCH v2 6/8] staging: ks7010: avoid CamelCase: atimWindow Janusz Lisiecki
2017-05-12 13:42   ` Janusz Lisiecki [this message]
2017-05-12 13:42   ` [PATCH v2 8/8] staging: ks7010: avoid CamelCase: local variables in ks_hostif.c Janusz Lisiecki
2017-05-15 18:55   ` [PATCH v3 0/2] Avoid CamelCases in ks7010 driver Janusz Lisiecki
2017-05-15 18:55     ` [PATCH v3 1/2] staging: ks7010: avoid CamelCase: receiveDTIMs Janusz Lisiecki
2017-05-16 11:53       ` Greg Kroah-Hartman
2017-05-15 18:55     ` [PATCH v3 2/2] staging: ks7010: avoid CamelCase: local variables in ks_hostif.c Janusz Lisiecki
2017-05-16 15:29     ` [PATCH v4 0/1] Avoid CamelCases in ks7010 driver Janusz Lisiecki
2017-05-16 15:29       ` [PATCH v4 1/1] staging: ks7010: avoid CamelCase: receiveDTIMs Janusz Lisiecki
2017-05-16 15:34       ` [PATCH v5 0/1] Avoid CamelCases in ks7010 driver Janusz Lisiecki
2017-05-16 15:34         ` [PATCH v5 1/1] staging: ks7010: avoid CamelCase: receiveDTIMs Janusz Lisiecki

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=1494596563-2518-8-git-send-email-janusz.lisiecki@gmail.com \
    --to=janusz.lisiecki@gmail.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=wsa@the-dreams.de \
    /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.