From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D5E036F8EB for ; Fri, 3 Jul 2026 07:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783065230; cv=none; b=Fu83WKGihHYjpI4/Ia0Y5RFRW1h63sGX3wcUR1cC1Ual1BZu/M3Ol1DaUthxIRfSXBgIJYZTaGv2raxohMPMFJ4sJ4+VJfxerzpK29RLgoxmkomFjGVizDOEe41FXrJ9gUI0D/fZRRHXqdsc6gqSy2Ob3mWKFV6E1ua2+tPUkm4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783065230; c=relaxed/simple; bh=e8f4eK2XIAXtmv0D3DJUStmAvt+/9psaO5ICbE3bd7Q=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ox1f3XunMzv2fF0a9O1TiO3MjZ2AEsDMC9NtSxHHbnSz5dy0wzA8GbCbY1HUFl2GEGrCW24C4Aq8NdNowkhfcUBduIIWxQaxq4ltYtsdWnY6MUCUcdB3wka6PRTUdW8ce4ynFx6sBmj/nxxhaMDTxIwLy/GzcgxmJ54HPi8ibrY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZRXRjlkg; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZRXRjlkg" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-493b779003fso1018605e9.3 for ; Fri, 03 Jul 2026 00:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783065227; x=1783670027; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=QwNG2xgIYbHo79fkvwrrCIA18FniF81xGtg9vLZ2YD4=; b=ZRXRjlkgYZpW8aE2T+20xOK4oSGCazZmRx7DU3VFDTfb6JKoH0BDcawAkufz8KHHMe gzO7QFgCSwMG6xM6Hr07fCl3sV7KFJULkAieWoO8BD0rq/f/nhamXNJ0iuuwWRSqePxk Eyd1XjHqIUbqdkaAAFfPKA95b0CPmAmp8875wZtkIqT/ecbS6j0jZREp8dnagah+hm/+ NyI4g6LYiAs0m5mpALsKzDmbOJxJ3BL6uYV2dG4zHAjppXJNBR42lM44H67D1ACP8j/C OeacfaioZHBm+GYtdt40VMqMuC5fAObDxUYSYL6IJAvFGyA4Fh+4zgVr8gpij1WsNpE9 JNtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783065227; x=1783670027; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QwNG2xgIYbHo79fkvwrrCIA18FniF81xGtg9vLZ2YD4=; b=TFmaMSWXs6PThmHYxhvnQ9n5K2bS2JJsTcPx4PzgxbKTCqhlw2R9kA82qclfiFgdYw 9g7Kc/63E6qmkirP9J3v4ap5+UOerjre1lORIyP7cmeao7Q0wimiMN7sAR/+jHkiTTf5 Xa+sS9nlUQYhkBWiHOfNRUxR1us34Au6aCKZXr8dFuffen82+2ssSlQuEg4tK7w5EKI8 kq6+27lJJPJHQX/hknLgB/CXBpKwrbfH1ZF5FWkgWZMDs1EZ1hctUb1sSkwJW1L8GfMw 83W6F+LkYxDOSZY88FdGo7EknN3I7y08UTzb9kb3z31mSKv6UYmylRxdzUqLKxORQxXV Ya/Q== X-Forwarded-Encrypted: i=1; AFNElJ+MA7rvK0N9Fr/ZACmT3DMZE2ISoeLoaSkLiRomX57rleRp/8yjBt/5bewmkLbVJ21gxbtrxi9XKL4Aoyk=@vger.kernel.org X-Gm-Message-State: AOJu0Yz0Lfj7pid5Z1iezp3vCMukE/2apOpOL1926dKZ4gOp34wd7bwC bvnhdQeB/njEGck4YAifJH6uIT/VdqWKLDxME0XSFYug2tljguyBypjm X-Gm-Gg: AfdE7cnzY9M9m0UzEjGKov4qB28HMbm2T/6BSE2SI5plq2HYiBjsAzmxDSqCNYkwQ/T RRnrtbuWOLSg1LIl/S8zNk2DDRdKwwRsktQdsu4vD+ZvFi6fwoEwxtorgPICC9VCsCjBzAbmMsz xv4sVmEfsepbEPrs0BT5s7mpGeOnRZ1Ysfog+fW0CorOXhu47Am/BUmD8oNxSq7MUnihoPH5mBZ 8zm6LaWgMQtSYtVEoYC7X/AaVzC/TIirThhfJgeUp4JlfaK9EP4Lay8suGC7uiZePSehpNW346h ha3HcPVSmEU8fzdzK3gywWaLu5V+i0VVoJHichdaLU59NdnXi69u+kmiLbYAYhFi0cL0oqATLG8 UfO88qdEPz0cqwXp8PrxnQK3Io4CwLONCz405VM0BFoZeUpj0Kkbg25daOJ/filMJ3ZH+WPv52j DEmBY4Bg2RQ56ryfd7Loc0LqwB9EPCXOUeTw/gDlJu5WRcIP97LGwVi2s6 X-Received: by 2002:a05:600c:5010:b0:493:72d3:4a81 with SMTP id 5b1f17b1804b1-493c2b5161emr122442615e9.16.1783065226523; Fri, 03 Jul 2026 00:53:46 -0700 (PDT) Received: from pumpkin (host-92-21-50-228.as13285.net. [92.21.50.228]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493c636ea60sm103089575e9.3.2026.07.03.00.53.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2026 00:53:45 -0700 (PDT) Date: Fri, 3 Jul 2026 08:53:42 +0100 From: David Laight To: kernel test robot Cc: Paolo Abeni , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, mptcp@lists.linux.dev, matthieu.baerts@tessares.net, Jakub Kicinski , "Matthieu Baerts (NGI0)" Subject: Re: include/linux/compiler_types.h:699:45: error: call to '__compiletime_assert_881' declared with attribute error: BUILD_BUG_ON failed: sizeof_field(struct mptcp_ext, flags) != sizeof(u16) Message-ID: <20260703085342.1b915f66@pumpkin> In-Reply-To: <202607031100.upQfRZTM-lkp@intel.com> References: <202607031100.upQfRZTM-lkp@intel.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 03 Jul 2026 11:51:39 +0800 kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 51512e22efe813d8223de27f6fd02a8a48ea2323 > commit: 5e939544f9d2b4d5c052a07cfcde97de44263946 mptcp: fix uninit-value in mptcp_established_options > date: 4 weeks ago > config: arm-randconfig-r051-20260702 (https://download.01.org/0day-ci/archive/20260703/202607031100.upQfRZTM-lkp@intel.com/config) > compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260703/202607031100.upQfRZTM-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 > | Fixes: 5e939544f9d2 ("mptcp: fix uninit-value in mptcp_established_options") > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202607031100.upQfRZTM-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > In file included from : > In function 'mptcp_established_options_dss', > inlined from 'mptcp_established_options' at net/mptcp/options.c:881:11: > >> include/linux/compiler_types.h:699:45: error: call to '__compiletime_assert_881' declared with attribute error: BUILD_BUG_ON failed: sizeof_field(struct mptcp_ext, flags) != sizeof(u16) > 699 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^ > include/linux/compiler_types.h:680:25: note: in definition of macro '__compiletime_assert' > 680 | prefix ## suffix(); \ > | ^~~~~~ > include/linux/compiler_types.h:699:9: note: in expansion of macro '_compiletime_assert' > 699 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^~~~~~~~~~~~~~~~~~~ > include/linux/build_bug.h:40:37: note: in expansion of macro 'compiletime_assert' > 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) > | ^~~~~~~~~~~~~~~~~~ > include/linux/build_bug.h:51:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' > 51 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) > | ^~~~~~~~~~~~~~~~ > net/mptcp/options.c:576:9: note: in expansion of macro 'BUILD_BUG_ON' > 576 | BUILD_BUG_ON(sizeof_field(struct mptcp_ext, flags) != sizeof(u16)); > | ^~~~~~~~~~~~ This is probably the old 32bit arm abi that aligns all structures to 32 bits. David > > > vim +/__compiletime_assert_881 +699 include/linux/compiler_types.h > > eb5c2d4b45e3d2 Will Deacon 2020-07-21 685 > eb5c2d4b45e3d2 Will Deacon 2020-07-21 686 #define _compiletime_assert(condition, msg, prefix, suffix) \ > eb5c2d4b45e3d2 Will Deacon 2020-07-21 687 __compiletime_assert(condition, msg, prefix, suffix) > eb5c2d4b45e3d2 Will Deacon 2020-07-21 688 > eb5c2d4b45e3d2 Will Deacon 2020-07-21 689 /** > eb5c2d4b45e3d2 Will Deacon 2020-07-21 690 * compiletime_assert - break build and emit msg if condition is false > eb5c2d4b45e3d2 Will Deacon 2020-07-21 691 * @condition: a compile-time constant condition to check > eb5c2d4b45e3d2 Will Deacon 2020-07-21 692 * @msg: a message to emit if condition is false > eb5c2d4b45e3d2 Will Deacon 2020-07-21 693 * > eb5c2d4b45e3d2 Will Deacon 2020-07-21 694 * In tradition of POSIX assert, this macro will break the build if the > eb5c2d4b45e3d2 Will Deacon 2020-07-21 695 * supplied condition is *false*, emitting the supplied error message if the > eb5c2d4b45e3d2 Will Deacon 2020-07-21 696 * compiler has support to do so. > eb5c2d4b45e3d2 Will Deacon 2020-07-21 697 */ > eb5c2d4b45e3d2 Will Deacon 2020-07-21 698 #define compiletime_assert(condition, msg) \ > eb5c2d4b45e3d2 Will Deacon 2020-07-21 @699 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > eb5c2d4b45e3d2 Will Deacon 2020-07-21 700 > > :::::: The code at line 699 was first introduced by commit > :::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h > > :::::: TO: Will Deacon > :::::: CC: Will Deacon > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki >