Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1043960imm; Wed, 4 Jul 2018 10:24:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdbL1iG5d2KeKW1m1XHP65EXYF1WlfdsaRBVNy7L+kYmikeiHeFf/crkhBcPwBq96pbsAyi X-Received: by 2002:a62:6659:: with SMTP id a86-v6mr3057531pfc.31.1530725048153; Wed, 04 Jul 2018 10:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530725048; cv=none; d=google.com; s=arc-20160816; b=u450+dbMVq0roOuyxy8PLPIjYafH4vcVja4pipSPgzgfMwVc4TXvug0pAy71wjKM33 2aIIXedNJYvMHIQiWJZNp9F8zOfv8oGRZCFkJRKNHPhJAh4X6Fh/UX77ulklZFcp20IJ qE8nAMwFsjrw2lgaIM/FocHw3ftes13lX8PPvhk3u88PorBvDLtPEcJnK015GFDR7dTZ dKA2d+AAcBPCWezsUkBgHz1mi012UC4AJwhT8Btdhvl6FKyaGDDN7AdncnYFVtpROJ8W bekWps4/c8P6rkRIC4uaXhf8wCRojnWDiqQ3C09cLOaR8pGSlJHcldT9j0T4z5QPbSb0 U/jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=whwYetYDi3y7J7LikJiGDeNP5dmRfxWmPjgUiNRKYog=; b=XNlLPbEWDmbEROxRxK2UXwKzjF3keXZe/y9rRXsnNh+GLOQHoQv4hNjy2MrnkOpmJW hJl1iA8KTI7qh25z73R860stet9mmdDszuwNwavf/yLMm5x/F9WaMeT+LlDtosRsSs3B 9jPCbufkgCmDZmbUZ3WAbMQXoK6mwfNMpKQfnWbVE0erD/DfBBsYLlbiiqexAujVjBUh 0ckyXHEHIDUQ2kGfDtSpTxxOB249v+8S9SUyS/pPKjOMBYW9+BgO6FeTasGKPROkCHyL JDemQhKwPQac6mnqPGf8J3YpK+Fvn2o4sUwPWgiuJN1L2c54Gn+WNfKXRYeIJQBisUjw 0AXQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8-v6si3763720pgr.379.2018.07.04.10.23.53; Wed, 04 Jul 2018 10:24:08 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753021AbeGDRWh (ORCPT + 99 others); Wed, 4 Jul 2018 13:22:37 -0400 Received: from smtprelay0166.hostedemail.com ([216.40.44.166]:37081 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752237AbeGDRWg (ORCPT ); Wed, 4 Jul 2018 13:22:36 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id CD70E837F242; Wed, 4 Jul 2018 17:22:35 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:541:599:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3653:3654:3865:3867:3868:3872:3873:4321:5007:6119:7903:8603:10004:10400:10848:11026:11232:11658:11914:12043:12438:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21365:21433:21451:21627:30054:30090:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.14.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: hair87_8ae181ee4db37 X-Filterd-Recvd-Size: 2302 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Wed, 4 Jul 2018 17:22:34 +0000 (UTC) Message-ID: Subject: Re: [PATCH] mm/memblock: replace u64 with phys_addr_t where appropriate From: Joe Perches To: Mike Rapoport Cc: Andrew Morton , linux-mm , lkml , Michal Hocko , Matthew Wilcox , Sergey Senozhatsky , Linus Torvalds Date: Wed, 04 Jul 2018 10:22:32 -0700 In-Reply-To: <20180704070305.GB4352@rapoport-lnx> References: <1530637506-1256-1-git-send-email-rppt@linux.vnet.ibm.com> <20180703125722.6fd0f02b27c01f5684877354@linux-foundation.org> <063c785caa11b8e1c421c656b2a030d45d6eb68f.camel@perches.com> <20180704070305.GB4352@rapoport-lnx> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-07-04 at 10:03 +0300, Mike Rapoport wrote: > On Tue, Jul 03, 2018 at 01:24:07PM -0700, Joe Perches wrote: > > On Tue, 2018-07-03 at 12:57 -0700, Andrew Morton wrote: > > > Did you see all this checkpatch noise? > > > > > > : WARNING: Deprecated vsprintf pointer extension '%pF' - use %pS instead > > > : #54: FILE: mm/memblock.c:1348: > > > : + memblock_dbg("%s: %llu bytes align=0x%llx nid=%d from=%pa max_addr=%pa %pF\n", > > > : + __func__, (u64)size, (u64)align, nid, &min_addr, > > > : + &max_addr, (void *)_RET_IP_); > > > : ... > > > > %p[Ff] got deprecated by commit 04b8eb7a4ccd9ef9343e2720ccf2a5db8cfe2f67 > > > > I think it'd be simplest to just convert > > all the %pF and %pf uses all at once. > > > > $ git grep --name-only "%p[Ff]" | \ > > xargs sed -i -e 's/%pF/%pS/' -e 's/%pf/%ps/' > > > > and remove the appropriate Documentation bit. > > > > Something like this: not quite as you either need to run the command multiple times or use $ git grep --name-only "%p[Ff]" | \ xargs sed -i -e 's/%pF/%pS/g' -e 's/%pf/%ps/g'