summaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorGerd Bayer <gbayer@linux.ibm.com>2023-11-15 16:59:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-03 07:33:02 +0100
commit3ef5eee900894611f8038ffa119d485e11e32218 (patch)
tree243ee34a4d65ddaf220b44ab19082e687f28d0a6 /net/rxrpc
parentd0c739099c6932433c10afdcba0a4025fc81933f (diff)
downloadlinux-3ef5eee900894611f8038ffa119d485e11e32218.tar.gz
linux-3ef5eee900894611f8038ffa119d485e11e32218.tar.bz2
linux-3ef5eee900894611f8038ffa119d485e11e32218.zip
s390/ism: ism driver implies smc protocol
[ Upstream commit d565fa4300d9ebd5ba3bbd259ce841f8dab609d6 ] Since commit a72178cfe855 ("net/smc: Fix dependency of SMC on ISM") you can build the ism code without selecting the SMC network protocol. That leaves some ism functions be reported as unused. Move these functions under the conditional compile with CONFIG_SMC. Also codify the suggestion to also configure the SMC protocol in ism's Kconfig - but with an "imply" rather than a "select" as SMC depends on other config options and allow for a deliberate decision not to build SMC. Also, mention that in ISM's help. Fixes: a72178cfe855 ("net/smc: Fix dependency of SMC on ISM") Reported-by: Randy Dunlap <rdunlap@infradead.org> Closes: https://lore.kernel.org/netdev/afd142a2-1fa0-46b9-8b2d-7652d41d3ab8@infradead.org/ Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Reviewed-by: Simon Horman <horms@kernel.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions