Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756077Ab0GANxq (ORCPT ); Thu, 1 Jul 2010 09:53:46 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:54662 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756054Ab0GANxo (ORCPT ); Thu, 1 Jul 2010 09:53:44 -0400 Date: Thu, 1 Jul 2010 14:53:34 +0100 From: Matthew Garrett To: Axel Lin Cc: linux-kernel , Carlos Corbacho , Len Brown , Thomas Renninger , platform-driver-x86@vger.kernel.org Subject: Re: [PATCH] acer-wmi: make dmi_matched to return 1 instead of 0 Message-ID: <20100701135334.GE31804@srcf.ucam.org> References: <1277875936.22265.2.camel@mola> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1277875936.22265.2.camel@mola> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 18 On Wed, Jun 30, 2010 at 01:32:16PM +0800, Axel Lin wrote: > dmi_check_system() walks the table running matching functions until someone > returns non zero or we hit the end. > > This patch makes dmi_matched to return 1 so dmi_check_system() return > immediately when a match is found. > > Signed-off-by: Axel Lin Applied, thanks. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/