Skip to content

Commit bf62fdd

Browse files
committed
Merge branch 'for-6.13' into 'master'
2 parents 105af20 + 1b96441 commit bf62fdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

4.18/wacom_sys.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,8 @@ static void wacom_update_name(struct wacom *wacom, const char *suffix)
22672267
if (wacom_is_using_usb_driver(wacom->hdev)) {
22682268
struct usb_interface *intf = to_usb_interface(wacom->hdev->dev.parent);
22692269
struct usb_device *dev = interface_to_usbdev(intf);
2270-
product_name = dev->product;
2270+
if (dev->product != NULL)
2271+
product_name = dev->product;
22712272
}
22722273

22732274
if (wacom->hdev->bus == BUS_I2C) {

0 commit comments

Comments
 (0)