Return-path: Received: from mail-qc0-f175.google.com ([209.85.216.175]:36261 "EHLO mail-qc0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753087Ab3KGHci (ORCPT ); Thu, 7 Nov 2013 02:32:38 -0500 MIME-Version: 1.0 In-Reply-To: <1383760556.7940.28.camel@joe-AO722> References: <1383684000.4387.42.camel@joe-AO722> <1383760556.7940.28.camel@joe-AO722> Date: Thu, 7 Nov 2013 07:32:37 +0000 Message-ID: (sfid-20131107_083243_252749_CE161CBD) Subject: Re: [PATCH] wcn36xx: Fix logging macro with unnecessary semicolon From: Eugene Krasnikov To: Joe Perches Cc: "Luis R. Rodriguez" , "John W. Linville" , wcn36xx , linux-wireless , netdev@vger.kernel.org, "linux-kernel@vger.kernel.org" , ath5k-devel@lists.ath5k.org, ath9k-devel , ath10k@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Joe, I personally like the idea of making some kind of framework on top of printing because all ath drivers are using the same printing approach and combining all that code in one place will reduce amount of code in each particular driver. As a true engineer i like when it's less code = less work to do = less bugs:) Suggestion is to send a patch with semicolon fix only and have a second round of convincing ath guys to change printing code. How does that sound? On Wed, Nov 6, 2013 at 5:55 PM, Joe Perches wrote: > On Wed, 2013-11-06 at 07:49 +0000, Eugene Krasnikov wrote: >> Hm... when it comes to semicolon the patch seems to be good. When it >> comes to dynamic debugging i think we should have a separate >> discussion about that. >> I personally like the whole idea about dynamic debug but if you want >> to change it i would suggest to have some kind of framework for all >> ath drivers(or maybe all wireless drivers). Because obviously you can >> find common code in every driver that defines it's own debug >> functions/debug levels and so on. Why not to make a framework with >> standard API/levels? > > You need to bring that up with the Atheros folk. > I've tried. The view seemed to be it was more > trouble than it was worth. > > > -- Best regards, Eugene