diff mbox series

[4/5] wilc1000: use 'u64' datatype for cookie variable

Message ID 20220504161924.2146601-4-ajay.kathat@microchip.com (mailing list archive)
State Accepted
Commit 819b161b9487870d1d1a76171b6820c6b977d99a
Delegated to: Kalle Valo
Headers show
Series [1/5] wilc1000: increase firmware version array size | expand

Commit Message

Ajay Singh May 4, 2022, 4:19 p.m. UTC
From: Ajay Singh <ajay.kathat@microchip.com>

Use 'u64' instead of 'u32' for the cookie variable as expected by cfg80211
callback function argument.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
---
 drivers/net/wireless/microchip/wilc1000/hif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/microchip/wilc1000/hif.h b/drivers/net/wireless/microchip/wilc1000/hif.h
index cccd54ed0518..77616fc77575 100644
--- a/drivers/net/wireless/microchip/wilc1000/hif.h
+++ b/drivers/net/wireless/microchip/wilc1000/hif.h
@@ -123,7 +123,7 @@  struct wilc_remain_ch {
 	u32 duration;
 	void (*expired)(void *priv, u64 cookie);
 	void *arg;
-	u32 cookie;
+	u64 cookie;
 };
 
 struct wilc;