Received: from eggs.gnu.org ([140.186.70.92]:40138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QylCb-0000zr-3v for qemu-devel@nongnu.org; Wed, 31 Aug 2011 09:51:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QylCZ-0005M3-P9 for qemu-devel@nongnu.org; Wed, 31 Aug 2011 09:51:37 -0400 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:61097 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QylCZ-0005Lp-Eh for qemu-devel@nongnu.org; Wed, 31 Aug 2011 09:51:35 -0400 Date: Wed, 31 Aug 2011 17:51:26 +0400 (MSD) From: malc In-Reply-To: <4E5E39DF.3080609@codemonkey.ws> Message-ID: References: <1314752751.84463.YahooMailClassic@web27003.mail.ukl.yahoo.com> <4E5D8BAA.9010302@codemonkey.ws> <4E5D9570.1030201@codemonkey.ws> <4E5E3789.3010603@codemonkey.ws> <4E5E39DF.3080609@codemonkey.ws> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] Add support for r6040 NIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, bifferos On Wed, 31 Aug 2011, Anthony Liguori wrote: > On 08/31/2011 08:39 AM, malc wrote: > > On Wed, 31 Aug 2011, Anthony Liguori wrote: > > > > > On 08/31/2011 08:17 AM, malc wrote: > > > > On Tue, 30 Aug 2011, Anthony Liguori wrote: > > > > > > > > > On 08/30/2011 08:30 PM, malc wrote: > > > > > > On Tue, 30 Aug 2011, Anthony Liguori wrote: > > > > > > > > > > > > > This won't even come close to passing checkpatch.pl > > > > > > > > > > > > Have you actually tried? > > > > > > > > > > Sigh. I was hoping checkpatch.pl was more useful than it appears to > > > > > be. > > > > > > > > > > At any rate, the patch doesn't follow CODING_STYLE. > > > > > > > > > > > > > Where? > > > > > > 3. Naming > > > > > > Variables are lower_case_with_underscores; easy to type and read. > > > Structured > > > type names are in CamelCase; harder to type but standing out. Scalar type > > > names are lower_case_with_underscores_ending_with_a_t, like the POSIX > > > uint64_t and family. Note that this last convention contradicts POSIX > > > and is therefore likely to be changed. > > > > Where in the patch this was violated, and do note that fields are not > > variables. > > fields are variables. And the struct names weren't all CamelCase. c&v please. The only thing i can agree with is descriptor_t other than that patch is just fine. > > Regards, > > Anthony Liguori > > > > > > > > > When wrapping standard library functions, use the prefix qemu_ to alert > > > readers that they are seeing a wrapped version; otherwise avoid this > > > prefix. > > > > And what ^^^ has to do with anything? > > > > > > > > Regards, > > > > > > Anthony Liguori > > > > > > > > > > [..snip..] > > > > > > > > > > -- mailto:av1474@comtv.ru