summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael S. Tsirkin2022-11-08 14:52:06 +0100
committerMichael S. Tsirkin2022-11-10 16:17:07 +0100
commit53a3b83259a7880982b3eddda31520ff0d8c9268 (patch)
treeefa2b524ceb4f1e37ac8f3d1cf0c9119c92af75c /scripts
parentUpdate VERSION for v7.2.0-rc0 (diff)
downloadqemu-53a3b83259a7880982b3eddda31520ff0d8c9268.tar.gz
qemu-53a3b83259a7880982b3eddda31520ff0d8c9268.tar.xz
qemu-53a3b83259a7880982b3eddda31520ff0d8c9268.zip
checkpatch: typo fix
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
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);