Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934928Ab3DOSuH (ORCPT ); Mon, 15 Apr 2013 14:50:07 -0400 Received: from mprc.pku.edu.cn ([162.105.203.9]:37641 "EHLO mprc.pku.edu.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934871Ab3DOSuG (ORCPT ); Mon, 15 Apr 2013 14:50:06 -0400 Message-ID: <50160.128.237.237.232.1366053081.squirrel@mprc.pku.edu.cn> In-Reply-To: <1365867399-21323-17-git-send-email-jiang.liu@huawei.com> References: <1365867399-21323-1-git-send-email-jiang.liu@huawei.com> <1365867399-21323-17-git-send-email-jiang.liu@huawei.com> Date: Tue, 16 Apr 2013 03:11:21 +0800 (CST) Subject: Re: [RFC PATCH v1 16/19] mm/unicore32: fix stale comment about VALID_PAGE() From: "Xuetao Guan" To: "Jiang Liu" Cc: "Andrew Morton" , "Yinghai Lu" , "Jiang Liu" , "David Rientjes" , "Wen Congyang" , "Mel Gorman" , "Minchan Kim" , "KAMEZAWA Hiroyuki" , "Michal Hocko" , "David Howells" , "Mark Salter" , "Jianguo Wu" , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, "Guan Xuetao" Reply-To: gxt@mprc.pku.edu.cn User-Agent: SquirrelMail/1.4.8-4.0.1.el5 MIME-Version: 1.0 Content-Type: text/plain;charset=gb2312 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1340 Lines: 42 > VALID_PAGE() has been removed from kernel long time ago, > so fix the comment. > > Signed-off-by: Jiang Liu > Cc: Guan Xuetao > Cc: linux-kernel@vger.kernel.org Thanks, Acked-by: Guan Xuetao > --- > arch/unicore32/include/asm/memory.h | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/arch/unicore32/include/asm/memory.h > b/arch/unicore32/include/asm/memory.h > index 5eddb99..debafc4 100644 > --- a/arch/unicore32/include/asm/memory.h > +++ b/arch/unicore32/include/asm/memory.h > @@ -98,12 +98,6 @@ > /* > * Conversion between a struct page and a physical address. > * > - * Note: when converting an unknown physical address to a > - * struct page, the resulting pointer must be validated > - * using VALID_PAGE(). It must return an invalid struct page > - * for any physical address not corresponding to a system > - * RAM address. > - * > * page_to_pfn(page) convert a struct page * to a PFN number > * pfn_to_page(pfn) convert a _valid_ PFN number to struct page * > * > -- > 1.7.9.5 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/