summaryrefslogtreecommitdiffstats
path: root/lib/irq_poll.c
diff options
context:
space:
mode:
authorMatan Barak2015-12-30 15:14:17 +0100
committerDoug Ledford2016-01-19 21:26:21 +0100
commit2e2cdace5a26507a564d319a1338920a838ef52e (patch)
tree7cc9986a83bbb35f3ae4f60de75ac1f0013c4036 /lib/irq_poll.c
parentIB/core: sysfs.c: Fix PerfMgt ClassPortInfo handling (diff)
downloadkernel-qcow2-linux-2e2cdace5a26507a564d319a1338920a838ef52e.tar.gz
kernel-qcow2-linux-2e2cdace5a26507a564d319a1338920a838ef52e.tar.xz
kernel-qcow2-linux-2e2cdace5a26507a564d319a1338920a838ef52e.zip
IB/core: Eliminate sparse false context imbalance warning
When write_gid function needs to do a sleep-able operation, it unlocks table->rwlock and then relocks it. Sparse complains about context imbalance. This is safe as write_gid is always called with table->rwlock. write_gid protects from simultaneous writes to this GID entry by setting the GID_TABLE_ENTRY_INVALID flag. Fixes: 9c584f049596 ('IB/core: Change per-entry lock in RoCE GID table to one lock') Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions