Hi Gustavo, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git 6.1-rc1-Wcast-function-type-strict head: 72608236b640b516c8dec0d0332aa1c6254ecbaa commit: 72608236b640b516c8dec0d0332aa1c6254ecbaa [6/6] staging: ks7010: Avoid clashing function prototypes config: arm-randconfig-r013-20221024 (attached as .config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/commit/?id=72608236b640b516c8dec0d0332aa1c6254ecbaa git remote add gustavoars https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git git fetch --no-tags gustavoars 6.1-rc1-Wcast-function-type-strict git checkout 72608236b640b516c8dec0d0332aa1c6254ecbaa # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/staging/ks7010/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/staging/ks7010/ks_wlan_net.c:1802:45: error: incompatible pointer types passing '__u32 *' (aka 'unsigned int *') to parameter of type 'union iwreq_data *' [-Werror,-Wincompatible-pointer-types] return ks_wlan_set_stop_request(dev, NULL, &mode, NULL); ^~~~~ drivers/staging/ks7010/ks_wlan_net.c:1767:27: note: passing argument to parameter 'uwrq' here union iwreq_data *uwrq, char *extra) ^ drivers/staging/ks7010/ks_wlan_net.c:2466:45: error: incompatible pointer types passing '__u32 *' (aka 'unsigned int *') to parameter of type 'union iwreq_data *' [-Werror,-Wincompatible-pointer-types] ret = ks_wlan_set_stop_request(dev, NULL, &wrq->u.mode, NULL); ^~~~~~~~~~~~ drivers/staging/ks7010/ks_wlan_net.c:1767:27: note: passing argument to parameter 'uwrq' here union iwreq_data *uwrq, char *extra) ^ 2 errors generated. vim +1802 drivers/staging/ks7010/ks_wlan_net.c 13a9930d15b424 Wolfram Sang 2016-05-31 1781 13a9930d15b424 Wolfram Sang 2016-05-31 1782 #include 1df655478eeb90 Wolfram Sang 2016-05-31 1783 static int ks_wlan_set_mlme(struct net_device *dev, 18e76e23740a4f Sergio Paracuellos 2018-04-23 1784 struct iw_request_info *info, 18e76e23740a4f Sergio Paracuellos 2018-04-23 1785 union iwreq_data *dwrq, char *extra) 13a9930d15b424 Wolfram Sang 2016-05-31 1786 { 2b0d92b265324c Tobin C. Harding 2017-04-27 1787 struct ks_wlan_private *priv = netdev_priv(dev); 13a9930d15b424 Wolfram Sang 2016-05-31 1788 struct iw_mlme *mlme = (struct iw_mlme *)extra; 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1789 __u32 mode = 1; 13a9930d15b424 Wolfram Sang 2016-05-31 1790 e0d648151d00fe Yamanappagouda Patil 2016-11-24 1791 if (priv->sleep_mode == SLP_SLEEP) 1df655478eeb90 Wolfram Sang 2016-05-31 1792 return -EPERM; e0d648151d00fe Yamanappagouda Patil 2016-11-24 1793 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1794 if (mlme->cmd != IW_MLME_DEAUTH && 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1795 mlme->cmd != IW_MLME_DISASSOC) 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1796 return -EOPNOTSUPP; 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1797 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1798 if (mlme->cmd == IW_MLME_DEAUTH && 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1799 mlme->reason_code == WLAN_REASON_MIC_FAILURE) 13a9930d15b424 Wolfram Sang 2016-05-31 1800 return 0; 2d1de1e3186d13 Sergio Paracuellos 2018-05-04 1801 13a9930d15b424 Wolfram Sang 2016-05-31 @1802 return ks_wlan_set_stop_request(dev, NULL, &mode, NULL); 13a9930d15b424 Wolfram Sang 2016-05-31 1803 } 13a9930d15b424 Wolfram Sang 2016-05-31 1804 :::::: The code at line 1802 was first introduced by commit :::::: 13a9930d15b424ab7d3b906af8ba7ff8c409edfe staging: ks7010: add driver from Nanonote extra-repository :::::: TO: Wolfram Sang :::::: CC: Greg Kroah-Hartman -- 0-DAY CI Kernel Test Service https://01.org/lkp