From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758925Ab1DZWnU (ORCPT ); Tue, 26 Apr 2011 18:43:20 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37967 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751208Ab1DZWnT (ORCPT ); Tue, 26 Apr 2011 18:43:19 -0400 Message-ID: <4DB74A6C.2080702@zytor.com> Date: Tue, 26 Apr 2011 15:42:52 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: Gleb Natapov CC: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , x86@kernel.org Subject: Re: [PATCH][RESEND] Fix EDD3.0 data verification. References: <20110426082132.GG2265@redhat.com> In-Reply-To: <20110426082132.GG2265@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/26/2011 01:21 AM, Gleb Natapov wrote: > + > + /* We support only T13 spec */ > + if (info->params.device_path_info_length != 44) > + return 0; > + Please make it work correctly with both versions of the structure, instead. -hpa