Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2607952ybk; Mon, 18 May 2020 03:31:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuGsvOzPAjLEB5PLwR8Ru133qZD9IJsz90UL681YXSDEpRYPWimSYqfxYyxOIhYP/8N15m X-Received: by 2002:a17:906:f53:: with SMTP id h19mr1343731ejj.343.1589797910149; Mon, 18 May 2020 03:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589797910; cv=none; d=google.com; s=arc-20160816; b=RC1BtVhr8birDtOE8557izgZcdej6TG749lRIWGnhJ0IZWMqCm8ztFM0hGzZRW5A7i zhqq9QNCIfl8V0JYZx++gcGDPJgU+6Hnlg2CLFDYiBHsTzqBubqvwHcplCsyO3duz1AK i4zN67tUUhsyycOUw0PmmoOiYnC3ByUb+zuSK3XQr3X2bhy2lRYltqFmwC+VlctaQNNj z8kj4WcFuaDsTgKAvezEf0CZo6HCAh9wqlUG1Hmr6h7Xq4NQDh0taCvXmSfe6SvRIvHr 9qm0b+nmefrqAWEr0hMSWuZQ7FiOQSLTKbM7Eh5jyrzA9L9BHmuqylpz3rp1ecAGDlyi zG7A== 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 :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=ACUfgclH7/EFflVDfjfOuC7euEnaT3w2lVC28pNiOx4=; b=Qi9OSp0CJYA1V3mwJ4M49PzCm/xcvcmbLqq39TdAkXRLTgzQ8e0iCzagPuQ7cnv9Bz stj57o38M1936AbA3BbTD7iGKvjFA04KYsHscbJE69jez61OY9FYtEHK5AnL1ALFQMX2 zQykgkXk1VzqnFW0PftzPXzqcawTJBzWwzJCYPLs1Fyyv7r0sjVIGr95j+RsfbkgZsT6 NJbAVnbcyVV5JDtuJnTLJsLlWnUo9ydxcYpThw5VqizjdnmemQGsmkBwxQoOYq2Tlg9c 1IkFc5P6doc0bMj8VqkaY1nLtPh/Fu6SJOqdV3his80HgiOgsgteSbrG0RUavSuETDie VCSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XLXmi8lY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w16si6349524edr.110.2020.05.18.03.31.26; Mon, 18 May 2020 03:31:50 -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=pass header.i=@kernel.org header.s=default header.b=XLXmi8lY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726490AbgERK3m (ORCPT + 99 others); Mon, 18 May 2020 06:29:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:60764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgERK3m (ORCPT ); Mon, 18 May 2020 06:29:42 -0400 Received: from pobox.suse.cz (nat1.prg.suse.com [195.250.132.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A4B9020657; Mon, 18 May 2020 10:29:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589797781; bh=arObw6BOIgBBUZeksezIt2wHSMyc4GY++N1SgQCNWYU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=XLXmi8lYEgfVAf1iAAlNqfd9FbKq/O1BYHhqOu6QaRtVcGF9TUXzxSfFUstCRX1PI djnTSpO9reSXFNM5T6CelZdwu7RLwc00rzclzjq/k6OkWYBYZB5iXAuy0IUER1bWS/ bjRw3CklOp4wvePz3Op4MStBNXFDM/k6xBoSaVDc= Date: Mon, 18 May 2020 12:29:37 +0200 (CEST) From: Jiri Kosina To: Christophe Leroy cc: WANG Wenhu , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Kate Stewart , Greg Kroah-Hartman , Allison Randal , Thomas Gleixner , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, wenhu.pku@gmail.com Subject: Re: [PATCH] powerpc/sysdev: fix compile errors In-Reply-To: <62251ec1-dd42-6522-dcb2-613838cd5504@c-s.fr> Message-ID: References: <20200302053801.26027-1-wenhu.wang@vivo.com> <62251ec1-dd42-6522-dcb2-613838cd5504@c-s.fr> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Mar 2020, Christophe Leroy wrote: > > Include linux/io.h into fsl_85xx_cache_sram.c to fix the > > implicit-declaration compile errors when building Cache-Sram. > > > > arch/powerpc/sysdev/fsl_85xx_cache_sram.c: In function > > ‘instantiate_cache_sram’: > > arch/powerpc/sysdev/fsl_85xx_cache_sram.c:97:26: error: implicit declaration > > of function ‘ioremap_coherent’; did you mean ‘bitmap_complement’? > > [-Werror=implicit-function-declaration] > > cache_sram->base_virt = ioremap_coherent(cache_sram->base_phys, > > ^~~~~~~~~~~~~~~~ > > bitmap_complement > > arch/powerpc/sysdev/fsl_85xx_cache_sram.c:97:24: error: assignment makes > > pointer from integer without a cast [-Werror=int-conversion] > > cache_sram->base_virt = ioremap_coherent(cache_sram->base_phys, > > ^ > > arch/powerpc/sysdev/fsl_85xx_cache_sram.c:123:2: error: implicit declaration > > of function ‘iounmap’; did you mean ‘roundup’? > > [-Werror=implicit-function-declaration] > > iounmap(cache_sram->base_virt); > > ^~~~~~~ > > roundup > > cc1: all warnings being treated as errors > > > > Fixed: commit 6db92cc9d07d ("powerpc/85xx: add cache-sram support") > > Signed-off-by: WANG Wenhu > > Reviewed-by: Christophe Leroy As this doesn't seem to have been picked up for linux-next yet, I am picking it up now. Thanks, -- Jiri Kosina SUSE Labs