Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751992Ab0K3Cno (ORCPT ); Mon, 29 Nov 2010 21:43:44 -0500 Received: from nbd.name ([46.4.11.11]:54476 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751410Ab0K3Cnn (ORCPT ); Mon, 29 Nov 2010 21:43:43 -0500 Message-ID: <4CF464D6.2020507@openwrt.org> Date: Tue, 30 Nov 2010 03:43:34 +0100 From: Felix Fietkau User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Joe Perches CC: peter@stuge.se, ath9k-devel@venema.h4ckr.net, linux-kernel@vger.kernel.org, "Luis R. Rodriguez" , linux-wireless Subject: Re: [ath9k-devel] [PATCH wireless-next] ath: Rename ath_print to ath_debug References: <5febb0e1fba0ec2bb77f6ade8b251ba0edf4614c.1290988277.git.joe@perches.com> <20101129060732.5130.qmail@stuge.se> <4CF42C17.2070500@openwrt.org> <1291081185.16349.133.camel@Joe-Laptop> In-Reply-To: <1291081185.16349.133.camel@Joe-Laptop> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2240 Lines: 53 On 2010-11-30 2:39 AM, Joe Perches wrote: > On Mon, 2010-11-29 at 23:41 +0100, Felix Fietkau wrote: >> On 2010-11-29 7:07 AM, Peter Stuge wrote: >> > Luis R. Rodriguez wrote: >> >> On Sun, Nov 28, 2010 at 3:53 PM, Joe Perches wrote: >> >> > Make the function name match the function purpose. >> >> > ath_debug is a debug only facility. >> >> > ath_print seems too generic a name for a debug only use. >> >> Nack, I don't see the point. >> > >> > The point is to improve readability. I like the patch. >> And how exactly does this improve readability? Don't get me wrong, I >> generally like to see more cleanups merged to the ath/ath9k drivers >> (they do need it, after all). > > It's considered polite to cc the patch author. Sorry, I forgot to add you back. The Cc list was cleared somewhere in this thread and I added a few entries back, but apparently accidentally dropped some of them again. > print is generic, debug is specific. > This function has a specific use for debugging > not a generic use all for logging. > > If it was ath_print(level, etc) with KERN_ > passed as the first argument that'd be similar > to other kernel calls. As is, it's not. > >> But in my opinion, simple renaming churn like this does nothing but >> annoy people who want to get other work done at the same time. > > This sort of thing can be done when other changes have > just been merged to minimize conflicts. > >> Consider the large number of lines touched (and the potential merge >> conflicts with other code because of that), relative to the microscopic >> aesthetic gain (if any). >> >> Instead I'd like to see more cleanups that go beyond trivial function >> renames. > > I gauge my willingness to spend time on subsystems on > the maintainers willingness to merge things that improve > readability and correctness. I'm not trying to discourage you from spending time on improving this code, just doubting the usefulness of such simple function renames. - Felix -- 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/