linux-sg2042/drivers/staging/fwserial
Tejun Heo 6c256cb646 staging/fwserial: don't use PREPARE_WORK
PREPARE_[DELAYED_]WORK() are being phased out.  They have few users
and a nasty surprise in terms of reentrancy guarantee as workqueue
considers work items to be different if they don't have the same work
function.

fwtty_peer->work is multiplexed with multiple work functions.
Introduce fwserial_peer_workfn() which invokes fwtty_peer->workfn and
always use it as the work function and update the users to set the
->workfn field instead of overriding the work function using
PREPARE_WORK().

It would probably be best to route this with other related updates
through the workqueue tree.

Compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Peter Hurley <peter@hurleysoftware.com>
2014-03-07 10:24:50 -05:00
..
Kconfig staging/fwserial: Add Kconfig options for max ports 2013-12-08 17:03:03 -08:00
Makefile
TODO staging/fwserial: Create loop device the 'tty' way 2013-01-29 23:28:45 -05:00
dma_fifo.c
dma_fifo.h
fwserial.c staging/fwserial: don't use PREPARE_WORK 2014-03-07 10:24:50 -05:00
fwserial.h staging/fwserial: don't use PREPARE_WORK 2014-03-07 10:24:50 -05:00