From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbbLXT6q (ORCPT ); Thu, 24 Dec 2015 14:58:46 -0500 Received: from mail.skyhub.de ([78.46.96.112]:43095 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbbLXT6n (ORCPT ); Thu, 24 Dec 2015 14:58:43 -0500 Date: Thu, 24 Dec 2015 20:58:37 +0100 From: Borislav Petkov To: Toshi Kani Cc: Dan Williams , Andrew Morton , linux-arch@vger.kernel.org, Linux MM , "linux-kernel@vger.kernel.org" , Linus Torvalds , "Rafael J. Wysocki" Subject: Re: [PATCH 01/11] resource: Add System RAM resource type Message-ID: <20151224195837.GE4128@pd.tnic> References: <1450283759.20148.11.camel@hpe.com> <20151216174523.GH29775@pd.tnic> <20151216181712.GJ29775@pd.tnic> <1450302758.20148.75.camel@hpe.com> <20151222113422.GE3728@pd.tnic> <1450814672.10450.83.camel@hpe.com> <20151223142349.GG30213@pd.tnic> <1450923815.19330.4.camel@hpe.com> <1450976937.19330.11.camel@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1450976937.19330.11.camel@hpe.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 24, 2015 at 10:08:57AM -0700, Toshi Kani wrote: > As for checkpatch, I noticed that commit 9c0ece069b3 removed "feature > -removal.txt" file, and checkpatch removed this check in commit > 78e3f1f01d2. checkpatch does not have such check since then. So, I am > inclined not to add this check back to checkpatch. I didn't mean that. Rather, something along the lines of, for example, the DEFINE_PCI_DEVICE_TABLE matching but match those resource matching functions using the strings, i.e., "(walk_iomem_res|find_next_iomem_res|region_intersects)" or so and warn when new code uses them and that it should rather use the new desc-matching variants. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.