Skip to content

Commit c14556f

Browse files
committed
thunderbolt: Drop duplicated 0x prefix from format string
The tb_dbg() call is using %#x that already adds the 0x prefix so don't duplicate it. Fixes: 9039387 ("thunderbolt: Add USB4 router operation proxy for firmware connection manager") Signed-off-by: Mika Westerberg <[email protected]> Reviewed-by: Yehezkel Bernat <[email protected]>
1 parent e71ba94 commit c14556f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thunderbolt/icm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@ static int icm_usb4_switch_nvm_authenticate_status(struct tb_switch *sw,
23162316

23172317
if (auth && auth->reply.route_hi == sw->config.route_hi &&
23182318
auth->reply.route_lo == sw->config.route_lo) {
2319-
tb_dbg(tb, "NVM_AUTH found for %llx flags 0x%#x status %#x\n",
2319+
tb_dbg(tb, "NVM_AUTH found for %llx flags %#x status %#x\n",
23202320
tb_route(sw), auth->reply.hdr.flags, auth->reply.status);
23212321
if (auth->reply.hdr.flags & ICM_FLAGS_ERROR)
23222322
ret = -EIO;

0 commit comments

Comments
 (0)