Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266775AbUJAXAR (ORCPT ); Fri, 1 Oct 2004 19:00:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266684AbUJAXAR (ORCPT ); Fri, 1 Oct 2004 19:00:17 -0400 Received: from mail0.lsil.com ([147.145.40.20]:40424 "EHLO mail0.lsil.com") by vger.kernel.org with ESMTP id S266603AbUJAXAE (ORCPT ); Fri, 1 Oct 2004 19:00:04 -0400 Message-ID: <0E3FA95632D6D047BA649F95DAB60E570230C989@exa-atlanta> From: "Bagalkote, Sreenivas" To: "'James Bottomley'" , "Bagalkote, Sreenivas" Cc: "Mukker, Atul" , "'linux-kernel@vger.kernel.org'" , "'linux-scsi@vger.kernel.org'" , "'bunk@fs.tum.de'" , "'Andrew Morton'" , "'Matt_Domsch@dell.com'" , "Ju, Seokmann" Subject: RE: [PATCH]: megaraid 2.20.4: Fixes a data corruption bug Date: Fri, 1 Oct 2004 18:52:10 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2006 Lines: 54 James, Would you please send us your version of megaraid driver that will most likely go into 2.6.9? We would like baseline your version and make our internal releases off of that. I appreciate your help. Thanks, Sreenivas >-----Original Message----- >From: James Bottomley [mailto:James.Bottomley@SteelEye.com] >Sent: Friday, October 01, 2004 4:58 PM >To: Bagalkote, Sreenivas >Cc: Mukker, Atul; 'linux-kernel@vger.kernel.org'; >'linux-scsi@vger.kernel.org'; 'bunk@fs.tum.de'; 'Andrew Morton'; >'Matt_Domsch@dell.com'; Ju, Seokmann >Subject: RE: [PATCH]: megaraid 2.20.4: Fixes a data corruption bug > > >On Fri, 2004-10-01 at 16:08, Bagalkote, Sreenivas wrote: >> The submitted previous version of megaraid (2.20.3.1) had >> register_ioctl32_conversion & unregister_ioctl32_conversion >> defined to empty statements if CONFIG_COMPAT was _not_ >> defined. > >I know that. However, when the empty statements were added to >ioctl32.h, those had to be taken out of the megaraid driver. That's >this patch in the scsi-misc-2.6 tree: > > [PATCH] megaraid warning fix > > The ioctl32 conversion registration stubs are in ioctl32.h now. > > Signed-off-by: Andrew Morton > >> But I think the preferred way was to have the occurances of >> (un)register_ioctl32_conversion in the code surrounded by >> #ifdef CONFIG_COMPAT ... #endif directly. In the kernel source >> only register_ioctl32_conversion has these #ifdef .. #endif. The >> unregister_ioctl32_conversion doesn't. > >The current preferred way is to use the empty definitions in >linux/ioctl32.h which means there's no necessity for adding the #ifdef >CONFIG_COMPAT. The correct thing is to remove the #ifdef CONFIG_COMPAT >from around the register_ioctl32... part. > >James > > - 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/