Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1580948pxp; Sun, 20 Mar 2022 23:17:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1DMN2pPPmg/4Ww0oXBDI6S1Idm6YtTrTo2OBhA63Xq8Qr4ntwMVsii6pq1NacbTjaWh2P X-Received: by 2002:a17:907:6d82:b0:6d6:da31:e542 with SMTP id sb2-20020a1709076d8200b006d6da31e542mr19048356ejc.135.1647843465407; Sun, 20 Mar 2022 23:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647843465; cv=none; d=google.com; s=arc-20160816; b=QjY8BbXnJOw34AI7/5/htmaycSbDARghVYQiyDtBdHqMi2u946d64dtKGZ9e5ElxS6 nZ+pA2LcY9TAnuTzvSoszSO+Mp5wQGaiWf0g2c6JKfjzbhI/aHLwseY+ZH61fQWUHZ0c 61xLZDIDspPqHpO/Sp42RDNlCCs4Rr+J7rRBBx1KmLmacja9ZgfaI3+AiSMUFEzA4OI+ r2YI72v+j/q3OiauV3dkGNS+YgxKYYt/3Xp8VmsciZFCBg8EYOMwYcGrwX3w90f302w7 SrWCzcfy0pMt1AAM7SlgANGsENx7ogDF9sq+59MOjgHkW9smNjCQv7Qvglvo249B18Wg zfQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=owfwbIzZhfaRFhI+DZdwC9ET1w6GoWnp11MvtSo5NAw=; b=syHHmPhooGO1iM7ZivQdk9ZyBtzGx0cwP5vBkAWDD9wZB+8MA0vV+mZD9V02noj530 YKeSPbeJsC4FluKYNuzww1ry5/fUBq882gK5gNvSkWdUYRPeI5JXfY0gy7AmPdWXkGrY wIiDcca8oNhKHPf8ce2gsFSw4FTejeXIhOPAwzI+xjU+TkJD0wwZ+CkgGQoQS9RaWhrr JwSrlwOD+EeqT/ye0KGHvtxIiUlyDeP6HGYxFbg1hZh/2VB5Z+ZXgNeaUNayOAgk9jTi lj3FqeNmlGmWllBQ7+mwU4IEewEaS7I7sRPvNKh/skvUAMlHAOJdxL/KwFFTsc6Xoy/G D+0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x40-20020a50baab000000b00418d551a6dcsi8454098ede.320.2022.03.20.23.17.20; Sun, 20 Mar 2022 23:17:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240038AbiCRSLz (ORCPT + 99 others); Fri, 18 Mar 2022 14:11:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233194AbiCRSLw (ORCPT ); Fri, 18 Mar 2022 14:11:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E8B82EDC1A for ; Fri, 18 Mar 2022 11:10:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 33BA161AF9 for ; Fri, 18 Mar 2022 18:10:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A419C340E8; Fri, 18 Mar 2022 18:10:30 +0000 (UTC) From: Catalin Marinas To: Will Deacon , James Morse , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers Cc: llvm@lists.linux.dev, "Russell King (Oracle)" , linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: fix clang warning about TRAMP_VALIAS Date: Fri, 18 Mar 2022 18:10:28 +0000 Message-Id: <164762664707.829336.4467700903354005127.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220316183833.1563139-1-arnd@kernel.org> References: <20220316183833.1563139-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 16 Mar 2022 19:38:18 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The newly introduced TRAMP_VALIAS definition causes a build warning > with clang-14: > > arch/arm64/include/asm/vectors.h:66:31: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Werror,-Wnull-pointer-arithmetic] > return (char *)TRAMP_VALIAS + SZ_2K * slot; > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: fix clang warning about TRAMP_VALIAS https://git.kernel.org/arm64/c/7f34b43e07cb -- Catalin