Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2282481ybl; Sun, 18 Aug 2019 22:48:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5z07ctljSq5qRDj3u23Lfz6fQLSqyDgcBKida1yKnf2sVW0EJyNK6ys4O/AEIxN5ru7tt X-Received: by 2002:aa7:9293:: with SMTP id j19mr23195972pfa.90.1566193725979; Sun, 18 Aug 2019 22:48:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566193725; cv=none; d=google.com; s=arc-20160816; b=pQwzzNZCufAojvO59+peiZwOHPV8POBh+R8XaMQLjZoS19rXfMbXK9zJR8jbQCSJS3 rMNzU3lwE+SSH3i8vphH5t3KO5t1MjhEjF9L6lQQbAUA2huRwFpss1dvD9FUybTOAlzB MXJgqSQd+Sde2n+EHbL3YZoxwC6kbsTORR2I/g0Rx33ngsSJ1bd+AkaPlbHK9sNJ2OGx i/bCLHm6AaBnpXJQX4udf7FmSoMk6UlRg6zMWDGNDsu81DeDVSR1pAhoHoh1JRbq4DIu AM5U/SQcEiNe27ocj+kIlGOXgjdKqHIv++lhKeexMctH4uT1h/zKv6kcP/epeHHxqsxT VxBA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=DP9LIBnmGurOKHDsAATgE6sCwz3mLb2G3xXn/HKUXy0=; b=0QWTbmBDOY/Jp552ThD+TjGQIqzUUoRIcvF6S+VhPoC1TrANwyuvOwjeSvOndkQDNw lg21EMB6SYSDa1VzNouYPAt+9CoblaZ9pYfc8qP4rm+XEpKM+xFEQPQBU9Sdh6JHcmJ3 //HNiGHlhseBpfYum0Xvuazj9zDxUTULH+VDeijF1drEprzsSjO2jUBA44ZrSOEBespF yp27Y+aFUdBB9sNCfDDNjb0gbuEWihghWGmdCE7BnsHhHO4AMYba3sXrte7J6WaFd6kl nybVUIX9KTb4/X/DQIotj/fW+fBNomAX7ldDHDoBSlXtacQYgPYdE9s91GLJpeqFhZqh FDNw== 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 c5si9533242pfr.25.2019.08.18.22.48.30; Sun, 18 Aug 2019 22:48:45 -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 S1726607AbfHSFrW (ORCPT + 99 others); Mon, 19 Aug 2019 01:47:22 -0400 Received: from smtprelay0162.hostedemail.com ([216.40.44.162]:58588 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725536AbfHSFrW (ORCPT ); Mon, 19 Aug 2019 01:47:22 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 94ED253B3; Mon, 19 Aug 2019 05:47:20 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::,RULES_HIT:41:355:379:599:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:1801:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3872:3873:3874:4321:4605:5007:7974:10004:10400:10848:11232:11233:11658:11914:12043:12296:12297:12679:12740:12760:12895:13019:13069:13071:13161:13229:13311:13357:13439:14180:14659:14721:21060:21080:21627:21740:30054:30056:30090:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.8.0.180 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:26,LUA_SUMMARY:none X-HE-Tag: salt01_5cf136d77bd2a X-Filterd-Recvd-Size: 2569 Received: from XPS-9350.home (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA; Mon, 19 Aug 2019 05:47:18 +0000 (UTC) Message-ID: <31cb3e54fe532630b45bb74ba4fc688eb86eab1f.camel@perches.com> Subject: Re: [PATCH] erofs: Use common kernel logging style From: Joe Perches To: Gao Xiang Cc: Gao Xiang , Greg Kroah-Hartman , linux-fsdevel , devel , linux-erofs , linux-kernel , Chao Yu , Miao Xie , Li Guifu , Fang Wei Date: Sun, 18 Aug 2019 22:47:17 -0700 In-Reply-To: <20190819055243.GB30459@138> References: <20190817082313.21040-1-hsiangkao@aol.com> <1746679415.68815.1566076790942.JavaMail.zimbra@nod.at> <20190817220706.GA11443@hsiangkao-HP-ZHAN-66-Pro-G1> <1163995781.68824.1566084358245.JavaMail.zimbra@nod.at> <20190817233843.GA16991@hsiangkao-HP-ZHAN-66-Pro-G1> <1405781266.69008.1566116210649.JavaMail.zimbra@nod.at> <20190818084521.GA17909@hsiangkao-HP-ZHAN-66-Pro-G1> <1133002215.69049.1566119033047.JavaMail.zimbra@nod.at> <20190818092839.GA18975@hsiangkao-HP-ZHAN-66-Pro-G1> <52e4e3a7f160f5d2825bec04a3bc4eb4b0d1165a.camel@perches.com> <20190819055243.GB30459@138> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.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 Mon, 2019-08-19 at 13:52 +0800, Gao Xiang wrote: > Hi Joe, Hello. > On Sun, Aug 18, 2019 at 10:28:41PM -0700, Joe Perches wrote: > > Rename errln, infoln, and debugln to the typical pr_ uses > > to the typical kernel styles of pr_ > > How about using erofs_err / ... to instead that? I've no opinion. It seems most fs/*/* filesystems actually do use pr_ sed works well if you want that. > - I can hardly see directly use pr_ for those filesystems in fs/... just fyi: There was this one existing pr_ use in erofs drivers/staging/erofs/data.c:366: pr_err("%s, readahead error at page %lu of nid %llu\n", drivers/staging/erofs/data.c-367- __func__, page->index, drivers/staging/erofs/data.c-368- EROFS_V(mapping->host)->nid);