From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964924AbcCOI1r (ORCPT ); Tue, 15 Mar 2016 04:27:47 -0400 Received: from [198.137.202.9] ([198.137.202.9]:37126 "EHLO bombadil.infradead.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S932842AbcCOI1k (ORCPT ); Tue, 15 Mar 2016 04:27:40 -0400 Date: Tue, 15 Mar 2016 01:26:35 -0700 From: Christoph Hellwig To: Finn Thain Cc: Christoph Hellwig , "James E.J. Bottomley" , "Martin K. Petersen" , Michael Schmitz , linux-m68k@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Zary , Sam Creasey Subject: Re: [PATCH 14/22] ncr5380: Add MAX_LUN limit Message-ID: <20160315082635.GA917@infradead.org> References: <20160314042700.596192247@telegraphics.com.au> <20160314042704.285983735@telegraphics.com.au> <20160314075112.GA19372@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 15, 2016 at 02:20:55PM +1100, Finn Thain wrote: > I don't think the host template is the right place for this (there are > about ten of these that would need to be changed anyway) because > scsi_host_alloc() assigns shost->max_lun = 8. So I'll add the > instance->max_lun = 7 assignment to NCR5380_init(). Ok.