From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758007AbYGRVeD (ORCPT ); Fri, 18 Jul 2008 17:34:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751966AbYGRVdy (ORCPT ); Fri, 18 Jul 2008 17:33:54 -0400 Received: from terminus.zytor.com ([198.137.202.10]:57908 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751424AbYGRVdy (ORCPT ); Fri, 18 Jul 2008 17:33:54 -0400 Message-ID: <48810C2D.6070807@zytor.com> Date: Fri, 18 Jul 2008 14:33:33 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Jan Beulich CC: mingo@elte.hu, tglx@linutronix.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: check function status in EDD boot code References: <4880AA39.76E4.0078.0@novell.com> In-Reply-To: <4880AA39.76E4.0078.0@novell.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jan Beulich wrote: > Without checking the return value of get_edd_info() and adding the > entry only in the success case, 6 devices show up under > /sys/firmware/edd/, no matter how many devices are actually present. > > Signed-off-by: Jan Beulich Applied to x86/setup, thanks. -hpa