Skip to contentSkip to conversation

samples: uhid: Fix errors in uhid-example.c

PATCH New [email protected] 1 participant 1 message Jul 18, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 samples: uhid: Fix errors in uhid-example.c

The following checkpatch error is removed:
ERROR: "(foo*)" should be "(foo *)"

---
 samples/uhid/uhid-example.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
samples/uhid/uhid-example.c +1 -1
index 015cb06a241e..c425eb630955 100644
@@ -179,7 +179,7 @@ static int create(int fd)
 
     memset(&ev, 0, sizeof(ev));
     ev.type = UHID_CREATE;
-    strcpy((char*)ev.u.create.name, "test-uhid-device");
+    strcpy((char *)ev.u.create.name, "test-uhid-device");
     ev.u.create.rd_data = rdesc;
     ev.u.create.rd_size = sizeof(rdesc);
     ev.u.create.bus = BUS_USB;