All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 2214/3131] security/selinux/selinuxfs.c:1577:undefined reference to `__udivdi3'
@ 2026-09-02 14:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-02 14:49 UTC (permalink / raw)
  To: Paul Moore; +Cc: oe-kbuild-all

Hi Paul,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   32b6ef9a5d0eca44f9cd91f52f4faa89f145a0de
commit: fc68b6a45f1668bbe03264343115d1c97013c7ea [2214/3131] selinux: convert selinuxfs inode numbers from unsigned long to u64
config: i386-randconfig-013-20250413 (https://download.01.org/0day-ci/archive/20260902/202609022215.1SXtHuum-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260902/202609022215.1SXtHuum-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/202609022215.1SXtHuum-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: security/selinux/selinuxfs.o: in function `sel_ino_to_class':
>> security/selinux/selinuxfs.c:1577:(.text+0x4e2): undefined reference to `__udivdi3'
   ld: security/selinux/selinuxfs.o: in function `sel_ino_to_perm':
>> security/selinux/selinuxfs.c:1587:(.text+0x562): undefined reference to `__umoddi3'


vim +1577 security/selinux/selinuxfs.c

e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1574  
fc68b6a45f1668 Paul Moore              2026-08-25  1575  static inline u16 sel_ino_to_class(u64 ino)
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1576  {
92ae9e82d9a2c4 Eric Paris              2012-04-04 @1577  	return (ino & SEL_INO_MASK) / (SEL_VEC_MAX + 1);
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1578  }
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1579  
fc68b6a45f1668 Paul Moore              2026-08-25  1580  static inline u64 sel_perm_to_ino(u16 class, u32 perm)
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1581  {
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1582  	return (class * (SEL_VEC_MAX + 1) + perm) | SEL_CLASS_INO_OFFSET;
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1583  }
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1584  
fc68b6a45f1668 Paul Moore              2026-08-25  1585  static inline u32 sel_ino_to_perm(u64 ino)
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1586  {
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23 @1587  	return (ino & SEL_INO_MASK) % (SEL_VEC_MAX + 1);
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1588  }
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1589  

:::::: The code at line 1577 was first introduced by commit
:::::: 92ae9e82d9a2c4b9b388d6a9e7a4b2ccb0b4452f SELinux: remove needless sel_div function

:::::: TO: Eric Paris <eparis@redhat.com>
:::::: CC: Eric Paris <eparis@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-02 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 14:49 [linux-next:master 2214/3131] security/selinux/selinuxfs.c:1577:undefined reference to `__udivdi3' 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.