Searched refs:usb_serial (Results 1 – 1 of 1) sorted by relevance
405 const char *usb_serial; in builtin_usb_id() local407 if (sd_device_get_sysattr_value(dev_usb, "serial", &usb_serial) >= 0) { in builtin_usb_id()409 for (const unsigned char *p = (unsigned char*) usb_serial; *p != '\0'; p++) in builtin_usb_id()411 usb_serial = NULL; in builtin_usb_id()415 if (usb_serial) { in builtin_usb_id()416 … udev_replace_whitespace(usb_serial, serial_str, sizeof(serial_str)-1); in builtin_usb_id()