提交 3b00b008 编写于 作者: C Clemens Ladisch 提交者: Stefan Richter

firewire: core: log error in case of failed bus manager lock

If the lock access to the bus manager register fails, also log the
actual error that caused it to fail.
Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 7bdbff67
...@@ -421,8 +421,8 @@ static void bm_work(struct work_struct *work) ...@@ -421,8 +421,8 @@ static void bm_work(struct work_struct *work)
* root, and thus, IRM. * root, and thus, IRM.
*/ */
new_root_id = local_id; new_root_id = local_id;
fw_notice(card, "%s, making local node (%02x) root\n", fw_notice(card, "BM lock failed (%s), making local node (%02x) root\n",
"BM lock failed", new_root_id); fw_rcode_string(rcode), new_root_id);
goto pick_me; goto pick_me;
} }
} else if (card->bm_generation != generation) { } else if (card->bm_generation != generation) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册