summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zydas
diff options
context:
space:
mode:
authorKalle Valo <kvalo@kernel.org>2024-01-30 16:15:53 +0100
committerKalle Valo <kvalo@kernel.org>2024-02-05 19:16:28 +0100
commit2b59c9c30b9cbbb9807abcb2eca0a45ce40611df (patch)
treeff352ce7a0b361b4a69398e4e7da76ad4e9fc384 /drivers/net/wireless/zydas
parentwifi: rtl8xxxu: Add TP-Link TL-WN823N V2 (diff)
downloadlinux-2b59c9c30b9cbbb9807abcb2eca0a45ce40611df.tar.xz
linux-2b59c9c30b9cbbb9807abcb2eca0a45ce40611df.zip
wifi: zd1211rw: remove __nocast from zd_addr_t
Sparse warns: drivers/net/wireless/zydas/zd1211rw/zd_usb.c:383:24: warning: implicit cast from nocast type drivers/net/wireless/zydas/zd1211rw/zd_usb.c:419:24: warning: implicit cast from nocast type This is an ancient driver which has not have any meaningfuli changes for a long time and hopefully removed soon. So just remove the __nocast to get rid of the sparse warnings. Compile tested only. Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240130151556.2315951-2-kvalo@kernel.org
Diffstat (limited to 'drivers/net/wireless/zydas')
-rw-r--r--drivers/net/wireless/zydas/zd1211rw/zd_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_def.h b/drivers/net/wireless/zydas/zd1211rw/zd_def.h
index 8ca2d0aab170..2f55e8deee82 100644
--- a/drivers/net/wireless/zydas/zd1211rw/zd_def.h
+++ b/drivers/net/wireless/zydas/zd1211rw/zd_def.h
@@ -12,7 +12,7 @@
#include <linux/stringify.h>
#include <linux/device.h>
-typedef u16 __nocast zd_addr_t;
+typedef u16 zd_addr_t;
#define dev_printk_f(level, dev, fmt, args...) \
dev_printk(level, dev, "%s() " fmt, __func__, ##args)