Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1980719ybh; Fri, 13 Mar 2020 10:46:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvj1hYe/cLJH3R8z3BZ2tt85Vd4/ovy6LTE9f3+DsYRMw/JWBpq09rxrwr+XLilsDJKDEH7 X-Received: by 2002:a9d:12cc:: with SMTP id g70mr11532649otg.115.1584121569884; Fri, 13 Mar 2020 10:46:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584121569; cv=none; d=google.com; s=arc-20160816; b=Psaq86TMrFKHEreIikePBBxPrmt/j1++scdvh/KlXNie+gV9GUoI1+SLDPiOfwwRAd FxFc0rOl1I/kSaHHj0K0poWkl0WJ0uEyJVMxsgiGGEg+3pzUMOYrBcP90uo7kEQALrOs M64vK1qB32okbtFtWlbSO08Ag81rYZwCj6zl4sIFXocFsMFv8GcAPf0Mc6K0eV6x1aWS X6I2UtYZW/c0qxoktd0b/oDTPpwwb9zVaz7lyZqSmfQUFmenq4p/aS/eP7jq9s1yjEay 9EMv+WS2/J0Ppq16zbT0rwp7M5WAiQACzcwYHJxV1YnNIclsjBbBE7SqTg0kGnH/c2jM En4A== 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:from:references:cc:to:subject:dkim-signature; bh=1nnYMqV+aFWDUjZlBjvP/V7b77hSbc506QLsfMci+8Q=; b=iP2in5a21OCvmc4ouxDCjOnQVJY8s/OP7320+RLjUVLy8CK/okWYuruj9VAw5W5kST 0gcwqZMfQVmfcTGL5ajxqHS6m1TSph10xoUdju/BDTCx9A2Jl1uwfCmmZ/inSa/gGQ7J 1qVDuvHyt9n0rTqbVr/3MMFd9F1+F2QsDKRDZV2+JQ74BhTEDTnExhJcWzL0JIC1k7+/ gJ8ggrk/i8hcevXIzoyRFlWhXZdNugE0Elh4UgHSKvfpBiVykeOLhEQwXio6eKEqfd4Y eLL8OW8tV3gx/t4fZs7I0rVKiIgsABIAUA0jT+RcfA8Yg9lJcthjWXpF26x4ecZbsqjd ShIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=Dbl5JwBj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u207si4734934oia.176.2020.03.13.10.45.55; Fri, 13 Mar 2020 10:46:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=Dbl5JwBj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726528AbgCMRph (ORCPT + 99 others); Fri, 13 Mar 2020 13:45:37 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:45278 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726414AbgCMRpg (ORCPT ); Fri, 13 Mar 2020 13:45:36 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48fClf0NDqz9vBKD; Fri, 13 Mar 2020 18:45:34 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=Dbl5JwBj; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id W8z7nJP6HoHj; Fri, 13 Mar 2020 18:45:33 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 48fCld6Ksnz9vBK9; Fri, 13 Mar 2020 18:45:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1584121533; bh=1nnYMqV+aFWDUjZlBjvP/V7b77hSbc506QLsfMci+8Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Dbl5JwBj8r6q6vEsg8fMF5tmhL2kXlWu+A7dlp30E6bgN5nLYTuWYC4P8dWQZMbKr 6ywh2J/Q2wRA/dx7Z7OALnU1vK6GAis09YvON/mOGp5YaNzVk36Np+h+dauPGtt2uQ +EwXJFW69TujEKpXXkqdXE7Tz6SwRGrxLWXZzoy0= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 986888B8D3; Fri, 13 Mar 2020 18:45:35 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id yk10owCl4XFs; Fri, 13 Mar 2020 18:45:35 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 4CCED8B8CE; Fri, 13 Mar 2020 18:45:34 +0100 (CET) Subject: Re: [PATCH v2] powerpc/fsl-85xx: fix compile error To: WANG Wenhu , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Richard Fontana , Kate Stewart , Allison Randal , Thomas Gleixner , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: kernel@vivo.com, trivial@kernel.org References: <20200313171953.63205-1-wenhu.wang@vivo.com> From: Christophe Leroy Message-ID: <320843ad-32d5-8799-7c4a-150fa5fd7ef8@c-s.fr> Date: Fri, 13 Mar 2020 18:45:11 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200313171953.63205-1-wenhu.wang@vivo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 13/03/2020 à 18:19, WANG Wenhu a écrit : > Include "linux/of_address.h" to fix the compile error for > mpc85xx_l2ctlr_of_probe() when compiling fsl_85xx_cache_sram.c. > > CC arch/powerpc/sysdev/fsl_85xx_l2ctlr.o > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c: In function ‘mpc85xx_l2ctlr_of_probe’: > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:90:11: error: implicit declaration of function ‘of_iomap’; did you mean ‘pci_iomap’? [-Werror=implicit-function-declaration] > l2ctlr = of_iomap(dev->dev.of_node, 0); > ^~~~~~~~ > pci_iomap > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:90:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] > l2ctlr = of_iomap(dev->dev.of_node, 0); > ^ > cc1: all warnings being treated as errors > scripts/Makefile.build:267: recipe for target 'arch/powerpc/sysdev/fsl_85xx_l2ctlr.o' failed > make[2]: *** [arch/powerpc/sysdev/fsl_85xx_l2ctlr.o] Error 1 > > Fixes: commit 6db92cc9d07d ("powerpc/85xx: add cache-sram support") Shouldn't you Cc stable as well ? > Signed-off-by: WANG Wenhu > --- What's the difference between v1 and v2 ? Christophe