2010-04-13 06:21:37

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warnings after merge of the final tree (scsi tree related)

Hi James,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:

drivers/scsi/bfa/bfa_ioc.c: In function 'bfa_ioc_msgget':
drivers/scsi/bfa/bfa_ioc.c:1331: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function 'bfa_ioc_ct_notify_hbfail':
drivers/scsi/bfa/bfa_ioc_ct.c:177: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c:180: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function 'bfa_ioc_ct_pll_init':
drivers/scsi/bfa/bfa_ioc_ct.c:381: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function 'bfa_ioc_ct_ownership_reset':
drivers/scsi/bfa/bfa_ioc_ct.c:421: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_cb.c: In function 'bfa_ioc_cb_notify_hbfail':
drivers/scsi/bfa/bfa_ioc_cb.c:99: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_cb.c: In function 'bfa_ioc_cb_ownership_reset':
drivers/scsi/bfa/bfa_ioc_cb.c:272: warning: value computed is not used

Presumably introduced by commit 077424e2e2c97c830d903891dfcd1532068b85b7
("[SCSI] bfa: sg addr big endian fix") from the scsi tree.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (1.23 kB)
(No filename) (198.00 B)
Download all attachments

2010-04-13 07:31:13

by Jing Huang

[permalink] [raw]
Subject: RE: linux-next: build warnings after merge of the final tree (scsi tree related)

This is indeed introduced by this commit. I have reproduced the issue in a powerpc machine, and I will provide a fix soon.

Jing
-----Original Message-----
From: Stephen Rothwell [mailto:[email protected]]
Sent: Monday, April 12, 2010 11:21 PM
To: James Bottomley
Cc: [email protected]; [email protected]; Jing Huang
Subject: linux-next: build warnings after merge of the final tree (scsi tree related)

Hi James,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:

drivers/scsi/bfa/bfa_ioc.c: In function 'bfa_ioc_msgget':
drivers/scsi/bfa/bfa_ioc.c:1331: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function 'bfa_ioc_ct_notify_hbfail':
drivers/scsi/bfa/bfa_ioc_ct.c:177: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c:180: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function 'bfa_ioc_ct_pll_init':
drivers/scsi/bfa/bfa_ioc_ct.c:381: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function 'bfa_ioc_ct_ownership_reset':
drivers/scsi/bfa/bfa_ioc_ct.c:421: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_cb.c: In function 'bfa_ioc_cb_notify_hbfail':
drivers/scsi/bfa/bfa_ioc_cb.c:99: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_cb.c: In function 'bfa_ioc_cb_ownership_reset':
drivers/scsi/bfa/bfa_ioc_cb.c:272: warning: value computed is not used

Presumably introduced by commit 077424e2e2c97c830d903891dfcd1532068b85b7
("[SCSI] bfa: sg addr big endian fix") from the scsi tree.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/