Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2413666ybh; Mon, 16 Mar 2020 02:42:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtwN9kxMPnYKoh857FtnyDFoEglSGgFAIctfiBJJJFDMh+3sWt+iKe3QtuYkrOp4vGKIDhf X-Received: by 2002:aca:bcc6:: with SMTP id m189mr13996856oif.47.1584351738187; Mon, 16 Mar 2020 02:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584351738; cv=none; d=google.com; s=arc-20160816; b=PkBVUc9+JiKFP3RlILm5Y8twKEQZD9lIOKJbGCMwEbHCWujp5l/Rfvpu/0BkSfnskf s8qUUZHku+mteaCALB1CDW2omGYjkp6gnFe2s1IlYJYiImb74vhvSO3nsIYSSy2vHqAv RVwHwD7CoWbkTLUdYPJrerCIQvMX+9pjivnnD710Sd0MR9QVRs5SWD4Lf2OA0kkPLFIk 8Ry8pA2vwho/svlzir2aswBLMaVx4Z9pPBGm+Ez8A/BjtVnekORmZiSfVLl4K6WFQwV+ Yq56sUG2jtZkpVHXH8+VAxE/nrqC7h4lhIvCvNqN/abAA/bDk9PWGSF90EKg8k0vEMwc epWA== 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:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=FUGtjJew0iLiWYVo+aCQy8rzP+wNYj+UR/U/701Adm8=; b=iteYxQhZs2FyO8A8fZo4KPcBESP+w+UBbrfpT34EQ0SkiL5Ihujj0ut0xqyS+KqRMG mdsOh7sKUixknn4NUXwzVYWwIqbLI+jBRc9EHvofdLWKnwWo8P476IUFvVnfoeTfLft+ BL/4gPy1BcM4/a56Q+bomdrYtHiCuD4SDx1nVLwA9jx7nYiFNVyN4hb3pVD9VgBL8RPs M0xXB4zx4ZM3VbNmJdyLptrGyR0+TU6rvtkSY4rNUD+xza8BQsNUxNLp43XAbOBg740r Dq9YN7XaEBkPuOgiIRKhfXUNM63mzal1Wwx5wpHHQeeQoV3sTc3P6yzdeXSYUlg2NhIX 7Qkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=DOf+CeQI; 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 d1si9518588ote.150.2020.03.16.02.42.06; Mon, 16 Mar 2020 02:42:18 -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=@ellerman.id.au header.s=201909 header.b=DOf+CeQI; 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 S1730503AbgCPJlP (ORCPT + 99 others); Mon, 16 Mar 2020 05:41:15 -0400 Received: from ozlabs.org ([203.11.71.1]:60373 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730231AbgCPJlO (ORCPT ); Mon, 16 Mar 2020 05:41:14 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 48grsM6VkJz9sP7; Mon, 16 Mar 2020 20:41:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1584351672; bh=0BJ3FURw+fjw50wR+e6LRkf2Tx726H888JVrSKrls5Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DOf+CeQIRr9jP+zd801bgQ9LbD/TE+CByjPvWQvxtr5O+4o/uK2xFlU76UoHQRM1m PO1UW4Vu9Tn3ovq5neZhqoNPTofTuJvlkJdzuw73af6U6+M6OMMYOV5ATseJFLag1d eGFHtLkuRRd+l35uigGkppduH+zZfcCp+HEH5Ox0Lg6H5WOFmqhf3yKgYxTeypdh6d pHOnjPqwfPWJAnn4ZvO9glKgXR9NoACQZilm7+8n5WjERuDRAAt+e7zzdFJLFgKXIV CQsDHCnCtxvsQrpIyuKhAC4GTZJHC7VD8yOytmTWWGwHrRvIQ8hGEOiumZJOhsfWn+ luLNejYRjYIaQ== From: Michael Ellerman To: WANG Wenhu , Benjamin Herrenschmidt , Paul Mackerras , WANG Wenhu , Allison Randal , Richard Fontana , Greg Kroah-Hartman , Thomas Gleixner , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: trivial@kernel.org, kernel@vivo.com, stable Subject: Re: [PATCH v3] powerpc/fsl-85xx: fix compile error In-Reply-To: <20200314051035.64552-1-wenhu.wang@vivo.com> References: <20200314051035.64552-1-wenhu.wang@vivo.com> Date: Mon, 16 Mar 2020 20:41:12 +1100 Message-ID: <875zf4r613.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WANG Wenhu writes: > 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 =E2=80=98mpc85xx_l2ctl= r_of_probe=E2=80=99: > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:90:11: error: implicit declaration = of function =E2=80=98of_iomap=E2=80=99; did you mean =E2=80=98pci_iomap=E2= =80=99? [-Werror=3Dimplicit-function-declaration] > l2ctlr =3D of_iomap(dev->dev.of_node, 0); > ^~~~~~~~ > pci_iomap > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:90:9: error: assignment makes point= er from integer without a cast [-Werror=3Dint-conversion] > l2ctlr =3D 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_85= xx_l2ctlr.o' failed > make[2]: *** [arch/powerpc/sysdev/fsl_85xx_l2ctlr.o] Error 1 > > Fixes: commit 6db92cc9d07d ("powerpc/85xx: add cache-sram support") The syntax is: Fixes: 6db92cc9d07d ("powerpc/85xx: add cache-sram support") > Cc: stable The commit above went into v2.6.37. So no one has noticed this bug since then, how? Or did something else change to expose the problem? cheers