From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765324AbXJRMCT (ORCPT ); Thu, 18 Oct 2007 08:02:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758182AbXJRMCJ (ORCPT ); Thu, 18 Oct 2007 08:02:09 -0400 Received: from h155.mvista.com ([63.81.120.155]:42700 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1755621AbXJRMCI (ORCPT ); Thu, 18 Oct 2007 08:02:08 -0400 Message-ID: <47174B4A.3000006@ru.mvista.com> Date: Thu, 18 Oct 2007 16:02:18 +0400 From: Sergei Shtylyov Organization: MontaVista Software Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803 X-Accept-Language: ru, en-us, en-gb MIME-Version: 1.0 To: Benjamin Herrenschmidt Cc: Bartlomiej Zolnierkiewicz , Linux IDE , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH 2/3] ide: Fix siimage driver accessing beyond array boundary References: <20071018005623.153C7DDEBD@ozlabs.org> In-Reply-To: <20071018005623.153C7DDEBD@ozlabs.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Benjamin Herrenschmidt wrote: > The siimage use an incorrect construct to access the other drive > of a pair, causing it to access beyond an array boundary on non-0 > interfaces. This fixes it by using the new ide_get_paired_drive() > hepler instead. > Signed-off-by: Benjamin Herrenschmidt Please update the driver version in the driver's heading comment. Otherwise Acked-by: Sergei Shtylyov MBR, Sergei