From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758259AbcLCAjp (ORCPT ); Fri, 2 Dec 2016 19:39:45 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:54120 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756809AbcLCAjo (ORCPT ); Fri, 2 Dec 2016 19:39:44 -0500 Date: Sat, 3 Dec 2016 11:39:41 +1100 (AEDT) From: Finn Thain To: Ondrej Zary cc: Christoph Hellwig , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/6] g_NCR5380: Autoprobe IRQ by default In-Reply-To: Message-ID: References: <1477945112-25659-1-git-send-email-linux@rainbow-software.org> <1477945112-25659-6-git-send-email-linux@rainbow-software.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ondrej, On Wed, 2 Nov 2016, I wrote: > > I think this patch is incomplete and you should add these changes: > > diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c > index 7299ad9..0bf0322 100644 > --- a/drivers/scsi/g_NCR5380.c > +++ b/drivers/scsi/g_NCR5380.c > @@ -44,7 +44,7 @@ static int ncr_53c400; > static int ncr_53c400a; > static int dtc_3181e; > static int hp_c2502; > -module_param(ncr_irq, int, 0); > +module_param(ncr_irq, int, IRQ_AUTO); Oops, this doesn't even compile! Sorry about that. What I was trying to achieve was, -static int ncr_irq; +static int ncr_irq = IRQ_AUTO; I will update my patch queue, compile test it, and ask you to review. --