From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934044AbXJRWwd (ORCPT ); Thu, 18 Oct 2007 18:52:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764221AbXJRWuf (ORCPT ); Thu, 18 Oct 2007 18:50:35 -0400 Received: from nf-out-0910.google.com ([64.233.182.189]:4700 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761806AbXJRWua (ORCPT ); Thu, 18 Oct 2007 18:50:30 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-disposition:message-id:content-type:content-transfer-encoding; b=ipMx9hrtiqGNMbrx2+tYTV8Z7MJltWuVf/uYMjRJZbjj2RxbY+LdOKlu3aOANHh1mOwM+7H0lBc/bGI7OGePLHhKNdzSPvKG4iqH/yQ79nIf0ucpxuBzVSIX/M08tYKBgDfUkWF/u0HGqJ++GMMNFYDmuS0DRnNcEI5FQrDUAxk= From: Bartlomiej Zolnierkiewicz To: benh@kernel.crashing.org Subject: Re: [PATCH 2/3] ide: Fix siimage driver accessing beyond array boundary Date: Thu, 18 Oct 2007 23:30:42 +0200 User-Agent: KMail/1.9.7 Cc: Sergei Shtylyov , Linux IDE , linux-kernel@vger.kernel.org, Andrew Morton References: <20071018005623.153C7DDEBD@ozlabs.org> <47174B4A.3000006@ru.mvista.com> <1192709764.12879.66.camel@pasglop> In-Reply-To: <1192709764.12879.66.camel@pasglop> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200710182330.43052.bzolnier@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 18 October 2007, Benjamin Herrenschmidt wrote: > > On Thu, 2007-10-18 at 16:02 +0400, Sergei Shtylyov wrote: > > 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 > > I don't believe much in driver versions in tree... the kernel version is > what matter... Bart, what's your stance there ? Similar opinion here but sometimes driver versions are useful, i.e.: * during development or while debugging regressions to distinguish real changes (which have to update driver version) from the core changes and trivial cleanups (which don't do this) * bugreports with partial dmesg info (hmm, doesn't matter for IDE currently since we don't print this info - patches are welcomed) * maybe some other that I forgot :) I updated siimage driver version in separate commit (no need to do it for cs5535 since it lacks driver version). Thanks, Bart