Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335699

Re: [PATCH] [SCSI] dpt_i2o: fix build warning

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] [SCSI] dpt_i2o: fix build warning
Date 2016-02-16 19:30 +0100
Message-ID <r2SxQ-35i-15@gated-at.bofh.it> (permalink)
References <r2JkS-5nT-7@gated-at.bofh.it> <r2JXB-5TU-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] [SCSI] dpt_i2o: fix build warning Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-02-16 09:40 +0100
  Re: [PATCH] [SCSI] dpt_i2o: fix build warning Johannes Thumshirn <jthumshirn@suse.de> - 2016-02-16 10:20 +0100
    Re: [PATCH] [SCSI] dpt_i2o: fix build warning Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-02-16 19:30 +0100

csiph-web