From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263614AbTDXMYh (ORCPT ); Thu, 24 Apr 2003 08:24:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263638AbTDXMYh (ORCPT ); Thu, 24 Apr 2003 08:24:37 -0400 Received: from phoenix.infradead.org ([195.224.96.167]:59666 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S263614AbTDXMYe (ORCPT ); Thu, 24 Apr 2003 08:24:34 -0400 Date: Thu, 24 Apr 2003 13:36:41 +0100 From: Christoph Hellwig To: Marc Zyngier Cc: Alan Cox , linux-kernel@vger.kernel.org Subject: Re: [PATCH] aha1740 update Message-ID: <20030424133641.A29770@infradead.org> Mail-Followup-To: Christoph Hellwig , Marc Zyngier , Alan Cox , linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mzyngier@freesurf.fr on Thu, Apr 24, 2003 at 02:03:32PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 24, 2003 at 02:03:32PM +0200, Marc Zyngier wrote: > * forms part of the process of creating an executable the information > @@ -44,6 +47,11 @@ > #include > #include > > +#include > +#include > +#include > +#include If there's a chance put this before the includes. > +/* This should really fit in driver/scsi/scsi.h, along with > + * scsi_to_{pci,sbus}_dma_dir.... */ Right. Please submit a patch to James. > +/* Eventually this will go into an include file, but this will be later */ No. (okay, you just moved it..) > +static Scsi_Host_Template driver_template = AHA1740; Please initialize the struct here instead of the macro obsfucation. (again not yhour fault, but you're touching the driver so please clean it up while at it). > -#include "scsi_module.c" > +static __init int aha1740_init (void) > +{ > + driver_template.module = THIS_MODULE; Please do this at compile-time. > /* Okay, you made it all the way through. As of this writing, 3/31/93, I'm > brad@saturn.gaylord.com or brad@bradpc.gaylord.com. I'll try to help as time This comment looks a _bit_ outdated to me, what about nuking it? Well, and as you're touching the driver big time a cleanup to follow Documentation/CondingStyle would be nice.