]> git.baikalelectronics.ru Git - kernel.git/commit
net: bpfilter: change section name of bpfilter UMH blob.
authorTaehee Yoo <ap420073@gmail.com>
Tue, 15 Jan 2019 16:35:22 +0000 (01:35 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 23:46:46 +0000 (15:46 -0800)
commit9dbaf5d08377f40a83dd2379f415af0e89c6856b
treeb381b81f94c7769c79ba180f710058595317814e
parentc5556c5d82699a3f8e1b08131db47289fcecd213
net: bpfilter: change section name of bpfilter UMH blob.

The section of bpfilter UMH blob is the ".bpfilter_umh". but this is not
an explicit section. so linking warning occurred at compile time for the
powerpc.
So, this patch makes use of the ".rodata" instead of the ".bpfilter_umh".

Config condition:

CONFIG_BPFILTER=y
CONFIG_BPFILTER_UMH=y

Result:

ld: warning: orphan section `.bpfilter_umh' from
`net/bpfilter/bpfilter_umh_blob.o' being placed in section `.bpfilter_umh'

Fixes: 3ea6ca5ec84a ("net: bpfilter: restart bpfilter_umh when error occurred")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bpfilter/bpfilter_umh_blob.S