All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
To: gregkh@linuxfoundation.org
Cc: wsa@the-dreams.de, driverdev-devel@linuxdriverproject.org
Subject: [PATCH 08/47] staging: ks7010: change local variable type in ks7010_rw_function
Date: Mon, 30 Apr 2018 15:43:53 +0200	[thread overview]
Message-ID: <1525095872-8613-9-git-send-email-sergio.paracuellos@gmail.com> (raw)
In-Reply-To: <1525095872-8613-1-git-send-email-sergio.paracuellos@gmail.com>

Local variable 'byte' in ks7010_rw_function is declared as unsigned
char and can be declared as u8 which is preferred. It is being used
in ks7010_sdio_readb which is already expecting an u8.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks7010_sdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 3574a22..dab44bb 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -477,7 +477,7 @@ static void ks7010_rw_function(struct work_struct *work)
 						    struct ks_wlan_private,
 						    rw_dwork.work);
 	struct sdio_func *func = ks7010_to_func(priv);
-	unsigned char byte;
+	u8 byte;
 	int ret;
 
 	/* wait after DOZE */
-- 
2.7.4

  parent reply	other threads:[~2018-04-30 13:43 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30 13:43 [PATCH 00/47] staging: ks7010: next cleanups Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 01/47] staging: ks7010: add SPDX identifiers to all files Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 02/47] staging: ks7010: move tx and rx queues definitions into ks_wlan.h header Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 03/47] staging: ks7010: avoid ks_sdio_card dependency in ks_wlan header Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 04/47] staging: ks7010: change netdev_dbg msg to avoid a long line Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 05/47] staging: ks7010: remove missing WPS preprocessor conditional code Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 06/47] staging: ks7010: use u8 instead of unsigned char in write_to_device function Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 07/47] staging: ks7010: change local variable type in _ks_wlan_hw_power_save Sergio Paracuellos
2018-04-30 13:43 ` Sergio Paracuellos [this message]
2018-04-30 13:43 ` [PATCH 09/47] staging: ks7010: change some local variables type in ks_sdio_interrupt Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 10/47] staging: ks7010: change local variable type in ks7010_sdio_init_irqs Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 11/47] staging: ks7010: use the same parameter for 'event' in hostif_sme_enqueue Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 12/47] staging: ks7010: refactor ks7010_sme_enqueue_events function Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 13/47] staging: ks7010: change local variable type in ks_wlan_hw_rx Sergio Paracuellos
2018-04-30 13:43 ` [PATCH 14/47] staging: ks7010: remove nonsense comment in ks_wlan.h file Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 15/47] staging: ks7010: clean SME_MIC_FAILURE_REQUEST case in hostif_sme_execute Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 16/47] staging: ks7010: convert MIB preprocessor defs into an enum Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 17/47] staging: ks7010: conver MIB attributes " Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 18/47] staging: ks7010: change some casts from uint8_t to u8 in ks_hostif header Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 19/47] staging: ks7010: change parameter types and reorder them in hostif_mib_set_request Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 20/47] staging: ks7010: add new helpers to achieve mib set request and simplify code Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 21/47] staging: ks7010: use ether_addr_copy in get_current_ap Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 22/47] staging: ks7010: move two preprocessor definitions to ks_wlan.h Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 23/47] staging: ks7010: avoid two long lines in hostif_sme_mode_setup Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 24/47] staging: ks7010: remove non sense comments in ks_hostif.c source file Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 25/47] staging: ks7010: change type for rsn_enabled in wpa_status struct Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 26/47] staging: ks7010: use ether_addr_copy to copy ethernet address sa_data Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 27/47] staging: ks7010: use ether_addr_copy in get_ap_information function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 28/47] staging: ks7010: move WLAN_EID_DS_PARAMS to different place inside switch Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 29/47] staging: ks7010: factor out send_request_to_device function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 30/47] staging: ks7010: fix some style issues in ks_hostif.c Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 31/47] staging: ks7010: add blank line between after definitions Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 32/47] staging: ks7010: refactor hostif_sme_set_rsn function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 33/47] staging: ks7010: change parameter types in hostif_power_mgmt_request Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 34/47] staging: ks7010: refactor hostif_sme_power_mgmt_set function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 35/47] staging: ks7010: use ether_addr_copy in ks_wlan_set_mac_address Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 36/47] staging: ks7010: use ether_addr_copy in ks_wlan_net_start Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 37/47] staging: ks7010: refactor ks_wlan_set_sleep_mode function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 38/47] staging: ks7010: refactor ks_wlan_set_phy_type function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 39/47] staging: ks7010: refactor ks_wlan_set_mlme function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 40/47] staging: ks7010: refactor ks_get_wireless_stats function Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 41/47] staging: ks7010: use CIRC_CNT_TO_END macro in cnt_smeqbody Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 42/47] staging: ks7010: refactor LOCAL_EEPROM_SUM case in hostif_mib_get_confirm Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 43/47] staging: ks7010: use u16 instead of unsigned short in hostif_event_check Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 44/47] staging: ks7010: use u16 instead of unsigned short in hostif_data_indication Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 45/47] staging: ks7010: use u16 instead of unsigned short in hostif_connect_indication Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 46/47] staging: ks7010: use u32 instead of unsigned int in hostif_bss_scan_confirm Sergio Paracuellos
2018-04-30 13:44 ` [PATCH 47/47] staging: ks7010: review local variable types in hostif_phy_information_confirm Sergio Paracuellos

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=1525095872-8613-9-git-send-email-sergio.paracuellos@gmail.com \
    --to=sergio.paracuellos@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.