From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F62140927D for ; Wed, 23 Sep 2026 16:40:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790181629; cv=none; b=qqHvslRuzhtaK1Usa3G1C0maTU5xZyKbDO/451pTYNOfddBs8SA5apPUiHuBV/To7GKkkjoF/0oMChq7Jf9QO+RdDAYV4I98bkD6Gbivh5F9813e3Dhdo+qeU0O0D4lN1v2jX9JjWOvhdplXAE0QBrgBNsIp+LkZdj0dyIMn8Rk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790181629; c=relaxed/simple; bh=REPxjHD1y/zYH6TZHZ01Uu9WQCyhCrSQnAbPvqxHgiY=; h=Date:From:To:Cc:Subject:Message-ID; b=XbAJeSB7Q4IAnKSIbtzZWLO5U5fHaR2YxQGYtasjdIYE3g40AAGCcKSI8PHlWsV1w2xshCRQBsGV7TX8xXTPRUWTSYKKoS7+UNeyTSanUbvtiNQICdiSoT6kfSPDBLqxtNAHVQrTYF2NRahywH/ZI1Glm0BcyFaeLx240gCMDN8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=V0rZsIwI; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="V0rZsIwI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1790181619; x=1821717619; h=date:from:to:cc:subject:message-id; bh=REPxjHD1y/zYH6TZHZ01Uu9WQCyhCrSQnAbPvqxHgiY=; b=V0rZsIwIsJprtX9zvwubLbwQVxQwONxUeR6xIp8M392wGm7LyJvg8bwV 5td3R3wmqjZq6F5kO60J4n4ys8yjcdDefDuBADoKuELiLY19fZEAEoZhM /JTFdop07O4IR/aoVWtf7DFG0k5FgeVnqeZ1/AcXvIsynm6qHfDHQR4v4 btSkKmyx8oQUhEHZiW2BX45L49NJLX1xXczypLm9URPzKfyjxAMFCtEIj 5Viy8J6pUAlDL6U0DonA2PDhltWFsgzR+mpUq3JHpvK96Y6IguGFhaAUe aQ6bu/zsqzmpb/SEEli7uY1NQNfT3DUMtwEfjfvbXJ1JZsnwyBvMw6Ezm Q==; X-CSE-ConnectionGUID: O/lxglQKQSuqqYz2nkdf6g== X-CSE-MsgGUID: aR5CQqbcT/eSmqyt1vVrAg== X-IronPort-AV: E=McAfee;i="6800,10657,11914"; a="102258597" X-IronPort-AV: E=Sophos;i="6.27,118,1787036400"; d="scan'208";a="102258597" Received: from fmviesa013.fm.intel.com ([10.60.135.153]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2026 09:39:59 -0700 X-CSE-ConnectionGUID: GRjC+BcoQU+7PGWwFLgm+Q== X-CSE-MsgGUID: zyV/Pn5qT/SeAnO6fyrbag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,118,1787036400"; d="scan'208";a="4947902" Received: from lkp-server01.sh.intel.com (HELO 462990a40a85) ([10.239.97.150]) by fmviesa013.fm.intel.com with ESMTP; 23 Sep 2026 09:39:57 -0700 Received: from kbuild by 462990a40a85 with local (Exim 4.98.2) (envelope-from ) id 1x9Q0g-00000000HOo-2VDd; Wed, 23 Sep 2026 16:39:54 +0000 Date: Thu, 24 Sep 2026 00:39:36 +0800 From: kernel test robot To: Ross Philipson Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Jarkko Sakkinen , "Daniel P. Smith" , Alec Brown Subject: include/linux/tpm_command.h:515:2: warning: field within 'struct tpm_header' is less aligned than 'union tpm_header::(anonymous at include/linux/tpm_command.h:515:2)' and is usually due to 'struct tpm_header' being packed, which can lead to unaligned acc... Message-ID: <202609240044.aAnGhdJw-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fe2ec83746e501645709761605c2464a44fd2929 commit: 88c5a62c3af7ca6f36dc6ffc52bcfb29cd2990cb tpm: Move TPM common base definitions to the command header date: 4 weeks ago config: arm-randconfig-1001-20260923 (https://download.01.org/0day-ci/archive/20260924/202609240044.aAnGhdJw-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5dc57157f12f0ff676e823d9b4d98b45c07e5df2) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260924/202609240044.aAnGhdJw-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: 88c5a62c3af7 ("tpm: Move TPM common base definitions to the command header") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202609240044.aAnGhdJw-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from security/keys/trusted-keys/trusted_tpm2.c:11: In file included from include/linux/tpm.h:28: >> include/linux/tpm_command.h:515:2: warning: field within 'struct tpm_header' is less aligned than 'union tpm_header::(anonymous at include/linux/tpm_command.h:515:2)' and is usually due to 'struct tpm_header' being packed, which can lead to unaligned accesses [-Wunaligned-access] 515 | union { | ^ 1 warning generated. vim +515 include/linux/tpm_command.h 511 512 struct tpm_header { 513 __be16 tag; 514 __be32 length; > 515 union { 516 __be32 ordinal; 517 __be32 return_code; 518 }; 519 } __packed; 520 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki