Home
last modified time | relevance | path

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

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