Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1041958ybt; Wed, 24 Jun 2020 18:20:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzn0I8rh+GBzRSQAn8V/Td6aVXTC6qIXcioW8jghhdG5wigGKKNPxlyaBM1s3eQCPgii9V5 X-Received: by 2002:a50:d501:: with SMTP id u1mr6825859edi.159.1593048039002; Wed, 24 Jun 2020 18:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593048038; cv=none; d=google.com; s=arc-20160816; b=TUxXS7KMbtqvsX/OnwY80QW5BymukHdYPYswsduRUnRqfKsEoMeLkEdf0VKH689TXH zLnqKLcd1UiPuKyjBx+DLn7gceP+g4GLcVanWB6LSriJjdk/Mzr544IbwDLgEG0rjK4h ofkyg8bknRdNAjM4phktX6EU2XOK/S3LCsnNIg2YUWoNScBWGF3XIPmVy2e65ovxnC8p 9nvG7d1Sqr9FFLTlNId0y85QVmPBBO2PAjNNCNg1AIceDNUUUZRmYgNSJs3ozEpd8Tm/ GyLdSajBCSw2nrq9PPZ7xsM8z1yhU+nQjaYKBFpKmp7HmAqRZgEsCuTR5FYfEnk/Cwdh tV6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from:dkim-signature; bh=neCjOc11qing147Knuno5Zs0TZ7UJ5WPV8cnPuKXZ2w=; b=c6AerQ4/1EsIW59UxXsnSC0jxizr+D79PWBmmiVGrYfOB8MtRVmR+hEeT9a9qt63Mv cFRcNmC/of6NgqzUPc0UtSFsVv/Vcb0/s3w5RKDAQ668DMMBafwmDOa275XJ2Z9vo7Ye zrSUzARtIwJXasa+oQzcv1wPfkUt2CiQ7ndIqu7ky6Es5qbycEW7DvT5JU9R1Kjtlxpq mzXgfTPB6xwa1dbG/1oqYbul3JpJJfvgMKzkY+IQto67T5UeIsi6+bqJimk/GzqiflEA RPM95rj12VcNAfLY8oJk7h3GAzx453J1DpTSLfMFvTygmOrkJkizigz3YFMop6xKAWIj gmCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=X0Kcl4JB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp11si9482275ejb.280.2020.06.24.18.20.15; Wed, 24 Jun 2020 18:20:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=X0Kcl4JB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389029AbgFYBTc (ORCPT + 99 others); Wed, 24 Jun 2020 21:19:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388928AbgFYBTc (ORCPT ); Wed, 24 Jun 2020 21:19:32 -0400 Received: from casper.infradead.org (unknown [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9537C061573 for ; Wed, 24 Jun 2020 18:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:Subject:From:Sender :Reply-To:Content-ID:Content-Description; bh=neCjOc11qing147Knuno5Zs0TZ7UJ5WPV8cnPuKXZ2w=; b=X0Kcl4JBpdGaR57L7a7o8m2MVK 9CPsfhd4l47obbP5kxoUqUzw0qhHOMnMrXFgG/vrYcyLnfTiGUgQ4vBztg+LhsFwU1mRMjmFCcRdU /k27HIRXI9nxUk1q6tPYuY1Wxr3cKhC47UYWDpqxAsoVQ48BMT1H++wcf0o2LxIkOXco7MQsRhX1/ EDKlPewtAhbsHzGZeTSgrNjrRrUmNs+2ZyUYiotfST5X11j0q8Xl0SdXjOiImVqWzAlvNCDmey62d 4SlzdAh2PF+Ti5Y+Jbe5NqJ6z5miCgGLFypocEd1X1HodXffQ0+cgwvs8pm/G7owZUnPlf7i3rXim IMcSU+Mg==; Received: from [2602:306:37b0:7840:f887:89b1:c866:efda] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1joGXo-0007QV-Kg; Thu, 25 Jun 2020 01:19:13 +0000 From: Geoff Levand Subject: Re: [PATCH] powerpc/boot: Use address-of operator on section symbols To: Nathan Chancellor , Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Joel Stanley References: <20200624035920.835571-1-natechancellor@gmail.com> Message-ID: <1bbb6956-d9de-e0c8-5b45-20b6fecc2189@infradead.org> Date: Wed, 24 Jun 2020 18:18:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200624035920.835571-1-natechancellor@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nathan, On 6/23/20 8:59 PM, Nathan Chancellor wrote: > These are not true arrays, they are linker defined symbols, which are > just addresses. Using the address of operator silences the warning > and does not change the resulting assembly with either clang/ld.lld > or gcc/ld (tested with diff + objdump -Dr). Thanks for your patch. I tested this patch applied to v5.8-rc2 on a PS3 and it seems OK. Tested-by: Geoff Levand