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

From
Marc Kleine-Budde <mkl@pengutronix.de>
Date
2021-07-14 20:08:44
Also in
oe-kbuild-all
Reply to
kernel test robot, 2021-06-28
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 <redacted>

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':
quoted
quoted
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 |

Attachments

Thread (2 messages) 2 messages, 2 authors, last reply 2021-07-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help