Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750713AbWA3Dth (ORCPT ); Sun, 29 Jan 2006 22:49:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750805AbWA3Dth (ORCPT ); Sun, 29 Jan 2006 22:49:37 -0500 Received: from hera.kernel.org ([140.211.167.34]:64724 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S1750713AbWA3Dtg (ORCPT ); Sun, 29 Jan 2006 22:49:36 -0500 Date: Sun, 29 Jan 2006 17:47:26 -0600 From: Marcelo Tosatti To: Alan Cox Cc: "Calin A. Culianu" , linux-kernel@vger.kernel.org, akpm@osdl.org, Willy Tarreau Subject: Re: [PATCH] Watchdog: Winsystems EPX-C3 SBC Message-ID: <20060129234726.GA20923@dmt.cnet> References: <1137266649.23269.2.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1137266649.23269.2.camel@localhost.localdomain> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 655 Lines: 20 On Sat, Jan 14, 2006 at 07:24:09PM +0000, Alan Cox wrote: > Some quick comments: > > + if (len) { > + epx_c3_pet(); > + } > > Doesn't need brackets (minor style) > > Otherwise it looks excellent but should use request_region and friends > to claim the two ports it uses. It misses locking to protect against two concurrent writers in case of a shared /dev/wdt file-descriptor? - 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/