Re: [mkl-can-next:testing 5/28] net/can/j1939/transport.c:811:25: error: 'skcb' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28.06.2021 22:34:42, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
> head:   ca9280f6324bf09ec5d3667579f7dd3f7567e809
> commit: a2ea50608a02ac48371a9fab0167c1b44457913e [5/28] can: j1939: j1939_session_tx_dat(): use consistent name se_skcb for session skb control buffer
> config: i386-randconfig-a011-20210628 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/commit/?id=a2ea50608a02ac48371a9fab0167c1b44457913e
>         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 a2ea50608a02ac48371a9fab0167c1b44457913e
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from include/net/sock.h:46,
>                     from include/linux/can/skb.h:17,
>                     from net/can/j1939/transport.c:11:
>    net/can/j1939/transport.c: In function 'j1939_session_tx_dat':
> >> net/can/j1939/transport.c:811:25: error: 'skcb' undeclared (first use in this function)
>      811 |      __func__, session, skcb->offset,
>          |                         ^~~~
>    include/linux/netdevice.h:5255:36: note: in definition of macro 'netdev_level_once'
>     5255 |   netdev_printk(level, dev, fmt, ##__VA_ARGS__); \
>          |                                    ^~~~~~~~~~~
>    net/can/j1939/transport.c:809:4: note: in expansion of macro 'netdev_err_once'
>      809 |    netdev_err_once(priv->ndev,
>          |    ^~~~~~~~~~~~~~~
>    net/can/j1939/transport.c:811:25: note: each undeclared identifier is reported only once for each function it appears in
>      811 |      __func__, session, skcb->offset,
>          |                         ^~~~
>    include/linux/netdevice.h:5255:36: note: in definition of macro 'netdev_level_once'
>     5255 |   netdev_printk(level, dev, fmt, ##__VA_ARGS__); \
>          |                                    ^~~~~~~~~~~
>    net/can/j1939/transport.c:809:4: note: in expansion of macro 'netdev_err_once'
>      809 |    netdev_err_once(priv->ndev,
>          |    ^~~~~~~~~~~~~~~

Fixed, thanks,
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: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux