Report descriptor is printed partially
Hello everyone,
while investigating a problem with my touchpad in i2c_hid, I found out that the %*ph specifier in printk only prints 64 bytes at most
(https://www.kernel.org/doc/html/latest/core-api/printk-formats.html).
That means the line
i2c_hid_dbg(ihid, "Report Descriptor: %*ph\n", rsize, rdesc);
in i2c_parse only prints the beginning of the report descriptor. My touchpad declares a 665 bytes long descriptor, so I guess it is usually much bigger than 64.
Perhaps we could dump the full descriptor, or at least make this limit clear.
Andrea Monaco