[mkl-can-next:j1939 25/91] net/can/j1939/transport.c:952:22: sparse: symbol 'j1939_xtp_rx_rts_new' 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: 23a33bdadda91c8d589bbf75d829a27c30ae9ffc [25/91] j1939: transport: add j1939_xtp_rx_rts_new() function
reproduce:
        # apt-get install sparse
        git checkout 23a33bdadda91c8d589bbf75d829a27c30ae9ffc
        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:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:508:23: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:1001:38: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:1001:38: sparse: expression using sizeof(void)
>> net/can/j1939/transport.c:952:22: sparse: symbol 'j1939_xtp_rx_rts_new' was not declared. Should it be static?
   net/can/j1939/transport.c:1280:17: sparse: expression using sizeof(void)
   net/can/j1939/transport.c:1280: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