* [scsi:for-next 23/27] drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &=
@ 2012-12-17 13:50 kbuild test robot
2013-01-29 3:16 ` James Bottomley
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2012-12-17 13:50 UTC (permalink / raw)
To: Hiral Patel; +Cc: linux-scsi, Narsimhulu Musini, James Bottomley
tree: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
head: e3ff197a750d2912d0bb2a0161c23c18bad250ad
commit: 188061001ac78b40780af042dd2156e2213e29ed [23/27] [SCSI] fnic:fixing issues in device and firmware reset code
sparse warnings:
+ drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &=
drivers/scsi/fnic/fnic_scsi.c:183:35: left side has type restricted unsigned long long
drivers/scsi/fnic/fnic_scsi.c:183:35: right side has type unsigned long long
drivers/scsi/fnic/fnic_scsi.c:185:35: sparse: invalid assignment: |=
drivers/scsi/fnic/fnic_scsi.c:185:35: left side has type restricted unsigned long long
drivers/scsi/fnic/fnic_scsi.c:185:35: right side has type unsigned long long
vim +183 drivers/scsi/fnic/fnic_scsi.c
5df6d737 Abhijeet Joglekar 2009-04-17 167
18806100 Hiral Patel 2012-12-10 168 /**
18806100 Hiral Patel 2012-12-10 169 * __fnic_set_state_flags
18806100 Hiral Patel 2012-12-10 170 * Sets/Clears bits in fnic's state_flags
18806100 Hiral Patel 2012-12-10 171 **/
18806100 Hiral Patel 2012-12-10 172 void
18806100 Hiral Patel 2012-12-10 173 __fnic_set_state_flags(struct fnic *fnic, u64 st_flags, u64 clearbits)
18806100 Hiral Patel 2012-12-10 174 {
18806100 Hiral Patel 2012-12-10 175 struct Scsi_Host *host = fnic->lport->host;
18806100 Hiral Patel 2012-12-10 176 int sh_locked = spin_is_locked(host->host_lock);
18806100 Hiral Patel 2012-12-10 177 unsigned long flags = 0;
18806100 Hiral Patel 2012-12-10 178
18806100 Hiral Patel 2012-12-10 179 if (!sh_locked)
18806100 Hiral Patel 2012-12-10 180 spin_lock_irqsave(host->host_lock, flags);
18806100 Hiral Patel 2012-12-10 181
18806100 Hiral Patel 2012-12-10 182 if (clearbits)
18806100 Hiral Patel 2012-12-10 @183 fnic->state_flags &= ~st_flags;
18806100 Hiral Patel 2012-12-10 184 else
18806100 Hiral Patel 2012-12-10 185 fnic->state_flags |= st_flags;
18806100 Hiral Patel 2012-12-10 186
18806100 Hiral Patel 2012-12-10 187 if (!sh_locked)
18806100 Hiral Patel 2012-12-10 188 spin_unlock_irqrestore(host->host_lock, flags);
18806100 Hiral Patel 2012-12-10 189
18806100 Hiral Patel 2012-12-10 190 return;
18806100 Hiral Patel 2012-12-10 191 }
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [scsi:for-next 23/27] drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &=
2012-12-17 13:50 [scsi:for-next 23/27] drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &= kbuild test robot
@ 2013-01-29 3:16 ` James Bottomley
2013-01-30 0:17 ` Hiral Patel (hiralpat)
0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2013-01-29 3:16 UTC (permalink / raw)
To: kbuild test robot; +Cc: Hiral Patel, linux-scsi, Narsimhulu Musini
On Mon, 2012-12-17 at 21:50 +0800, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
> head: e3ff197a750d2912d0bb2a0161c23c18bad250ad
> commit: 188061001ac78b40780af042dd2156e2213e29ed [23/27] [SCSI] fnic:fixing issues in device and firmware reset code
>
>
> sparse warnings:
>
> + drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &=
> drivers/scsi/fnic/fnic_scsi.c:183:35: left side has type restricted unsigned long long
> drivers/scsi/fnic/fnic_scsi.c:183:35: right side has type unsigned long long
> drivers/scsi/fnic/fnic_scsi.c:185:35: sparse: invalid assignment: |=
> drivers/scsi/fnic/fnic_scsi.c:185:35: left side has type restricted unsigned long long
> drivers/scsi/fnic/fnic_scsi.c:185:35: right side has type unsigned long long
I still haven't seen fixes for these patches. I've flushed the fnic
patches from the tree pending resolution. That means the only remaining
fnic patches I have are
1/10 fnic: updated MAINTAINERS list
2/10 fnic: fix for trusted cos
Please fix this and the smatch issues and resubmit the other eight.
Thanks,
James
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [scsi:for-next 23/27] drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &=
2013-01-29 3:16 ` James Bottomley
@ 2013-01-30 0:17 ` Hiral Patel (hiralpat)
0 siblings, 0 replies; 3+ messages in thread
From: Hiral Patel (hiralpat) @ 2013-01-30 0:17 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi@vger.kernel.org, Narsimhulu Musini (nmusini)
Hi James,
Sorry, somehow I missed looking at kbuild emails. I have fixed sparse and
smatch issues and resubmitted patches 3-10.
Thanks,
Hiral
On 1/28/13 7:16 PM, "James Bottomley"
<James.Bottomley@HansenPartnership.com> wrote:
>On Mon, 2012-12-17 at 21:50 +0800, kbuild test robot wrote:
>> tree: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git
>>for-next
>> head: e3ff197a750d2912d0bb2a0161c23c18bad250ad
>> commit: 188061001ac78b40780af042dd2156e2213e29ed [23/27] [SCSI]
>>fnic:fixing issues in device and firmware reset code
>>
>>
>> sparse warnings:
>>
>> + drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &=
>> drivers/scsi/fnic/fnic_scsi.c:183:35: left side has type restricted
>>unsigned long long
>> drivers/scsi/fnic/fnic_scsi.c:183:35: right side has type unsigned
>>long long
>> drivers/scsi/fnic/fnic_scsi.c:185:35: sparse: invalid assignment: |=
>> drivers/scsi/fnic/fnic_scsi.c:185:35: left side has type restricted
>>unsigned long long
>> drivers/scsi/fnic/fnic_scsi.c:185:35: right side has type unsigned
>>long long
>
>I still haven't seen fixes for these patches. I've flushed the fnic
>patches from the tree pending resolution. That means the only remaining
>fnic patches I have are
>
>1/10 fnic: updated MAINTAINERS list
>2/10 fnic: fix for trusted cos
>
>Please fix this and the smatch issues and resubmit the other eight.
>
>Thanks,
>
>James
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-30 0:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-17 13:50 [scsi:for-next 23/27] drivers/scsi/fnic/fnic_scsi.c:183:35: sparse: invalid assignment: &= kbuild test robot
2013-01-29 3:16 ` James Bottomley
2013-01-30 0:17 ` Hiral Patel (hiralpat)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox