kernel-fxtec-pro1x/drivers/staging/unisys
Zachary Warren b12fdf7da2 staging: unisys: rework signal remove/insert to avoid sparse lock warnings
Avoids the following warnings from sparse:
visorchannel_funcs.c:457:9: warning:
 context imbalance in 'visorchannel_signalremove' - different lock contexts for basic block
visorchannel_funcs.c:512:9: warning:
 context imbalance in 'visorchannel_signalinsert' - different lock contexts for basic

These warnings are false positives. Sparse can't track conditional contexts. The change
puts the lock/unlock into the same context by splitting the insert/remove functions each
into a wrapper function that does locking if necessary and an inner function that does the
insert/remove operation.

Signed-off-by: Zachary Warren <conflatulence@gmail.com>
Acked-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-28 10:52:58 -08:00
..
common-spar/include staging: unisys: remove leftover __DATE__ 2015-01-09 17:42:46 -08:00
Documentation staging: unisys: ABI documentation for new sysfs entries 2014-07-24 15:07:59 -07:00
include staging: unisys: remove duplicate header 2014-12-02 16:50:08 -08:00
uislib staging: unisys: uislib: uisutils.c: Fix a missing va_end 2015-01-09 17:43:22 -08:00
virthba staging: unisys: fix CamelCase in enable_ints_write() 2015-01-25 19:59:18 +08:00
virtpci staging: virtpci: Remove no-op suspend/resume functions 2015-01-17 16:16:00 -08:00
visorchannel staging: unisys: rework signal remove/insert to avoid sparse lock warnings 2015-01-28 10:52:58 -08:00
visorchipset staging: unisys: Remove VISORCHANNEL typedef 2015-01-09 17:32:35 -08:00
visorutil staging: unisys: add comment to spinlock in struct charqueue 2015-01-09 17:30:20 -08:00
Kconfig staging: unisys: get rid of channel stub 2015-01-09 17:30:19 -08:00
MAINTAINERS staging: s-Par driver documentation 2014-03-04 17:04:28 -08:00
Makefile staging: unisys: get rid of channel stub 2015-01-09 17:30:19 -08:00
TODO staging: unisys: update MAINTAINERS and TODO 2014-03-08 22:42:14 -08:00