diff options
| author | Arnd Bergmann <[email protected]> | 2019-12-16 20:48:56 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-12-17 08:59:57 +0100 |
| commit | b33bdf8020c94438269becc6dace9ed49257c4ba (patch) | |
| tree | 7e744c02dc214411a939d739cac0eef517e357d4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b3bb164aa56018ad8476dd2953b654491b7fb468 (diff) | |
isdn: don't mark kcapi_proc_exit as __exit
As everybody pointed out by now, my patch to clean up CAPI introduced
a link time warning, as the two parts of the capi driver are now in
one module and the exit function may need to be called in the error
path of the init function:
>> WARNING: drivers/isdn/capi/kernelcapi.o(.text+0xea4): Section mismatch in reference from the function kcapi_exit() to the function .exit.text:kcapi_proc_exit()
The function kcapi_exit() references a function in an exit section.
Often the function kcapi_proc_exit() has valid usage outside the exit section
and the fix is to remove the __exit annotation of kcapi_proc_exit.
Remove the incorrect __exit annotation.
Reported-by: kbuild test robot <[email protected]>
Reported-by: kernelci.org bot <[email protected]>
Reported-by: Olof's autobuilder <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions