All of lore.kernel.org
 help / color / mirror / Atom feed
* [arnd-playground:randconfig-7.3-next 568/673] include/uapi/linux/if_pppox.h:72:9: warning: alignment 1 of 'union <anonymous>' is less than 2
@ 2026-09-26  2:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-26  2:22 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-7.3-next
head:   0a1affa74ef2f2c5c5ee74fc604e47a1aefdd286
commit: de6e2753a4e2e61ad06abc40a35348ace8e0ad55 [568/673] m68k: fix up headers for -malign-int
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260926/202609260403.Z3C0Z05d-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260926/202609260403.Z3C0Z05d-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609260403.Z3C0Z05d-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/if_pppox.h:17,
                    from net/core/flow_dissector.c:21:
>> include/uapi/linux/if_pppox.h:72:9: warning: alignment 1 of 'union <anonymous>' is less than 2 [-Wpacked-not-aligned]
      72 |         } sa_addr;
         |         ^


vim +72 include/uapi/linux/if_pppox.h

607ca46e97a1b6 David Howells 2012-10-13  65  
607ca46e97a1b6 David Howells 2012-10-13  66  struct sockaddr_pppox {
607ca46e97a1b6 David Howells 2012-10-13  67  	__kernel_sa_family_t sa_family;       /* address family, AF_PPPOX */
607ca46e97a1b6 David Howells 2012-10-13  68  	unsigned int    sa_protocol;          /* protocol identifier */
607ca46e97a1b6 David Howells 2012-10-13  69  	union {
f6d72a8b724c6e Arnd Bergmann 2023-06-19  70  		struct pppoe_addr  pppoe __packed;
f6d72a8b724c6e Arnd Bergmann 2023-06-19  71  		struct pptp_addr   pptp __packed;
607ca46e97a1b6 David Howells 2012-10-13 @72  	} sa_addr;
607ca46e97a1b6 David Howells 2012-10-13  73  } __packed;
607ca46e97a1b6 David Howells 2012-10-13  74  

:::::: The code at line 72 was first introduced by commit
:::::: 607ca46e97a1b6594b29647d98a32d545c24bdff UAPI: (Scripted) Disintegrate include/linux

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-26  2:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-26  2:22 [arnd-playground:randconfig-7.3-next 568/673] include/uapi/linux/if_pppox.h:72:9: warning: alignment 1 of 'union <anonymous>' is less than 2 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.