Re: [PATCH 5/6] can: c_can: prepare to up the message objects number
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2021-02-25 09:27:55
Also in:
lkml, oe-kbuild-all
On 25.02.2021 15:14:43, kernel test robot wrote:
Hi Dario, Thank you for the patch! Yet something to improve: [auto build test ERROR on mkl-can-next/testing] [also build test ERROR on linux/master net-next/master net/master linus/master next-20210225] [cannot apply to sparc-next/master v5.11] [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] url: https://github.com/0day-ci/linux/commits/Dario-Binacchi/can-c_can-add-support-to-64-messages-objects/20210225-070042 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing config: x86_64-randconfig-a006-20210225 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a921aaf789912d981cbb2036bdc91ad7289e1523) 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 x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://github.com/0day-ci/linux/commit/9bbfc6bc12c1d9a2445413bf6e710302f012c1ae git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dario-Binacchi/can-c_can-add-support-to-64-messages-objects/20210225-070042 git checkout 9bbfc6bc12c1d9a2445413bf6e710302f012c1ae # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>):quoted
quoted
drivers/net/can/c_can/c_can_pci.c:152:24: error: too few arguments to function call, single argument 'msg_obj_num' was not specifieddev = alloc_c_can_dev(); ~~~~~~~~~~~~~~~ ^ drivers/net/can/c_can/c_can.h:212:20: note: 'alloc_c_can_dev' declared here struct net_device *alloc_c_can_dev(int msg_obj_num); ^ 1 error generated.
For now you can use 16, which means no change. I've added Alexander and Federico to Cc, they added the intel pch and st micro support, maybe they can help and add the correct size. regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachments
- signature.asc [application/pgp-signature] 488 bytes