Skip to content

Commit

Permalink
checkpatch: typo fix
Browse files Browse the repository at this point in the history
remove inline #inline - it's an obvious typo. Should just be remove
inline.

Fixes: 1ef47f4 ("checkpatch: better pattern for inline comments")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221108135155.1121566-1-mst@redhat.com>
  • Loading branch information
mstsirkin committed Nov 10, 2022
1 parent 60ab369 commit 53a3b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/checkpatch.pl
Expand Up @@ -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);
Expand Down

0 comments on commit 53a3b83

Please sign in to comment.