From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932880Ab1KPBSS (ORCPT ); Tue, 15 Nov 2011 20:18:18 -0500 Received: from perches-mx.perches.com ([206.117.179.246]:55145 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932813Ab1KPBSQ (ORCPT ); Tue, 15 Nov 2011 20:18:16 -0500 Message-ID: <1321406294.9189.2.camel@Joe-Laptop> Subject: Re: [PATCH 4/4] mmc: Add mmc_host_ logging From: Joe Perches To: NamJae Jeon Cc: Nicolas Ferre , David Brown , Daniel Walker , Bryan Huntsman , Nicolas Pitre , Chris Ball , Guennadi Liakhovetski , Ian Molton , Bruce Chang , Harald Welte , Pierre Ossman , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-omap@vger.kernel.org Date: Tue, 15 Nov 2011 17:18:14 -0800 In-Reply-To: References: <631c53d126feff0a99b61d9c9a00b308d2b638ee.1321398815.git.joe@perches.com> <1321405049.21286.35.camel@Joe-Laptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.1- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2011-11-16 at 10:14 +0900, NamJae Jeon wrote: > 2011/11/16 Joe Perches : > > On Wed, 2011-11-16 at 09:52 +0900, NamJae Jeon wrote: > >> 2011/11/16 Joe Perches : > >> > Centralize the pr_ uses of mmc_hostname into specific > >> > mmc_host_ calls to allow a flexible presentation style > >> > and shorten the code a bit. > >> I don't know why pr_info should be surely replaced by mmc_host_info. > >> if it is needed for only host name, I think that existing > >> pr_info/err/debug is sufficient. > > Please trim your replies and read the patch description. > my concern is that they feel confuse when coder add print code because > they should use mmc_host for hostname, and pr_ is used > in the other case. That's one point of view. It is the same issue though as using dev_ when you have a struct device * and also using pr_ otherwise.