From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40770C04A68 for ; Sat, 30 Jul 2022 12:42:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 585B78E0001; Sat, 30 Jul 2022 08:42:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5360C6B0072; Sat, 30 Jul 2022 08:42:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 424268E0001; Sat, 30 Jul 2022 08:42:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 32B006B0071 for ; Sat, 30 Jul 2022 08:42:11 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 04F7D160409 for ; Sat, 30 Jul 2022 12:42:10 +0000 (UTC) X-FDA: 79743728862.02.4396714 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) by imf27.hostedemail.com (Postfix) with ESMTP id 672894003E for ; Sat, 30 Jul 2022 12:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=oeNZ0PJhM9rp4UHPL52fPxiKjjrfrP4IkUFZ9v01euI=; b=CIen6hIKd1RhphLtkvm4asmwM+ ixJCdYYKVGvjjgLZgTJptkrSNcKKB/ADtBC2slB1taZz3/qpUxziCbeCAFcaAt8g0fmX9YwbIAALW 49n0ttiGccWjkMXJjNNfziREQaNg42aAQeJ9jLgrEZhvO6tprVqN3ffxauqX9LFbk1TV3A0D7bjrA 75hM1d+RLyH4YR1tL1tSBW5WfzeDiJtKeT+/AXbkwcZtPvNkv6eluDCD1iyNF3Bj2uZiwWkNcyOLg 88Z0BrjCDDLHzrOdybYGjBIROFx/DlZDvoXSvqTH9qUGrhko91rsFM60+AmKp/seajcArrEk53Nv4 OcLcx0XQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33632) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oHln2-0000Ez-So; Sat, 30 Jul 2022 13:41:58 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oHlmy-00059C-DR; Sat, 30 Jul 2022 13:41:52 +0100 Date: Sat, 30 Jul 2022 13:41:52 +0100 From: "Russell King (Oracle)" To: kernel test robot Cc: Kefeng Wang , kbuild-all@lists.01.org, Linux Memory Management List , Will Deacon , Christoph Hellwig , Arnd Bergmann Subject: Re: [linux-next:master 4676/13542] drivers/remoteproc/rcar_rproc.c:45:20: sparse: sparse: incorrect type in argument 1 (different address spaces) Message-ID: References: <202207301837.luqV6gPB-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202207301837.luqV6gPB-lkp@intel.com> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659184930; a=rsa-sha256; cv=none; b=DcEAJvt/COV8YoyibP7uzk2k68h2JEd5o9nLG6tJPfqbXmRTPhA+lBHt0ZzSdWChlzKLhy HFlyFdbAYl78NuEPbY6rIgXfmWuoDwWyBo8JbhFBj+obMiKEQnQ2MP5ib8/xq/nAmmrcee oORLa3MVafv1nXhu/6D6Rb4pShbl0fY= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=armlinux.org.uk header.s=pandora-2019 header.b=CIen6hIK; dmarc=pass (policy=none) header.from=armlinux.org.uk; spf=none (imf27.hostedemail.com: domain of "linux+linux-mm=kvack.org@armlinux.org.uk" has no SPF policy when checking 78.32.30.218) smtp.mailfrom="linux+linux-mm=kvack.org@armlinux.org.uk" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659184930; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=oeNZ0PJhM9rp4UHPL52fPxiKjjrfrP4IkUFZ9v01euI=; b=T0YfDpoYxT6PcN9EikKFLe9QdYwMc/h+Mwodn4YzP+MKjDZmFFyABcHR2+ndRfWeMlwzP5 I8hr2RdwwPVru0fKKq4Q2asfo89ViP7/rNVpJ8OS6h2PmLl9sdqRFoWVZzm6gBiHYZG8rT kEBBTwmTjh2nW6m26+Rr1/KG1VkhyEs= X-Rspamd-Queue-Id: 672894003E X-Rspam-User: Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=armlinux.org.uk header.s=pandora-2019 header.b=CIen6hIK; dmarc=pass (policy=none) header.from=armlinux.org.uk; spf=none (imf27.hostedemail.com: domain of "linux+linux-mm=kvack.org@armlinux.org.uk" has no SPF policy when checking 78.32.30.218) smtp.mailfrom="linux+linux-mm=kvack.org@armlinux.org.uk" X-Rspamd-Server: rspam09 X-Stat-Signature: 957jdt3fexiz6id6e1weu1ye8hzk7kjq X-HE-Tag: 1659184930-696725 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, Jul 30, 2022 at 07:08:06PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 7c5e07b73ff3011c9b82d4a3286a3362b951ad2b > commit: d803336abdbc1bfacdb32b2cf9f4fdbee072b8ee [4676/13542] ARM: mm: kill unused runtime hook arch_iounmap() This is not a bug in this commit; this commit does not need fixing. This is a bug in drivers/remoteproc/rcar_rproc.c: struct rproc_mem_entry { void *va; static int rcar_rproc_mem_alloc(struct rproc *rproc, struct rproc_mem_entry *mem) { void *va; va = ioremap_wc(mem->dma, mem->len); This is a bug. static int rcar_rproc_mem_release(struct rproc *rproc, struct rproc_mem_entry *mem) { iounmap(mem->va); This is also a bug. drivers/remoteproc/rcar_rproc.c needs fixing not to ignore the __iomem annotation when dealing with iomem. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!