Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp652713rdb; Mon, 29 Jan 2024 13:55:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGc+XoLW9r8BQSAaR637ljovuHhtgCx8qVC13UsFqvhOwzEE6jadWwHSpXthK8vONSYxwZu X-Received: by 2002:a05:6214:2586:b0:681:a812:5b07 with SMTP id fq6-20020a056214258600b00681a8125b07mr7221775qvb.60.1706565308134; Mon, 29 Jan 2024 13:55:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706565308; cv=pass; d=google.com; s=arc-20160816; b=DabISlIFa+WodAQ0J6tODyY1itlJ2I4Ep/5XOqh23JdPvcv63eDlVZVdF0DfyVPp/A 3ixq/+ZzxIbBgIJWlAWFtRfpbGmpIZAPdln9lBQ5P/1k67ii1gSa1gPxz2CpXOg1LJvd sV8A4GgiqwjOb63auIn31ydjuinNKvz2L6wGRS8b6JJJehABLt7tPJtWlx1tnVk/zX/S YbBjGqwbzj1YzVwQbI5xc/zNek0vXbTmjHhLYeZ5sC8Yzs9/oKbFPKuxvAEYbNpDY44d HdEcFoaufozf32DszVvL2UIEZ02rQMTOhAHizp85102ng+P8q5H+EMnTD117acn9TqcN g9sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=StcUcdeBhMll4u6Z4i+H51owxL/+smnyRSjHl622094=; fh=3lQYfwYvdVLrT8jnliQ/LDt7z1FOqh9TPJLqgcBe/xE=; b=LT3QJQNpz9DRBlfS+HdPHQgrw2eayjHPCX8MxmzMdrqKdiyq2ARk5zeoxJqloBwbDU ILh1y2oEVMtJkUMJjkcV+49K9qJ+Wc+cYNJ9RwTguhGUDA+yCALcACLDnyf57tV/pCkn /ZGGLy08a17EoD7rCAO1ecuavbB3Pow4B9AOUj24WK7rgeWLa63RdSsBB9OpRK8pGP5g CPgyPn2jodCYu+P4ilym9ij1zKGroEfD4+0ME8oo7rlm5V+K3Vl9tgIs9I6o+O0iG+n+ OHHuo//3kWEh+zip/IQohpRmOiu3g63KCCBHOOPRKZaa3BgD5Swr6o7eqFzrFc4DL1BC 7QVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gVyAxVbI; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-43402-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j21-20020a05620a147500b007812e5a9151si2278141qkl.549.2024.01.29.13.55.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 13:55:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43402-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gVyAxVbI; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-43402-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43402-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7FD251C23C97 for ; Mon, 29 Jan 2024 19:27:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85A857605D; Mon, 29 Jan 2024 19:26:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="gVyAxVbI" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 33FF676020; Mon, 29 Jan 2024 19:26:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706556411; cv=none; b=uhLaagN+k5KoMu8uFjLNusKVQMV/wz3tYAThfJyfADoLx3bs2CILEsmDPSoH+fkfnTrIowzG+4GDyC+lFeiQG9sjiwwXsllUctGUiPHlVohWEYUNh35p0UTdWuey4uM7oYU0wvYrmqhU3KM33lX2IY7YTh9LjTWGzLz8BLAsnBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706556411; c=relaxed/simple; bh=fWacdajCuKruy4IRIC3PfeCsbekc4brMNN4YQdaTalo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cQRhUiZ1JKMMA29tYtPFQLf2NMso5Xtn2SeDXg1xZSuGoS/iSQGqZRxlNScSzti7Vkw84LUMv7rwURZ9S/kd27Nigp8RxUC7/WVjm6fyq5v1R+IZcnz9nOMSn7kXqDu6gx0osijjjjUcak0WEHZAofqnZtOe9TbnCjxsLs2EbL4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=gVyAxVbI; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=StcUcdeBhMll4u6Z4i+H51owxL/+smnyRSjHl622094=; b=gVyAxVbI/Cx6Kpl28JvKZOP4tk 57nEOoe6Sw4I2IkN5W6psqo4tGP5Gq3ZdR+GkxDCGugiLgnvDXU2pMiFvb80xUU6eXm28Ak5CXA2y G8Lk6q/0KXugythCeLCBYAX00gkMTnjDDGWrZ6sPBA6xaQs7Pr4Ek5NPJRkWIAJ55OwzUwBi22ckc /tVg8mBsT6PWGFCc04CitPe4u1ACSPzDWFFFewYOeE2vv2W7pytKtvYvjy8HTVrDb7WsRC2EwOddt uef/XXchE3++mqs/Oqpx8pexEnLD4kd5VYcxkCKAVhHrJDAfRB+mxjasCSn1z2S1qDpsyYW3Fw++/ KLmSJaUw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUXHN-0000000E67v-2wh9; Mon, 29 Jan 2024 19:26:49 +0000 From: Luis Chamberlain To: masahiroy@kernel.org, deller@gmx.de Cc: mcgrof@kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] vmlinux.lds.h: add missing alignment for symbol CRCs Date: Mon, 29 Jan 2024 11:26:42 -0800 Message-ID: <20240129192644.3359978-4-mcgrof@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240129192644.3359978-1-mcgrof@kernel.org> References: <20240129192644.3359978-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Commit f3304ecd7f06 (linux/export: use inline assembler to populate symbol CRCs") fixed an issue with unexpected padding by adding asm inline assembly to directly specify the desired data layout. It however forgot to add the alignment, fix that. Reported-by: Helge Deller Fixes: f3304ecd7f06 ("linux/export: use inline assembler to populate symbol CRCs") Signed-off-by: Luis Chamberlain --- include/linux/export-internal.h | 1 + 1 file changed, 1 insertion(+) 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") -- 2.42.0