iwlwifi: mei: avoid -Wpointer-arith and -Wcast-qual warnings
authorJohannes Berg <johannes.berg@intel.com>
Sun, 30 Jan 2022 09:53:05 +0000 (11:53 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:52 +0000 (10:40 +0200)
commita31ec5fac1674c00d388f09c7097e73266721efd
treee51699e033040b446add0de0c1c5d1259f6e35d5
parent1af8552bb929e21c6f5f885128eb22d9616c87a6
iwlwifi: mei: avoid -Wpointer-arith and -Wcast-qual warnings

These cause extra warnings (at least with W=3), avoid them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220130115024.59d00c6e5f09.I331bf18af0b80b5cc41b379ff0cc1b26a89dd915@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mei/main.c
drivers/net/wireless/intel/iwlwifi/mei/net.c