Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758081AbZFWVay (ORCPT ); Tue, 23 Jun 2009 17:30:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757692AbZFWVaW (ORCPT ); Tue, 23 Jun 2009 17:30:22 -0400 Received: from cpsmtpm-eml103.kpnxchange.com ([195.121.3.7]:49553 "EHLO CPSMTPM-EML103.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756227AbZFWVaT (ORCPT ); Tue, 23 Jun 2009 17:30:19 -0400 From: Frans Pop To: David Miller Subject: Re: [PATCH] ide-cd: Improve "weird block size" error message Date: Tue, 23 Jun 2009 23:30:18 +0200 User-Agent: KMail/1.9.9 References: <200906222101.38586.elendil@planet.nl> <200906230951.24615.elendil@planet.nl> <20090623.035926.155211513.davem@davemloft.net> In-Reply-To: <20090623.035926.155211513.davem@davemloft.net> Cc: bzolnier@gmail.com, sparclinux@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906232330.20519.elendil@planet.nl> X-OriginalArrivalTime: 23 Jun 2009 21:30:21.0400 (UTC) FILETIME=[CFDE1D80:01C9F449] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 29 On Tuesday 23 June 2009, David Miller wrote: > ide-cd: Don't warn on bogus block size unless it actually matters. > > Frans Pop reported that his CDROM drive reports a blocksize of 2352, > and this causes new warnings due to commit > e8e7b9eb11c34ee18bde8b7011af41938d1ad667 ("ide-cd: fix oops when using > growisofs"). > > What we're trying to do is make sure that "blocklen >> SECTOR_BITS" > is something the block layer won't choke on. > > And for Frans case "2352 >> SECTOR_BITS" is equal to > "2048 >> SECTOR_BITS", and thats "4". Pedantic correction: Frans' case > So warning in this case gives no real benefit. > > Reported-by: Frans Pop > Signed-off-by: David S. Miller As expected, it's gone. Nice. Tested-by: Frans Pop -- 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/