]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Linux syscall wrappers: remove some quotes from parameter names
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 16 Nov 2025 07:44:45 +0000 (08:44 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 16 Nov 2025 07:44:45 +0000 (08:44 +0100)
The PRE_REG_READX macros already textify the argument names so there
are no need for quotes. For consistency I've removed them here.

coregrind/m_syswrap/syswrap-linux.c
memcheck/tests/linux/sys-copy_file_range.stderr.exp

index 0105fb98f38d866beb48b74d7c434b3c13c11bbb..4db8743dd01999d0693bbf94620e207c6a2cb0ca 100644 (file)
@@ -13805,12 +13805,12 @@ PRE(sys_copy_file_range)
         ARG4, ARG5, ARG6);
 
   PRE_REG_READ6(vki_size_t, "copy_file_range",
-                int, "fd_in",
-                vki_loff_t *, "off_in",
-                int, "fd_out",
-                vki_loff_t *, "off_out",
-                vki_size_t, "len",
-                unsigned int, "flags");
+                int, fd_in,
+                vki_loff_t *, off_in,
+                int, fd_out,
+                vki_loff_t *, off_out,
+                vki_size_t, len,
+                unsigned int, flags);
 
   /* File descriptors are "specially" tracked by valgrind.
      valgrind itself uses some, so make sure someone didn't
@@ -13833,8 +13833,8 @@ PRE(sys_pkey_alloc)
   PRINT("pkey_alloc (%lu, %lu)", ARG1, ARG2);
 
   PRE_REG_READ2(long, "pkey_alloc",
-                unsigned long, "flags",
-                unsigned long, "access_rights");
+                unsigned long, flags,
+                unsigned long, access_rights);
 
   /* The kernel says: pkey_alloc() is always safe to call regardless of
      whether or not the operating system supports protection keys.  It can be
@@ -13857,7 +13857,7 @@ PRE(sys_pkey_free)
   PRINT("pkey_free (%" FMT_REGWORD "u )", ARG1);
 
   PRE_REG_READ1(long, "pkey_free",
-                unsigned long, "pkey");
+                unsigned long, pkey);
 
   /* Since pkey_alloc () can never succeed, see above, freeing any pkey is
      always an error.  */
index 1aa4dc2048032c18a8a5f7fbe37c7109540e6de0..28b372028a3a466af07a90d35ce046be5a3a02c5 100644 (file)
@@ -1,5 +1,5 @@
 
-Syscall param copy_file_range("off_in") contains uninitialised byte(s)
+Syscall param copy_file_range(off_in) contains uninitialised byte(s)
    ...
    by 0x........: main (sys-copy_file_range.c:57)