[mkl-can-next:j1939 43/91] net/can/j1939/transport.c:195:6: sparse: symbol 'j1939_session_skb_drop_old' was not declared. Should it be static?

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git j1939
head:   02e7d3189517027fef45f3dd360193e0ee1f7ef2
commit: f05cc831146e27d74638086b9753d8694d273d12 [43/91] j1939: transport: add multi skb support
reproduce:
        # apt-get install sparse
        git checkout f05cc831146e27d74638086b9753d8694d273d12
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'


sparse warnings: (new ones prefixed by >>)

>> net/can/j1939/transport.c:195:6: sparse: symbol 'j1939_session_skb_drop_old' was not declared. Should it be static?
   net/can/j1939/transport.c:219:6: sparse: symbol 'j1939_session_skb_queue' was not declared. Should it be static?
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:600:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:1096:38: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:1096:38: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:1038:22: sparse: symbol 'j1939_xtp_rx_rts_new' was not declared. Should it be static?
   net/can/j1939/transport.c:1339:17: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:1339:17: sparse: expression using sizeof(void)

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



[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