Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 5 Sep 2002 10:31:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 5 Sep 2002 10:31:10 -0400 Received: from pincoya.inf.utfsm.cl ([200.1.19.3]:3090 "EHLO pincoya.inf.utfsm.cl") by vger.kernel.org with ESMTP id ; Thu, 5 Sep 2002 10:31:09 -0400 Message-Id: <200209051435.g85EZZ6H022915@pincoya.inf.utfsm.cl> To: Mike Isely cc: "Henning P. Schmiedehausen" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] 2.4.20-pre5-ac2: Promise Controller LBA48 DMA fixed In-Reply-To: Message from Mike Isely of "Thu, 05 Sep 2002 09:12:06 EST." Date: Thu, 05 Sep 2002 10:35:35 -0400 From: Horst von Brand Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1147 Lines: 29 Mike Isely said: > On Thu, 5 Sep 2002, Henning P. Schmiedehausen wrote: > > > Mike Isely writes: > > > > >The trivial patch at the end of this text fixes DMA w/ LBA48 problems > > > > More readable would be: > > > > >- if (!hwif->pci_dev->device == PCI_DEVICE_ID_PROMISE_20246) { > > >+ if (!(hwif->pci_dev->device == PCI_DEVICE_ID_PROMISE_20246)) { > > > > if (hwif->pci_dev->device != PCI_DEVICE_ID_PROMISE_20246) { > > > > Yes that is true. But this is Andre's code and it seemed to me to be > more important to follow his style. But whatever... What is wrong with != here? -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - 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/