[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230509-exert-remindful-0c0e89bf6649-mkl@pengutronix.de>
Date: Tue, 9 May 2023 14:14:51 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: kernel test robot <lkp@...el.com>
Cc: "Ji-Ze Hong (Peter Hong)" <peter_hong@...tek.com.tw>,
wg@...ndegger.com, michal.swiatkowski@...ux.intel.com,
Steen.Hegelund@...rochip.com, mailhol.vincent@...adoo.fr,
oe-kbuild-all@...ts.linux.dev, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
frank.jungclaus@....eu, linux-kernel@...r.kernel.org,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
hpeter+linux_kernel@...il.com
Subject: Re: [PATCH V7] can: usb: f81604: add Fintek F81604 support
Good Bot!
On 09.05.2023 18:17:43, kernel test robot wrote:
> Hi Ji-Ze,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on mkl-can-next/testing]
> [also build test WARNING on linus/master v6.4-rc1 next-20230509]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Ji-Ze-Hong-Peter-Hong/can-usb-f81604-add-Fintek-F81604-support/20230509-154045
> base: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
> patch link: https://lore.kernel.org/r/20230509073821.25289-1-peter_hong%40fintek.com.tw
> patch subject: [PATCH V7] can: usb: f81604: add Fintek F81604 support
> config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230509/202305091802.pRFS6n2j-lkp@intel.com/config)
> compiler: sh4-linux-gcc (GCC) 12.1.0
> 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
> # https://github.com/intel-lab-lkp/linux/commit/9549380f8d5eea359f8c83f48e10a0becfd13541
> git remote add linux-review https://github.com/intel-lab-lkp/linux
> git fetch --no-tags linux-review Ji-Ze-Hong-Peter-Hong/can-usb-f81604-add-Fintek-F81604-support/20230509-154045
> git checkout 9549380f8d5eea359f8c83f48e10a0becfd13541
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/net/
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@...el.com>
> | Link: https://lore.kernel.org/oe-kbuild-all/202305091802.pRFS6n2j-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> drivers/net/can/usb/f81604.c: In function 'f81604_read_bulk_callback':
> >> drivers/net/can/usb/f81604.c:440:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=]
> 440 | netdev_warn(netdev, "URB length %u not equal to %lu\n",
> | ~~^
> | |
> | long unsigned int
> | %u
> 441 | urb->actual_length, sizeof(*frame));
> | ~~~~~~~~~~~~~~
> | |
> | unsigned int
Replaced "%lu% by "%zu" while applying the patch.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists