Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754075AbZGTVY2 (ORCPT ); Mon, 20 Jul 2009 17:24:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753529AbZGTVY1 (ORCPT ); Mon, 20 Jul 2009 17:24:27 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:58687 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753266AbZGTVY0 (ORCPT ); Mon, 20 Jul 2009 17:24:26 -0400 Date: Mon, 20 Jul 2009 23:24:24 +0200 (CEST) From: Jan Engelhardt To: Greg Kroah-Hartman cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, virtualization@lists.osdl.org, Hank Janssen , Haiyang Zhang , Sam Ramji , shemminger@linux-foundation.org Subject: Re: [patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux In-Reply-To: <20090720160025.GA20249@kroah.com> Message-ID: References: <20090720160025.GA20249@kroah.com> User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2250 Lines: 48 On Monday 2009-07-20 18:00, Greg Kroah-Hartman wrote: > >I'm happy to announce, that after many months of discussions, Microsoft >has released their Hyper-V Linux drivers under the GPLv2. Following >this message, will be the patches that add the drivers to the >drivers/staging/ tree, and a whole bunch of cleanups. > >It's taken a long road to get here, and I'd like to thank the following >people who made this possible: > - Steve Hemminger for the initial prodding and extreme patience > - Hank Janssen for providing the code and working with me to get it > into a workable and semi-mergable state. His involvement within > Microsoft was also invaluable. > - Sam Ramji for his push within Microsoft to make this happen in a > manner that works with the Linux community. > - Novell for sponsoring my work on the Linux Driver project, without > which, this would not have even been possible. (Your title as Maintainer of Crap has been well earned. But crap should not be maintained, it should be improved.) I took a random patch to look at (add-the-hyper-v-virtual-network-driver.patch to be precise). I think the /hv/ subdirectory name should be expanded a little (to, say, /hyper-v/); we're not in the Unix days anymore where space is at such a premium that people even strip the last e off /usr. Our wireless drivers also don't live in /wl/. And since hv does not seem to be related to a hypervisor — cf. sunhv.c. As for the code… I was immediately greeted by the screaming-uppercase typedef crap jungle that is so redundant[1] yet typical in many commercial products. One may hope that the evolution of the posted hyper-v code brings a coding strategy breeze into the house of Microsoft. [1] DWORD they could have replaced by uint32_t once it became available via C99's stdint.h. The LPCSTR crap only makes sense if you are a lazy typist, but I would not call code doing things like LPCSTR clean. At least it's one thing - consistent. Consistently hard to read, though. -- 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/