]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
firewire: warn on unfinished transactions during card removal
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 12 Jul 2008 12:51:18 +0000 (14:51 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 14 Jul 2008 11:06:04 +0000 (13:06 +0200)
commit1e8afea124added6409d5209f90d9949f5a13b32
tree21acef703f0816768f15b9d31c122feb1561f3a0
parentb9549bc6803d6a16fe6a85b316b742ef82bd3931
firewire: warn on unfinished transactions during card removal

After card->done and card->work are completed, any remaining pending
request would be a bug.  We cannot safely complete a transaction at
that point anymore.

IOW card users must not drop their last fw_card reference (usually
indirect references through fw_device references) before their last
outbound transaction through that card was finished.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-card.c