diff options
| author | Arnd Bergmann <[email protected]> | 2016-02-08 14:31:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-03-20 20:59:27 +0000 |
| commit | eccf432f6542d9895d6c50edb5634c6147918ed2 (patch) | |
| tree | 13909889f989c4197d216de1f2ff5aff87c7e14d /lib/assoc_array.c | |
| parent | x86/kallsyms: fix GOLD link failure with new relative kallsyms table format (diff) | |
| download | kernel-eccf432f6542d9895d6c50edb5634c6147918ed2.tar.gz kernel-eccf432f6542d9895d6c50edb5634c6147918ed2.zip | |
ide: icside: remove incorrect initconst annotation
The icside_probe function can be called for hotplugged devices, so
its reference to the __initconst icside_v6_port_info variable
may be invalid, as Kbuild points out:
WARNING: drivers/ide/icside.o(.text+0x338): Section mismatch in reference from the function icside_probe()
to the (unknown reference) .init.rodata:(unknown)
Interestingly, this problem only shows up with clang but not
with gcc, which optimizes out the __initconst variable.
This removes the incorrect annotation.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions
