On Tue, Oct 03, 2023 at 01:53:34PM +0800, kernel test robot wrote: > Hi Nathan, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on ce9ecca0238b140b88f43859b211c9fdfd8e5b70] > > url: https://github.com/intel-lab-lkp/linux/commits/Nathan-Chancellor/kbuild-Enable-Wincompatible-function-pointer-types-strict-in-W-1/20231003-062107 > base: ce9ecca0238b140b88f43859b211c9fdfd8e5b70 > patch link: https://lore.kernel.org/r/20231002-enable-wincompatible-function-pointer-types-strict-w-1-v1-1-808ab955d42d%40kernel.org > patch subject: [PATCH] kbuild: Enable -Wincompatible-function-pointer-types-strict in W=1 > config: um-allnoconfig (https://download.01.org/0day-ci/archive/20231003/202310031340.v1vPh207-lkp@xxxxxxxxx/config) > compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231003/202310031340.v1vPh207-lkp@xxxxxxxxx/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > | Closes: https://lore.kernel.org/oe-kbuild-all/202310031340.v1vPh207-lkp@xxxxxxxxx/ > > All warnings (new ones prefixed by >>): ... > >> arch/um/drivers/net_kern.c:353:21: warning: incompatible function pointer types initializing 'netdev_tx_t (*)(struct sk_buff *, struct net_device *)' (aka 'enum netdev_tx (*)(struct sk_buff *, struct net_device *)') with an expression of type 'int (struct sk_buff *, struct net_device *)' [-Wincompatible-function-pointer-types-strict] > 353 | .ndo_start_xmit = uml_net_start_xmit, > | ^~~~~~~~~~~~~~~~~~ > 13 warnings generated. I have sent a patch to resolve this, thanks for the report! https://lore.kernel.org/20231003-um-net-wifpts-v1-1-02888c634ee7@xxxxxxxxxx/ Cheers, Nathan