static checker complaints on isert code

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

 



Some static checker complaints on isert code, worth looking

Or.

# make CHECK="../tools/smatch/smatch -p=kernel --two-passes" C=2 CC=gcc SUBDIRS=drivers/infiniband/ulp/isert -j 12 modules | tee warns.txt
  CHECK   drivers/infiniband/ulp/isert/ib_isert.c

drivers/infiniband/ulp/isert/ib_isert.c:701 isert_connect_request() warn: inconsistent returns 'sem:&isert_np->np_sem'.
  Locked on:   line 571
               line 581
               line 701
  Unlocked on: line 683

drivers/infiniband/ulp/isert/ib_isert.c:3155 isert_accept_np() error: double lock 'sem:&isert_np->np_sem'

drivers/infiniband/ulp/isert/ib_isert.c:3155 isert_accept_np warn: unused return: ret = down_interruptible()

--
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