summaryrefslogtreecommitdiff
path: root/drivers/staging/ks7010
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-05-04 07:16:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-07 04:58:41 +0300
commit677e281d532024a8621de8d8c854d694ef5e5921 (patch)
treec4dc0ce8618c40f845aa86e3aa9dbc49a20db802 /drivers/staging/ks7010
parentab0bb2a4035e7baa5dbfc2fefc7b556ce54f6046 (diff)
downloadlinux-677e281d532024a8621de8d8c854d694ef5e5921.tar.xz
staging: ks7010: use u32 instead of unsigned int in hostif_bss_scan_confirm
Local variable 'result_code' is declared as unsigned int in hostif_bss_scan_confirm function. Its value is got calling get_dword which returns an 'u32' so change its type to u32 which is preferred Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010')
-rw-r--r--drivers/staging/ks7010/ks_hostif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index fde5b6ee7ed5..cf33a1cccc16 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -845,7 +845,7 @@ void hostif_associate_indication(struct ks_wlan_private *priv)
static
void hostif_bss_scan_confirm(struct ks_wlan_private *priv)
{
- unsigned int result_code;
+ u32 result_code;
struct net_device *dev = priv->net_dev;
union iwreq_data wrqu;