Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750884AbWBJAlE (ORCPT ); Thu, 9 Feb 2006 19:41:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750890AbWBJAlE (ORCPT ); Thu, 9 Feb 2006 19:41:04 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:53253 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S1750885AbWBJAlC (ORCPT ); Thu, 9 Feb 2006 19:41:02 -0500 Date: Fri, 10 Feb 2006 01:41:01 +0100 From: Adrian Bunk To: Andrew Morton , Eric Moore Cc: linux-kernel@vger.kernel.org, mpt_linux_developer@lsil.com, linux-scsi@vger.kernel.org, James.Bottomley@SteelEye.com Subject: [-mm patch] drivers/message/fusion/mptctl.c: make struct async_queue static Message-ID: <20060210004101.GI3524@stusta.de> References: <20060207220627.345107c3.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060207220627.345107c3.akpm@osdl.org> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1081 Lines: 33 On Tue, Feb 07, 2006 at 10:06:27PM -0800, Andrew Morton wrote: >... > Changes since 2.6.16-rc1-mm5: >... > git-scsi-rc-fixes.patch >... > Git trees >... There is no good reason for struct async_queue being global. Additional, this patch adds some missing whitespace. Signed-off-by: Adrian Bunk --- linux-2.6.16-rc2-mm1-full/drivers/message/fusion/mptctl.c.old 2006-02-10 00:43:43.000000000 +0100 +++ linux-2.6.16-rc2-mm1-full/drivers/message/fusion/mptctl.c 2006-02-10 00:43:59.000000000 +0100 @@ -140,7 +140,7 @@ * Event Handler function */ static int mptctl_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); -struct fasync_struct *async_queue=NULL; +static struct fasync_struct *async_queue = NULL; /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ /* - 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/