1. 26 Dec, 2023 7 commits
  2. 25 Dec, 2023 1 commit
  3. 23 Dec, 2023 30 commits
  4. 22 Dec, 2023 2 commits
    • Dmitry Safonov's avatar
      selftest/tcp-ao: Rectify out-of-tree build · 826eb9bc
      Dmitry Safonov authored
      Trivial fix for out-of-tree build that I wasn't testing previously:
      
      1. Create a directory for library object files, fixes:
      > gcc lib/kconfig.c -Wall -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -I ../../../../../usr/include/ -iquote /tmp/kselftest/kselftest/net/tcp_ao/lib -I ../../../../include/  -o /tmp/kselftest/kselftest/net/tcp_ao/lib/kconfig.o -c
      > Assembler messages:
      > Fatal error: can't create /tmp/kselftest/kselftest/net/tcp_ao/lib/kconfig.o: No such file or directory
      > make[1]: *** [Makefile:46: /tmp/kselftest/kselftest/net/tcp_ao/lib/kconfig.o] Error 1
      
      2. Include $(KHDR_INCLUDES) that's exported by selftests/Makefile, fixes:
      > In file included from lib/kconfig.c:6:
      > lib/aolib.h:320:45: warning: ‘struct tcp_ao_add’ declared inside parameter list will not be visible outside of this definition or declaration
      >   320 | extern int test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg,
      >       |                                             ^~~~~~~~~~
      ...
      
      3. While at here, clean-up $(KSFT_KHDR_INSTALL): it's not needed anymore
         since commit f2745dc0 ("selftests: stop using KSFT_KHDR_INSTALL")
      
      4. Also, while at here, drop .DEFAULT_GOAL definition: that has a
         self-explaining comment, that was valid when I made these selftests
         compile on local v4.19 kernel, but not needed since
         commit 8ce72dc3 ("selftests: fix headers_install circular dependency")
      
      Fixes: cfbab37b ("selftests/net: Add TCP-AO library")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202312190645.q76MmHyq-lkp@intel.com/Signed-off-by: default avatarDmitry Safonov <dima@arista.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      826eb9bc
    • Jonathan Corbet's avatar
      tipc: Remove some excess struct member documentation · 45248f29
      Jonathan Corbet authored
      Remove documentation for nonexistent struct members, addressing these
      warnings:
      
        ./net/tipc/link.c:228: warning: Excess struct member 'media_addr' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'timer' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'refcnt' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'proto_msg' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'pmsg' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'backlog_limit' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'exp_msg_count' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'reset_rcv_checkpt' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'transmitq' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'snt_nxt' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'deferred_queue' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'unacked_window' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'next_out' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'long_msg_seq_no' description in 'tipc_link'
        ./net/tipc/link.c:228: warning: Excess struct member 'bc_rcvr' description in 'tipc_link'
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      45248f29