diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-12-25 18:06:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 19:31:28 +0100 |
commit | 15d4acc57f23b6e02e587b773458a7c0e23e501d (patch) | |
tree | df97d1e6c202ffce113adba34cb504e446e95b15 /drivers/misc/mei/amthif.c | |
parent | mei: drop redundant length parameter from mei_write_message function (diff) | |
download | linux-15d4acc57f23b6e02e587b773458a7c0e23e501d.tar.xz linux-15d4acc57f23b6e02e587b773458a7c0e23e501d.zip |
mei: use unified format for printing mei message header
Introduce MEI_HDR_FMT and MEI_HDR_PRM macros.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/amthif.c')
-rw-r--r-- | drivers/misc/mei/amthif.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c index 8a9313a1ee7b..77acd2349b1b 100644 --- a/drivers/misc/mei/amthif.c +++ b/drivers/misc/mei/amthif.c @@ -457,8 +457,7 @@ int mei_amthif_irq_write_complete(struct mei_device *dev, s32 *slots, return 0; } - dev_dbg(&dev->pdev->dev, "msg: len = %d complete = %d\n", - mei_hdr->length, mei_hdr->msg_complete); + dev_dbg(&dev->pdev->dev, MEI_HDR_FMT, MEI_HDR_PRM(mei_hdr)); *slots -= msg_slots; if (mei_write_message(dev, mei_hdr, |