wifi: zd1211rw: silence sparse warnings
authorJohannes Berg <johannes.berg@intel.com>
Fri, 23 Feb 2024 10:40:27 +0000 (11:40 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 28 Feb 2024 11:37:23 +0000 (13:37 +0200)
commit5a391813e7ef5f12a55e3266a6832732916c7c10
tree9673506574de72a32d972dda71b152d3c925c581
parente06324303662fc23bb91e4e9d86650fb8c6d8398
wifi: zd1211rw: silence sparse warnings

This code wants to compare the obtained value, but as it also
has a special type for register addresses to find places doing
such compares and calculations wrong, we need explicit casts
here to silence sparse.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240223114023.976fcd59e97a.I0bba4ef7dc2847ce8ab5ec229149e1a09413b8b9@changeid
drivers/net/wireless/zydas/zd1211rw/zd_usb.c