Home
last modified time | relevance | path

Searched refs:newlength (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/usb/core/
Dmessage.c860 int newlength, oldlength = *length; in usb_try_string_workarounds() local
862 for (newlength = 2; newlength + 1 < oldlength; newlength += 2) in usb_try_string_workarounds()
863 if (!isprint(buf[newlength]) || buf[newlength + 1]) in usb_try_string_workarounds()
866 if (newlength > 2) { in usb_try_string_workarounds()
867 buf[0] = newlength; in usb_try_string_workarounds()
868 *length = newlength; in usb_try_string_workarounds()