On Thu, May 22, 2025 at 04:01:53PM +0200, Arnd Bergmann wrote: > On Thu, May 22, 2025, at 15:22, Naresh Kamboju wrote: > > > ## Build log > > net/unix/af_unix.c: In function 'unix_find_bsd': > > net/unix/af_unix.c:1152:21: error: 'SOCK_COREDUMP' undeclared (first > > use in this function); did you mean 'SOCK_RDM'? > > 1152 | if (flags & SOCK_COREDUMP) { > > SOCK_COREDUMP should be defined outside of ARCH_HAS_SOCKET_TYPES. > How about reducing the scope of that check like this? > > Arnd I applied the appended patch.