firewire: core: WARN on wrong usage of core transaction functions
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 14 Oct 2009 18:37:36 +0000 (20:37 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 31 Oct 2009 10:40:51 +0000 (11:40 +0100)
commit5b189bf3633c3b73d4f08124a86f3e019953d412
tree3ee30bdd7b5e086e903199f29903400c77a3ddfe
parentcb7c96da3651111efbe088fa12f9bed61836ea93
firewire: core: WARN on wrong usage of core transaction functions

In the code path which creates request packets, clearly mark a switch
branch which must never be reached with a WARN.

In the code path which creates response packets, replace a BUG by a
friendlier to debug WARN.

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