From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267480AbUBTCGB (ORCPT ); Thu, 19 Feb 2004 21:06:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267675AbUBTCGB (ORCPT ); Thu, 19 Feb 2004 21:06:01 -0500 Received: from smtp-out1.xs4all.nl ([194.109.24.11]:3080 "EHLO smtp-out1.xs4all.nl") by vger.kernel.org with ESMTP id S267479AbUBTCF5 (ORCPT ); Thu, 19 Feb 2004 21:05:57 -0500 Subject: [PATCH][BUGFIX] : Megaraid patch for 2.6 1/5 From: Paul Wagland To: Linux SCSI mailing list , Linux kernel mailing list Cc: akpm@osdl.org, torvalds@osdl.org, James.Bottomley@HansenPartnership.com, atulm@lsil.com Content-Type: multipart/mixed; boundary="=-7vivzGSTw9kyRdJL/Fax" Organization: Kung Foo Coders! Message-Id: <1077242738.12567.76.camel@morsel.kungfoocoder.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 20 Feb 2004 03:05:39 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --=-7vivzGSTw9kyRdJL/Fax Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi all, On Linux-SCSI over the last few days I have been discussing a couple of problems with the 2.6.2 megaraid driver. This patch, originally submitted by Christoph Hellwig, fixes the problem where the megaraid driver could be removed, even though it was in use. patch is attached and below. diff --recursive --ignore-all-space --unified linux-2.6.2.o/drivers/scsi/megaraid.c linux-2.6.2.megaraid/drivers/scsi/megaraid.c --- linux-2.6.2.o/drivers/scsi/megaraid.c 2004-02-09 22:56:09.000000000 +0100 +++ linux-2.6.2.megaraid/drivers/scsi/megaraid.c 2004-02-20 01:32:21.000000000 +0100 @@ -4614,6 +4614,7 @@ } static struct scsi_host_template megaraid_template = { + .module = THIS_MODULE, .name = "MegaRAID", .proc_name = "megaraid", .info = megaraid_info, --=-7vivzGSTw9kyRdJL/Fax Content-Disposition: attachment; filename=1-megaraid.mod_owner.patch Content-Type: text/x-patch; name=1-megaraid.mod_owner.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit diff --recursive --ignore-all-space --unified linux-2.6.2.o/drivers/scsi/megaraid.c linux-2.6.2.megaraid/drivers/scsi/megaraid.c --- linux-2.6.2.o/drivers/scsi/megaraid.c 2004-02-09 22:56:09.000000000 +0100 +++ linux-2.6.2.megaraid/drivers/scsi/megaraid.c 2004-02-20 01:32:21.000000000 +0100 @@ -4614,6 +4614,7 @@ } static struct scsi_host_template megaraid_template = { + .module = THIS_MODULE, .name = "MegaRAID", .proc_name = "megaraid", .info = megaraid_info, --=-7vivzGSTw9kyRdJL/Fax--