Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3865751rdb; Thu, 28 Dec 2023 02:36:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0on/BkpPheD1ufPkTC/yX6UaJnmd+QY7AJWrF41fm3QcUVJIs2XV1COqLXG5fHJHNO38l X-Received: by 2002:a05:6871:3396:b0:203:ce43:ee29 with SMTP id ng22-20020a056871339600b00203ce43ee29mr10772498oac.41.1703759791122; Thu, 28 Dec 2023 02:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703759791; cv=none; d=google.com; s=arc-20160816; b=B2XJqiDe01BapLNNQoySWRa0BLF3yGP4opk8oHoPKaQN8EvUYEEua/+Y+HE4u8RlVo tQjgGL/QAW6lwEK0tW8gaPV1OqEtuieDnHnyliRcSNkC3GdO0qdBBoxn/CPVVtuw0Kxx tBJXcvEgLAVwUQQPEum8yy1vAchFz+6bgXcAreTCGzohQtYXHUENRsaPXxZ9PXxQlUX0 9Bkg0HEVdSnwJdfITyt1LfkEasEjQ4YafIA/SxeQIeIbzRDsXC9L6qIADmht/3Vtrhfe pt+fYOKfBf/7MdbEgTXmmoj5t0RD44j4KkACWL5ijVts4dKTtf1BScL6qHQvfnZlFGdI Pn7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:to:from:date:dkim-signature; bh=WLUzhno6P+LUUf/Mz+c3iP4tS0uiQ3KSj59us72ibm8=; fh=W92auUQysBX5tPHAH+LwTeLfI009thFtCDuzZWTFhXI=; b=qjYshE5Z2rlun2SWVkWK4YtVX3QUTBl3tvVwoh5Blu64uzoqplynu8qju7WCBikCef uOCWOI5ooQnXgRbZvR7izia0lJ3jQzRvXNi+fxTCJGcD51r0rZ1YZCfcVlwGPQAsS9MN arl54nCLzqsAgiWqMQzrTFtdrC8te9q3jyKk+KhOYJCjCI8EJ9kTmT4MehGqZ2z5lQWr koQRF1dHbHevHOd6IOmpfq/6qcoR/a+rUpy1GX/+ONQ8lJ/AQNf6kNCuGisVgd4LHV7j dgN58hCHoDfzg0Yma4vVKFCifhkaaEchW9A9tNlC+btKppzNaLn2BB2PIQQk1kscDNTW 76tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=btPA8EHQ; spf=pass (google.com: domain of linux-kernel+bounces-12568-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e3-20020a636903000000b005cdde899923si7001493pgc.758.2023.12.28.02.36.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 02:36:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12568-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=btPA8EHQ; spf=pass (google.com: domain of linux-kernel+bounces-12568-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 03CD828587D for ; Thu, 28 Dec 2023 10:36:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3C4B6ABA; Thu, 28 Dec 2023 10:36:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="btPA8EHQ" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 157A663CD; Thu, 28 Dec 2023 10:36:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68C75C433C7; Thu, 28 Dec 2023 10:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703759767; bh=mvxOzryFUJYG+VAWBGem3xdZ4uAeuRSgHvJF8WeD0+o=; h=Date:From:To:Subject:From; b=btPA8EHQEbELEh5ovAVGEfREwJVJBl2uLuyb/zqh+90HKfuRICTLbBB6wos6eX70W kE8clig5X0wTK/wCpasG3vgZZtM9q838S5RuHbpvC01wNgksrlK2ygdFRctjqqIWiG N1y1Ql8XWpgSQL5VTmhMM0q5OX5AK3dEG3B3714n2VPvvVWUpT2XyfcgopYx5Aw2HY NM15QoyqMwuH9T/YHZn9nLV4m1pjUeN95eGOC9jkPrUVqOo0JZM4IggZnXkfGJoiVr cc/X2accfmdiyk8Altr3njBiCv6OGm47wdoI+hZLMHDAcPNVMHdfYD6o20jfOomQfL HQj5RD7szEacQ== Date: Thu, 28 Dec 2023 11:36:03 +0100 From: Helge Deller To: Masahiro Yamada , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org Subject: [PATCH] linux/export: Ensure natural alignment of kcrctab array Message-ID: 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-Disposition: inline The ___kcrctab section holds an array of 32-bit CRC values. Add a .balign 4 to tell the linker the correct memory alignment. Signed-off-by: Helge Deller Fixes: f3304ecd7f06 ("linux/export: use inline assembler to populate symbol CRCs") Link: https://lore.kernel.org/r/CAK7LNAT5gyn0C9EJhh1EeFT7gF0rOudWcdqAVN=+C4jR42W90w@mail.gmail.com/ diff --git a/include/linux/export-internal.h b/include/linux/export-internal.h index 69501e0ec239..51b8cf3f60ef 100644 --- a/include/linux/export-internal.h +++ b/include/linux/export-internal.h @@ -61,6 +61,7 @@ #define SYMBOL_CRC(sym, crc, sec) \ asm(".section \"___kcrctab" sec "+" #sym "\",\"a\"" "\n" \ + ".balign 4" "\n" \ "__crc_" #sym ":" "\n" \ ".long " #crc "\n" \ ".previous" "\n")