Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp340297ybh; Wed, 18 Mar 2020 00:38:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtm/rPtQTy46QNxGqzY6nywdI4G6Et5jBWukkjLbH36FHhpApTE9bWbqr+DPAwws1i5VKhe X-Received: by 2002:a05:6830:1488:: with SMTP id s8mr2626974otq.133.1584517104961; Wed, 18 Mar 2020 00:38:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584517104; cv=none; d=google.com; s=arc-20160816; b=JlVPOvIC5ZB8qBNftfjdotoIZ4hhPisIlyUnsJFekwJFt9jn0W1DGVO7rCXQLJytIn 42b16gSgQ1vx7NZay/cGH/kPqYnNP+4WxGY2maLfn8llM1FE2OALvFHUpWpnjgfjjwsA sbc0EJfkxxzf2EOB5GGnseb34Y7v4qxOvY2oBuMi4h+p92eIlQ8hMmxwKkgd6YSOVpUY OHkILk5RWtlrat8ENrlLqwcIT1QJneO9l6+mQRg0T3tTYnbBkOOia3a3kx2hWq61zVJs MzE+HvY22Rdn2Nk03tWN8vHkPKVyhlThMzT94GVc6/bRmYn+0QbCr6qpVL1wgtQL8mFo fDaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=4dzXvA2NMObxQXt/ymjh9Brrv6NXSf5xDWb+3T2DFOU=; b=mmHt2ZD5UNLQLAxM15Jv40hwHYACF0cCfV78x0c9v5fu/S1ZOyYKpj5YxiimfUfNLI l9iIdBcN9mGTvCanwBd2SX2BvNtNMCwMf8UTzSLS27KfNtg6uaWR+seCmLpUCoNeuoVb khRw1Lzv5T1ExA2YpdEp1WA1xaj739TSh88bSQuAjHZAaaqeQ3nxweTfdlUpEHeT5UHe cctgSGiVpcLkvNkbImCuJtE+qUsmefQJ0+a+cX5d1wYaG2ZU92G8UX2HEoVJMzRA3A+I DqW5uKwQUQ+ba3yQC90VaSIVp6X6hTwAZSQnTZFiFB6mqG+EZ0SUbA+XPLMWdNuFY9MV fkpw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5si3017007oii.181.2020.03.18.00.38.12; Wed, 18 Mar 2020 00:38:24 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbgCRHgc (ORCPT + 99 others); Wed, 18 Mar 2020 03:36:32 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:10820 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726452AbgCRHgb (ORCPT ); Wed, 18 Mar 2020 03:36:31 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02I7aATG113937 for ; Wed, 18 Mar 2020 03:36:30 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2yu96ejywk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 18 Mar 2020 03:36:30 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Mar 2020 07:36:28 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 18 Mar 2020 07:36:25 -0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02I7aOS247579388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Mar 2020 07:36:24 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A9B96A4054; Wed, 18 Mar 2020 07:36:24 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CDD24A4066; Wed, 18 Mar 2020 07:36:23 +0000 (GMT) Received: from linux.ibm.com (unknown [9.148.202.35]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 18 Mar 2020 07:36:23 +0000 (GMT) Date: Wed, 18 Mar 2020 09:36:22 +0200 From: Mike Rapoport To: Wang Wenhu Cc: Guo Ren , Will Deacon , Thomas Gleixner , Andrew Morton , linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@vivo.com, trivial@kernel.org Subject: Re: [PATCH] csky: delete redundant micro io_remap_pfn_range References: <20200318044702.104793-1-wenhu.wang@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200318044702.104793-1-wenhu.wang@vivo.com> X-TM-AS-GCONF: 00 x-cbid: 20031807-0020-0000-0000-000003B65568 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20031807-0021-0000-0000-0000220EBD63 Message-Id: <20200318073622.GB17919@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.645 definitions=2020-03-18_02:2020-03-17,2020-03-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=747 bulkscore=0 malwarescore=0 suspectscore=1 adultscore=0 priorityscore=1501 spamscore=0 phishscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003180034 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 17, 2020 at 09:47:01PM -0700, Wang Wenhu wrote: > Same definition exists in "include/asm-generic/pgtable.h", > which is included just below the lines to be deleted. > > #ifndef io_remap_pfn_range > #define io_remap_pfn_range remap_pfn_range > #endif > > Signed-off-by: Wang Wenhu Acked-by: Mike Rapoport > --- > arch/csky/include/asm/pgtable.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/csky/include/asm/pgtable.h b/arch/csky/include/asm/pgtable.h > index 9b7764cb7645..bde812a785c8 100644 > --- a/arch/csky/include/asm/pgtable.h > +++ b/arch/csky/include/asm/pgtable.h > @@ -306,9 +306,6 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address, > /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ > #define kern_addr_valid(addr) (1) > > -#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ > - remap_pfn_range(vma, vaddr, pfn, size, prot) > - > #include > > #endif /* __ASM_CSKY_PGTABLE_H */ > -- > 2.17.1 > -- Sincerely yours, Mike.