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 C8315C001B0 for ; Fri, 14 Jul 2023 18:08:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 319C68D0009; Fri, 14 Jul 2023 14:08:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A2D18D0005; Fri, 14 Jul 2023 14:08:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1439C8D0009; Fri, 14 Jul 2023 14:08:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 0064D8D0005 for ; Fri, 14 Jul 2023 14:08:24 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id A76E080321 for ; Fri, 14 Jul 2023 18:08:24 +0000 (UTC) X-FDA: 81011002128.18.720B519 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf03.hostedemail.com (Postfix) with ESMTP id AC19C20026 for ; Fri, 14 Jul 2023 18:08:22 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=fSzjTQK8; dmarc=none; spf=pass (imf03.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1689358102; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=TMo/AOM34ddQrhfLTYMaQS7nKWKeGZfENDCLwpV18ek=; b=0N0Sxiaz81x0qk+3t4tKSeTgn+BpF8Vt+nuN2fTaB4bf9uswz/wSJKqwYC8nqq5emqSo63 vd+DBxIcDBKWREXRIOIBn6woQTiw4xNk8RiFlHNxRcfk8IQEd1JIU04zHeivz3e/tMJeZq NF4hpt6fg/RdIfEZFYDt1OxcRka+mxk= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=fSzjTQK8; dmarc=none; spf=pass (imf03.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1689358102; a=rsa-sha256; cv=none; b=e7dyxZmK8S5b5lE6SsQGQniAWuVQKLVUbjOIpfTflWf8764Lmpf7Td2/fLlvrmMtyTwm7l +KGwzaqo4rWM8tmuOoU1nkaKE6HqtAFit0Xi1doskoPnhExrdppdd16jEusnTGkS079hxq 5L25mxMMTkNNQXMKMpsxDNVBZPqG1Jg= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8730761CEA; Fri, 14 Jul 2023 18:08:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95FD0C433C8; Fri, 14 Jul 2023 18:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1689358101; bh=cOah2wqbTG/or6RUsLhiInE63S3Obr/iI4/ZAF0QdsQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fSzjTQK8TrhHROz7kJJUSdVBaVzIdy6cmez8qT6Nk7+Og4FZm8exawmTUUKK/Pqri 44CvkqGzxY9roVpcBzb1x9iULJW12iBXwDlZui+bwZBJPlt3nkDevK6zi5wAUrhBRl lO/+ZyN/a8G2yyW0V3AKAWCOsfYVEQcD0dhcn0x0= Date: Fri, 14 Jul 2023 11:08:19 -0700 From: Andrew Morton To: Baoquan He Cc: kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Niklas Schnelle , Christoph Hellwig , "Mike Rapoport (IBM)" Subject: Re: [akpm-mm:mm-unstable 93/173] drivers/clk/clk-fixed-mmio.c:33:2: error: call to undeclared function 'iounmap'; ISO C99 and later do not support implicit function declarations Message-Id: <20230714110819.a7a06160032e0f4d350bf99e@linux-foundation.org> In-Reply-To: References: <202307131033.JgvCSVz4-lkp@intel.com> <20230713092618.9a25417dc886b4f61660fe17@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: AC19C20026 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: pa4mfcmzedwszsswzmyxssrksu7hmzh7 X-HE-Tag: 1689358102-38919 X-HE-Meta: U2FsdGVkX18L0xL7K/76TGkHXvN2i9oeiFBsHWpca0hldVRoucjXUXb3HDOZx8YDNNL/JpWB0l7VlNO0X+1t5OvxLj5/N/7bLzJunEd872d1eMSSL41FaNmmjCfe5Qgoe8eO+aTIXN9Cftx0cdWxj/Uf5Jf8rgAQfUKd/oO1t9PI4a58zBCtscbdcHoQKugTy+5+ZA2Cpo6qqSFlH/asG7HcfwjIrArVsCNTfl8rAnDz4gADavlQ7+JeR0L/QggkAqQxEDu7/3e19Vx4aPlOVUEVrKIJNP4uAgGF75F04g9K34iCfjkhs0DasxjMt4Z8x8DCxeVpzQnxIyvNMwcUYAflqepmPtxr+V4SLSOLOBgko/i5L0+y8KYPtHBiRj7tPgrX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x/FqwLDfp5ThAh01l3eIIKw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000008, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, 14 Jul 2023 07:59:14 +0800 Baoquan He wrote: > > > All errors (new ones prefixed by >>): > > > > > > In file included from drivers/clk/clk-fixed-mmio.c:13: > > > In file included from include/linux/io.h:13: > > > In file included from arch/s390/include/asm/io.h:78: > > > include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] > > > 547 | val = __raw_readb(PCI_IOBASE + addr); > > > | ~~~~~~~~~~ ^ > > > > Thanks. When I tried that config I got > > These two kinds of errors have been reported many times. > > This PCI_IOBASE warning will be fixed by Niklas's patch at below: > > https://lore.kernel.org/20230522105049.1467313-1-schnelle@linux.ibm.com/ > > > Nathan told this when he reviewed by patch at this sub-thread: > https://lore.kernel.org/all/20230612160237.GA199007@dev-arch.thelio-3990X/T/#u > > Quote his words here: > === > I believe that this series [1] by Niklas Schnelle should take care of > the PCI_IOBASE warnings (which are not Hexagon specific), so there is no > need to worry about them when they show up in build reports. > > [1]: https://lore.kernel.org/20230522105049.1467313-1-schnelle@linux.ibm.com/ OK, I'll restore the series "mm: ioremap: Convert architectures to take GENERIC_IOREMAP way", v8. This kind of already-was-there warning causes quite some trouble. Attempts to fix such fallout are appreciated.