[<prev] [next>] [day] [month] [year] [list]
Message-ID: <993d59c45492409c3b3b8b8294ff8c8c@208suo.com>
Date: Tue, 18 Jul 2023 13:26:05 +0800
From: shijie001@...suo.com
To: linux-kernel@...r.kernel.org
Subject: [PATCH] samples: uhid: Fix errors in uhid-example.c
The following checkpatch error is removed:
ERROR: "(foo*)" should be "(foo *)"
Signed-off-by: Jie Shi <shijie001@...suo.com>
---
samples/uhid/uhid-example.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/uhid/uhid-example.c b/samples/uhid/uhid-example.c
index 015cb06a241e..c425eb630955 100644
--- a/samples/uhid/uhid-example.c
+++ b/samples/uhid/uhid-example.c
@@ -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;
Powered by blists - more mailing lists