All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avinesh Kumar via ltp <ltp@lists.linux.it>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] uevent0[123]: make check fixes
Date: Tue, 15 Sep 2026 17:37:37 +0200	[thread overview]
Message-ID: <20260915153738.78189-1-avinesh.kumar@suse.com> (raw)

From: Avinesh Kumar <avinesh.kumar@suse.com>

- use tabs
- use "(foo *)" instead of "(foo*)"
- remove multiple blank lines

Signed-off-by: Avinesh Kumar <avinesh.kumar@suse.com>
---
 testcases/kernel/uevents/uevent01.c | 4 ++--
 testcases/kernel/uevents/uevent02.c | 2 +-
 testcases/kernel/uevents/uevent03.c | 1 -
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/testcases/kernel/uevents/uevent01.c b/testcases/kernel/uevents/uevent01.c
index f5fe099d8ed0..28143a4b93e5 100644
--- a/testcases/kernel/uevents/uevent01.c
+++ b/testcases/kernel/uevents/uevent01.c
@@ -57,10 +57,10 @@ static void verify_uevent(void)
 		tst_brk(TBROK, "Failed to find free loop device");
 
 	snprintf(ev_msg, sizeof(ev_msg),
-	         "change@/devices/virtual/block/loop%i", dev_num);
+		"change@/devices/virtual/block/loop%i", dev_num);
 
 	snprintf(ev_dev_path, sizeof(ev_dev_path),
-	         "DEVPATH=/devices/virtual/block/loop%i", dev_num);
+		"DEVPATH=/devices/virtual/block/loop%i", dev_num);
 
 	snprintf(ev_dev_minor, sizeof(ev_dev_minor), "MINOR=%i", dev_num);
 	snprintf(ev_dev_name, sizeof(ev_dev_name), "DEVNAME=loop%i", dev_num);
diff --git a/testcases/kernel/uevents/uevent02.c b/testcases/kernel/uevents/uevent02.c
index f3d2ebc87a74..fd526ddb1c5a 100644
--- a/testcases/kernel/uevents/uevent02.c
+++ b/testcases/kernel/uevents/uevent02.c
@@ -102,7 +102,7 @@ static void generate_tun_uevents(void)
 		.ifr_name = "ltp-tun0",
 	};
 
-	SAFE_IOCTL(fd, TUNSETIFF, (void*)&ifr);
+	SAFE_IOCTL(fd, TUNSETIFF, (void *)&ifr);
 
 	SAFE_IOCTL(fd, TUNSETPERSIST, 0);
 
diff --git a/testcases/kernel/uevents/uevent03.c b/testcases/kernel/uevents/uevent03.c
index 42d629a4ae8e..8c8a464af5f6 100644
--- a/testcases/kernel/uevents/uevent03.c
+++ b/testcases/kernel/uevents/uevent03.c
@@ -209,7 +209,6 @@ static void verify_uevent(void)
 	snprintf(dev_name1, sizeof(dev_name1),
 		"DEVNAME=input/%s", handler1);
 
-
 	snprintf(add_msg_event2, sizeof(add_msg_event2),
 		"add@%s/%s", sysname, handler2);
 
-- 
2.55.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

             reply	other threads:[~2026-09-15 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15 15:37 Avinesh Kumar via ltp [this message]
2026-09-15 16:24 ` [LTP] uevent0[123]: make check fixes linuxtestproject.agent
2026-09-16  0:38 ` [LTP] [PATCH] " Li Wang

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=20260915153738.78189-1-avinesh.kumar@suse.com \
    --to=ltp@lists.linux.it \
    --cc=avinesh.kumar@suse.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.