diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-04-23 13:32:59 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-11 16:33:52 +1000 |
commit | f7c8f35ce7328f1b7e0181abf5c6233747570694 (patch) | |
tree | 581928ca54da9d305fdac44c1f11358b515bdbb4 /hw/bt.c | |
parent | 4b73013638c6046249ea81cdfc6d259c183366e4 (diff) | |
download | skiboot-f7c8f35ce7328f1b7e0181abf5c6233747570694.zip skiboot-f7c8f35ce7328f1b7e0181abf5c6233747570694.tar.gz skiboot-f7c8f35ce7328f1b7e0181abf5c6233747570694.tar.bz2 |
hw/bt: Add netfn to BT_ERR message
It's not too useful to print the command without the netfn, so add
this into the BT_ERR macro.
Reported by: Nick Bofferding <bofferdn@us.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/bt.c')
-rw-r--r-- | hw/bt.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -72,8 +72,9 @@ #define BT_QUEUE_DEBUG 0 #define BT_ERR(msg, fmt, args...) \ - do { prerror("BT seq 0x%02x cmd 0x%02x: " fmt "\n", \ - (msg)->seq, (msg)->ipmi_msg.cmd, ##args); } while(0) + do { prerror("BT seq 0x%02x netfn 0x%02x cmd 0x%02x: " fmt "\n", \ + (msg)->seq, (msg)->ipmi_msg.netfn, (msg)->ipmi_msg.cmd, ##args); \ + } while(0) enum bt_states { BT_STATE_IDLE = 0, |