Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932341AbXIIScb (ORCPT ); Sun, 9 Sep 2007 14:32:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758364AbXIIScX (ORCPT ); Sun, 9 Sep 2007 14:32:23 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:39194 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758337AbXIIScX (ORCPT ); Sun, 9 Sep 2007 14:32:23 -0400 Date: Sun, 9 Sep 2007 19:30:40 +0100 From: Arjan van de Ven To: "Adrian McMenamin" Cc: "Dmitry Torokhov" , "Paul Mundt" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - keyboard support Message-ID: <20070909193040.2fb9d010@laptopd505.fenrus.org> In-Reply-To: <8b67d60709091001l3cd6adf6m2dab8e815f47435d@mail.gmail.com> References: <8b67d60709091001l3cd6adf6m2dab8e815f47435d@mail.gmail.com> Organization: Intel X-Mailer: Claws Mail 2.10.0 (GTK+ 2.11.6; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 24 On Sun, 9 Sep 2007 18:01:26 +0100 "Adrian McMenamin" wrote: > This patch adds support for the SEGA Dreamcast keyboard. > > Following suggestions from the inout maintainer it has been somewhat > rewritten since the previous posting > (http://lkml.org/lkml/2007/9/4/168). Hi, this driver in general is quite clean as well; I have only one suggestion for improvement. Right now you use a semaphore for locking, while all you really use it for is mutex semantics, I think it would be a good idea to convert the driver to use the actual mutex primitive; this will buy you a lot of extra automatic checking for bugs... Greetings, Arjan van de Ven - 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/