qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] checkpatch: typo fix


From: Michael S. Tsirkin
Subject: [PATCH] checkpatch: typo fix
Date: Tue, 8 Nov 2022 08:52:02 -0500

remove inline #inline - it's an obvious typo. Should just be remove
inline.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index bc7d4780ec..6ecabfb2b5 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1682,7 +1682,7 @@ sub process {
 
                # Block comments use /* on a line of its own
                my $commentline = $rawline;
-               while ($commentline =~ s@^(\+.*)/\*.*\*/@$1@o) { # remove 
inline #inline /*...*/
+               while ($commentline =~ s@^(\+.*)/\*.*\*/@$1@o) { # remove 
inline /*...*/
                }
                if ($commentline =~ m@^\+.*/\*\*?+[ \t]*[^ \t]@) { # /* or /** 
non-blank
                        WARN("Block comments use a leading /* on a separate 
line\n" . $herecurr);
-- 
MST




reply via email to

[Prev in Thread] Current Thread [Next in Thread]