Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 18 Mar 2001 18:29:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 18 Mar 2001 18:28:50 -0500 Received: from neon-gw.transmeta.com ([209.10.217.66]:29967 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sun, 18 Mar 2001 18:28:45 -0500 Date: Sun, 18 Mar 2001 15:27:56 -0800 (PST) From: Linus Torvalds To: Jens Axboe cc: Paul Gortmaker , , , Subject: Re: [PATCH] off-by-1 error in ide-probe (2.4.x) In-Reply-To: <20010318223558.L29105@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 18 Mar 2001, Jens Axboe wrote: > > The 256 is _not_ a bug in the driver, it's more likely a bug in your > drive. 256 is a perfectly legal transfer size. That said, maybe it is > a good idea to leave it at 255 just for safety on drives not handling > 0 sectors == 128kB transfer. Agreed. That would be a trivially easy bug in the firmware, limiting to 255 sectors seems safer. Linus - 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/