Skip to content

Commit 3199854

Browse files
committed
fixup! hid: Add Apple DockChannel HID transport driver
1 parent 33f3e40 commit 3199854

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/dockchannel-hid/dockchannel-hid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ static void dchid_handle_init(struct dockchannel_hid *dchid, void *data, size_t
817817
break;
818818
}
819819

820-
strlcpy(iface->gpio_name, req->name, MAX_GPIO_NAME);
820+
strscpy(iface->gpio_name, req->name, MAX_GPIO_NAME);
821821
iface->gpio_id = req->id;
822822
break;
823823
}

0 commit comments

Comments
 (0)