aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wfx/hif_tx_mib.h
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2019-11-11 13:30:53 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-11 15:56:51 +0100
commit5cd382b2693358be99b9ae1c524854f5715b5dc2 (patch)
tree4b4d39df45197dde28ac741173bb68f25632674d /drivers/staging/wfx/hif_tx_mib.h
parentMerge 5.4-rc7 into staging-next (diff)
downloadlinux-dev-5cd382b2693358be99b9ae1c524854f5715b5dc2.tar.xz
linux-dev-5cd382b2693358be99b9ae1c524854f5715b5dc2.zip
staging: wfx: replace uintXX_t to uXX and intXX_t to sXX
Replace uint8_t to u8, uint16_t to u16, uint32_t to u32 int8_t to s8,int16_t to s16 and int32_t to s32 As per recommendation of checkpatch tool. Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Link: https://lore.kernel.org/r/20191111133055.214410-1-jbi.octave@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/hif_tx_mib.h')
-rw-r--r--drivers/staging/wfx/hif_tx_mib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wfx/hif_tx_mib.h b/drivers/staging/wfx/hif_tx_mib.h
index 3339ad95f732..d1cabd697205 100644
--- a/drivers/staging/wfx/hif_tx_mib.h
+++ b/drivers/staging/wfx/hif_tx_mib.h
@@ -145,7 +145,7 @@ static inline int hif_set_mfp(struct wfx_vif *wvif, bool capable, bool required)
}
if (!required)
val.unpmf_allowed = 1;
- cpu_to_le32s((uint32_t *) &val);
+ cpu_to_le32s((u32 *) &val);
return hif_write_mib(wvif->wdev, wvif->id,
HIF_MIB_ID_PROTECTED_MGMT_POLICY,
&val, sizeof(val));