]> git.proxmox.com Git - mirror_qemu.git/commitdiff
checkpatch: typo fix
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Nov 2022 13:52:06 +0000 (08:52 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 10 Nov 2022 15:17:07 +0000 (10:17 -0500)
remove inline #inline - it's an obvious typo. Should just be remove
inline.

Fixes: 1ef47f40dc ("checkpatch: better pattern for inline comments")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221108135155.1121566-1-mst@redhat.com>

scripts/checkpatch.pl

index bc7d4780ec541bcc2877d6a43d95d0a7f104524e..6ecabfb2b52019428e3a83a67bbafe2c841cb769 100755 (executable)
@@ -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);