* [android-common:android14-6.1-2025-09 1/1] include/linux/android_kabi.h:49:17: error: static assertion failed: "include/linux/dma-buf.h:540: u64 android_kabi_reserved1 is not aligned the same as atomic64_t nr_task_refs"
@ 2026-06-11 12:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-11 12:29 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Mercier,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android14-6.1-2025-09
head: ecc3e0ec515e0f0ddd4ad755a477529a9597ad3d
commit: 4b2d8222ee51d3aac9c4b9c2b5b758ab17d639b8 [1/1] ANDROID: Use ABI reservations for dmabuf RSS / PSS accounting
config: i386-randconfig-014-20260611 (https://download.01.org/0day-ci/archive/20260611/202606112037.jZ2DPXVm-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260611/202606112037.jZ2DPXVm-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/202606112037.jZ2DPXVm-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/android_vendor.h:18,
from include/linux/mutex.h:23,
from include/linux/rhashtable-types.h:14,
from include/linux/ipc.h:7,
from include/uapi/linux/sem.h:5,
from include/linux/sem.h:5,
from include/linux/sched.h:15,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from drivers/tee/tee_shm_pool.c:5:
>> include/linux/android_kabi.h:49:17: error: static assertion failed: "include/linux/dma-buf.h:540: u64 android_kabi_reserved1 is not aligned the same as atomic64_t nr_task_refs"
49 | _Static_assert(__alignof__(struct{_new;}) <= __alignof__(struct{_orig;}), \
| ^~~~~~~~~~~~~~
include/linux/android_kabi.h:68:17: note: in expansion of macro '__ANDROID_KABI_CHECK_SIZE_ALIGN'
68 | __ANDROID_KABI_CHECK_SIZE_ALIGN(_orig, _new); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/android_kabi.h:113:9: note: in expansion of macro '_ANDROID_KABI_REPLACE'
113 | _ANDROID_KABI_REPLACE(_ANDROID_KABI_RESERVE(number), _new)
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/dma-buf.h:540:9: note: in expansion of macro 'ANDROID_KABI_USE'
540 | ANDROID_KABI_USE(1, atomic64_t nr_task_refs);
| ^~~~~~~~~~~~~~~~
vim +49 include/linux/android_kabi.h
804873a198f8dc Greg Kroah-Hartman 2020-03-11 37
804873a198f8dc Greg Kroah-Hartman 2020-03-11 38 /*
804873a198f8dc Greg Kroah-Hartman 2020-03-11 39 * Worker macros, don't use these, use the ones without a leading '_'
804873a198f8dc Greg Kroah-Hartman 2020-03-11 40 */
804873a198f8dc Greg Kroah-Hartman 2020-03-11 41
804873a198f8dc Greg Kroah-Hartman 2020-03-11 42 #define __ANDROID_KABI_CHECK_SIZE_ALIGN(_orig, _new) \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 43 union { \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 44 _Static_assert(sizeof(struct{_new;}) <= sizeof(struct{_orig;}), \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 45 __FILE__ ":" __stringify(__LINE__) ": " \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 46 __stringify(_new) \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 47 " is larger than " \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 48 __stringify(_orig) ); \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 @49 _Static_assert(__alignof__(struct{_new;}) <= __alignof__(struct{_orig;}), \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 50 __FILE__ ":" __stringify(__LINE__) ": " \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 51 __stringify(_orig) \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 52 " is not aligned the same as " \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 53 __stringify(_new) ); \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 54 }
804873a198f8dc Greg Kroah-Hartman 2020-03-11 55
:::::: The code at line 49 was first introduced by commit
:::::: 804873a198f8dcb3f9c414ab5dcf40a1fd14b918 ANDROID: GKI: add android_kabi.h
:::::: TO: Greg Kroah-Hartman <gregkh@google.com>
:::::: CC: Jaskaran Singh <quic_jasksing@quicinc.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-06-11 12:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11 12:29 [android-common:android14-6.1-2025-09 1/1] include/linux/android_kabi.h:49:17: error: static assertion failed: "include/linux/dma-buf.h:540: u64 android_kabi_reserved1 is not aligned the same as atomic64_t nr_task_refs" 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.