* [mkl-can-next:testing 42/51] drivers/net/can/dev/bittiming.c:79:24: error: too many arguments to function 'can_calc_bittiming'
@ 2023-02-07 20:00 kernel test robot
2023-02-07 20:18 ` Marc Kleine-Budde
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-02-07 20:00 UTC (permalink / raw)
To: Marc Kleine-Budde; +Cc: oe-kbuild-all, linux-can
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
head: 3dafbe5cc1409dd2e3fc2955b0026c1ba7dfa323
commit: 286c0e09e8e07de0f116a01aa234b05d9956dcf5 [42/51] can: bittiming: can_changelink() pass extack down callstack
config: parisc-randconfig-r026-20230205 (https://download.01.org/0day-ci/archive/20230208/202302080358.PGPjdXwE-lkp@intel.com/config)
compiler: hppa-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://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/commit/?id=286c0e09e8e07de0f116a01aa234b05d9956dcf5
git remote add mkl-can-next https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git
git fetch --no-tags mkl-can-next testing
git checkout 286c0e09e8e07de0f116a01aa234b05d9956dcf5
# 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=parisc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/net/can/dev/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net/can/dev/bittiming.c: In function 'can_get_bittiming':
>> drivers/net/can/dev/bittiming.c:79:24: error: too many arguments to function 'can_calc_bittiming'
79 | return can_calc_bittiming(dev, bt, btc, extack);
| ^~~~~~~~~~~~~~~~~~
In file included from include/linux/can/dev.h:18,
from drivers/net/can/dev/bittiming.c:7:
include/linux/can/bittiming.h:126:1: note: declared here
126 | can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt,
| ^~~~~~~~~~~~~~~~~~
vim +/can_calc_bittiming +79 drivers/net/can/dev/bittiming.c
66
67 int can_get_bittiming(const struct net_device *dev, struct can_bittiming *bt,
68 const struct can_bittiming_const *btc,
69 const u32 *bitrate_const,
70 const unsigned int bitrate_const_cnt,
71 struct netlink_ext_ack *extack)
72 {
73 /* Depending on the given can_bittiming parameter structure the CAN
74 * timing parameters are calculated based on the provided bitrate OR
75 * alternatively the CAN timing parameters (tq, prop_seg, etc.) are
76 * provided directly which are then checked and fixed up.
77 */
78 if (!bt->tq && bt->bitrate && btc)
> 79 return can_calc_bittiming(dev, bt, btc, extack);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [mkl-can-next:testing 42/51] drivers/net/can/dev/bittiming.c:79:24: error: too many arguments to function 'can_calc_bittiming'
2023-02-07 20:00 [mkl-can-next:testing 42/51] drivers/net/can/dev/bittiming.c:79:24: error: too many arguments to function 'can_calc_bittiming' kernel test robot
@ 2023-02-07 20:18 ` Marc Kleine-Budde
0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2023-02-07 20:18 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-kbuild-all, linux-can
[-- Attachment #1: Type: text/plain, Size: 1892 bytes --]
On 08.02.2023 04:00:53, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
> head: 3dafbe5cc1409dd2e3fc2955b0026c1ba7dfa323
> commit: 286c0e09e8e07de0f116a01aa234b05d9956dcf5 [42/51] can: bittiming: can_changelink() pass extack down callstack
> config: parisc-randconfig-r026-20230205 (https://download.01.org/0day-ci/archive/20230208/202302080358.PGPjdXwE-lkp@intel.com/config)
> compiler: hppa-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://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/commit/?id=286c0e09e8e07de0f116a01aa234b05d9956dcf5
> git remote add mkl-can-next https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git
> git fetch --no-tags mkl-can-next testing
> git checkout 286c0e09e8e07de0f116a01aa234b05d9956dcf5
> # 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=parisc olddefconfig
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/net/can/dev/
>
> If you fix the issue, kindly add following tag where applicable
Good Bot!
> | Reported-by: kernel test robot <lkp@intel.com>
Done: here's a fix:
https://lore.kernel.org/20230207201734.2905618-1-mkl@pengutronix.de
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 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-07 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-07 20:00 [mkl-can-next:testing 42/51] drivers/net/can/dev/bittiming.c:79:24: error: too many arguments to function 'can_calc_bittiming' kernel test robot
2023-02-07 20:18 ` Marc Kleine-Budde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox