mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: shijie001@208suo.com
To: linux-kernel@vger.kernel.org
Subject: [PATCH] samples: uhid: Fix errors in uhid-example.c
Date: Tue, 18 Jul 2023 13:26:05 +0800	[thread overview]
Message-ID: <993d59c45492409c3b3b8b8294ff8c8c@208suo.com> (raw)
In-Reply-To: <tencent_4422F294FED5B7D0585A9774467761664F08@qq.com>

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;

           reply	other threads:[~2023-07-18  5:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_4422F294FED5B7D0585A9774467761664F08@qq.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=993d59c45492409c3b3b8b8294ff8c8c@208suo.com \
    --to=shijie001@208suo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®