diff options
author | Quentin Perret <qperret@google.com> | 2020-12-01 19:52:22 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-12-21 07:57:08 +0300 |
commit | b9ed847b5ae69e0f2e685f9d53e2dd94c0db751e (patch) | |
tree | f92d7e36434405ba16cec571ff500b3bdf0f03b9 /scripts/genksyms | |
parent | c7299d98c00afa81c65d9fa13a18ea923f3281ff (diff) | |
download | linux-b9ed847b5ae69e0f2e685f9d53e2dd94c0db751e.tar.xz |
modpost: turn static exports into error
Using EXPORT_SYMBOL*() on static functions is fundamentally wrong.
Modpost currently reports that as a warning, but clearly this is not a
pattern we should allow, and all in-tree occurences should have been
fixed by now. So, promote the warn() message to error() to make sure
this never happens again.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions