diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index bcd914a63af27edb6edd986bca96820e72c3d92c..4130685fca7c61032dc2beab63149000d3746c02 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1611,7 +1611,7 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask) "Multi-Axis Controller" }; const char *type, *bus; - char buf[64]; + char buf[64] = ""; unsigned int i; int len; int ret;