diff options
author | 2021-02-26 11:48:00 +0000 | |
---|---|---|
committer | 2021-03-10 09:25:31 +0100 | |
commit | 9b2bb2e3cf055d95fceeba6248d24284e3015803 (patch) | |
tree | 27b7718d2a62c36eb98d4424622a8e05491ae38e /drivers/staging/fwserial/fwserial.c | |
parent | staging: comedi: dt2814: Clear stale AI data on detach (diff) | |
download | linux-dev-9b2bb2e3cf055d95fceeba6248d24284e3015803.tar.xz linux-dev-9b2bb2e3cf055d95fceeba6248d24284e3015803.zip |
staging: fwserial: minor coding style fix
Fixes this checkpatch warning
WARNING: Integer promotion: Using 'h' in '%04hx' is unnecessary
Signed-off-by: Lee Gibson <leegib@gmail.com>
Link: https://lore.kernel.org/r/20210226114800.316897-1-leegib@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fwserial/fwserial.c')
-rw-r--r-- | drivers/staging/fwserial/fwserial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c index 137e97c9406c..2cc461b26897 100644 --- a/drivers/staging/fwserial/fwserial.c +++ b/drivers/staging/fwserial/fwserial.c @@ -2632,7 +2632,7 @@ static int fwserial_parse_mgmt_write(struct fwtty_peer *peer, rcode = RCODE_COMPLETE; - fwtty_dbg(&peer->unit, "mgmt: hdr.code: %04hx\n", pkt->hdr.code); + fwtty_dbg(&peer->unit, "mgmt: hdr.code: %04x\n", pkt->hdr.code); switch (be16_to_cpu(pkt->hdr.code) & FWSC_CODE_MASK) { case FWSC_VIRT_CABLE_PLUG: |