From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755880AbcBPSXv (ORCPT ); Tue, 16 Feb 2016 13:23:51 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:36392 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755830AbcBPSXt (ORCPT ); Tue, 16 Feb 2016 13:23:49 -0500 Message-ID: <56C36927.7070405@gmail.com> Date: Tue, 16 Feb 2016 23:53:35 +0530 From: Sudip Mukherjee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Johannes Thumshirn CC: Adaptec OEM Raid Solutions , "Martin K. Petersen" , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] [SCSI] dpt_i2o: fix build warning References: <1455611856-7009-1-git-send-email-sudipm.mukherjee@gmail.com> <20160216091706.GH18134@c203.arch.suse.de> In-Reply-To: <20160216091706.GH18134@c203.arch.suse.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 16 February 2016 02:47 PM, Johannes Thumshirn wrote: > On Tue, Feb 16, 2016 at 02:07:36PM +0530, Sudip Mukherjee wrote: >> We were getting build warning about: >> drivers/scsi/dpt_i2o.c:183:29: warning: ‘dptids’ defined but not used >> >> dptids[] is only used in the MODULE_DEVICE_TABLE so when MODULE is not >> defined then dptids[] becomes unused. > > Nah. Care to make a proper pci driver from it instead of plastering yet > another #ifdef in? Ok. I am on it. I hope someone has the hardware to check the changes. regards sudip