All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chaehyun Lim <chaehyun.lim@gmail.com>
To: gregkh@linuxfoundation.org
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,
	Chaehyun Lim <chaehyun.lim@gmail.com>
Subject: [PATCH 03/10] staging: wilc1000: replace u8 with int.
Date: Wed, 28 Oct 2015 08:19:21 +0900	[thread overview]
Message-ID: <1445987968-18974-3-git-send-email-chaehyun.lim@gmail.com> (raw)
In-Reply-To: <1445987968-18974-1-git-send-email-chaehyun.lim@gmail.com>

This patch changes data type of variable i from u8 to int.
It is used as index of an array to print its content. It's better
to use as data type of int.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index e0a4cf3..9a57d31a 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3200,7 +3200,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
 {
 	int result = 0;
 	struct host_if_msg msg;
-	u8 i;
+	int i;
 
 	if (!hif_drv) {
 		PRINT_ER("driver is null\n");
-- 
2.6.1


  parent reply	other threads:[~2015-10-27 23:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27 23:19 [PATCH 01/10] staging: wilc1000: fix return type of host_int_add_wep_key_bss_ap Chaehyun Lim
2015-10-27 23:19 ` [PATCH 02/10] staging: wilc1000: fix parameter name of function declaration Chaehyun Lim
2015-10-27 23:19 ` Chaehyun Lim [this message]
2015-10-27 23:19 ` [PATCH 04/10] staging: wilc1000: rename pu8WepKey in host_int_add_wep_key_bss_ap Chaehyun Lim
2015-10-27 23:19 ` [PATCH 05/10] staging: wilc1000: rename u8WepKeylen " Chaehyun Lim
2015-10-27 23:19 ` [PATCH 06/10] staging: wilc1000: rename u8Keyidx " Chaehyun Lim
2015-10-27 23:19 ` [PATCH 07/10] staging: wilc1000: rename u8mode " Chaehyun Lim
2015-10-27 23:19 ` [PATCH 08/10] staging: wilc1000: rename tenuAuth_type " Chaehyun Lim
2015-10-27 23:19 ` [PATCH 09/10] staging: wilc1000: replace kmalloc/memcpy with kmemdup Chaehyun Lim
2015-10-27 23:19 ` [PATCH 10/10] staging: wilc1000: fix line over 80 characters 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=1445987968-18974-3-git-send-email-chaehyun.lim@gmail.com \
    --to=chaehyun.lim@gmail.com \
    --cc=chris.park@atmel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=glen.lee@atmel.com \
    --cc=gregkh@linuxfoundation.org \
    --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 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.