From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1766817AbXDSPTc (ORCPT ); Thu, 19 Apr 2007 11:19:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1766816AbXDSPTb (ORCPT ); Thu, 19 Apr 2007 11:19:31 -0400 Received: from hancock.steeleye.com ([71.30.118.248]:41389 "EHLO hancock.sc.steeleye.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1766812AbXDSPTb (ORCPT ); Thu, 19 Apr 2007 11:19:31 -0400 Subject: RE: [PATCH] cciss: Fix warnings during compilation under 32bit environment From: James Bottomley To: "Miller, Mike (OS Dev)" Cc: Hisashi Hifumi , akpm@linux-foundation.org, jens.axboe@oracle.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, "Cameron, Steve" In-Reply-To: <226E1C65E4F6164E8EA5FD3CC913AE8CF461DE@G3W0639.americas.hpqcorp.net> References: <6.0.0.20.2.20070418160231.043f23c8@172.19.0.2> <226E1C65E4F6164E8EA5FD3CC913AE8CF461DE@G3W0639.americas.hpqcorp.net> Content-Type: text/plain Date: Thu, 19 Apr 2007 11:18:54 -0400 Message-Id: <1176995934.31764.7.camel@mulgrave.il.steeleye.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2007-04-19 at 15:09 +0000, Miller, Mike (OS Dev) wrote: > Nak. You still haven't told where you saw these warnings. What compiler > are you using? I do not see these in my 32-bit environment. I think it's seen with CONFIG_LBD=n on 32 bits In that configuration, sector_t is a u32 (it's u64 even on 32 bits with CONFIG_LBD=y). The proposed code change is a simple cut and paste from the sd driver. James