mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] samples: uhid: Fix errors in uhid-example.c
       [not found] <tencent_4422F294FED5B7D0585A9774467761664F08@qq.com>
@ 2023-07-18  5:26 ` shijie001
  0 siblings, 0 replies; only message in thread
From: shijie001 @ 2023-07-18  5:26 UTC (permalink / raw)
  To: linux-kernel

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

Signed-off-by: Jie Shi <shijie001@208suo.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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-18  5:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_4422F294FED5B7D0585A9774467761664F08@qq.com>
2023-07-18  5:26 ` [PATCH] samples: uhid: Fix errors in uhid-example.c shijie001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®