Project

General

Profile

Actions

Bug #14341

open

hid_set_protocol() logging arguments in wrong order

Added by Jason King almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

In hid_set_protocol() if the request fails, the logging statement is

        USB_DPRINTF_L2(PRINT_MASK_ATTA, hidp->hid_log_handle,
              "Failed while trying to set protocol:%d," 
              "cr =  %d cb_flags = 0x%x\n",
              completion_reason, cb_flags, protocol);

The protocol argument should almost certainly be first after the format string, not last.

No data to display

Actions

Also available in: Atom PDF