History

kernel-doc: Fix up warning output

While trying to make gpu docs warning free I stumbled over one output which wasn't following proper compiler error output standards. Fix it up for more quickfix awesomeness.

Daniel Vetter committed 10 years ago

Commit e7ca3111 parent fd7db681 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kernel-doc+1−1
@@ -2994,7 +2994,7 @@ sub process_file($) { · 2993 unmodified lines
2994 }2994 }
2995 } elsif ($inline_doc_state == STATE_INLINE_NAME) {2995 } elsif ($inline_doc_state == STATE_INLINE_NAME) {
2996 $inline_doc_state = STATE_INLINE_ERROR;2996 $inline_doc_state = STATE_INLINE_ERROR;
2997 print STDERR "Warning(${file}:$.): ";2997 print STDERR "${file}:$.: warning: ";
2998 print STDERR "Incorrect use of kernel-doc format: $_";2998 print STDERR "Incorrect use of kernel-doc format: $_";
2999 ++$warnings;2999 ++$warnings;
3000 }3000 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t