Re: for-next build warnings on variables set but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/18/2014 10:28 AM, Or Gerlitz wrote:
So I see these build warnings with isert, the 2nd one introduced with the T10 patches, Sagi, please take a look. The 1st one is harder to fix, I'm not sure it would be wise to just (void) the return value of isert_rx_opcode(), Nic?

 CC [M]  drivers/infiniband/ulp/isert/ib_isert.o
drivers/infiniband/ulp/isert/ib_isert.c: In function ?isert_rx_do_work?:
drivers/infiniband/ulp/isert/ib_isert.c:1388: warning: variable ?rc? set but not used drivers/infiniband/ulp/isert/ib_isert.c: In function ?isert_completion_rdma_read?: drivers/infiniband/ulp/isert/ib_isert.c:1739: warning: variable ?ret? set but not used


Thanks Or,

This one popped since I re-wrote this patch and forgot this bit. it actually exposes a real BUG.
I'll submit a fix right-away.

Sagi.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux