Files
linux/lib
Julian Braha e517f2e6e9 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
[ Upstream commit 11c57c3ba9 ]

Resending this to properly add it to the patch tracker - thanks for letting
me know, Arnd :)

When ARM is enabled, and BITREVERSE is disabled,
Kbuild gives the following warning:

WARNING: unmet direct dependencies detected for HAVE_ARCH_BITREVERSE
  Depends on [n]: BITREVERSE [=n]
  Selected by [y]:
  - ARM [=y] && (CPU_32v7M [=n] || CPU_32v7 [=y]) && !CPU_32v6 [=n]

This is because ARM selects HAVE_ARCH_BITREVERSE
without selecting BITREVERSE, despite
HAVE_ARCH_BITREVERSE depending on BITREVERSE.

This unmet dependency bug was found by Kismet,
a static analysis tool for Kconfig. Please advise if this
is not the appropriate solution.

Signed-off-by: Julian Braha <julianbraha@gmail.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 12:46:21 +09:00
..
2017-09-02 07:07:54 +02:00
2023-05-15 16:16:18 +09:00
2015-11-23 09:44:58 +01:00
2016-03-17 15:09:34 -07:00
2017-10-30 09:27:09 +01:00
2023-05-15 12:23:19 +09:00
2016-05-23 17:04:14 -07:00
2016-03-09 15:43:42 -08:00
2016-04-23 20:13:24 -04:00
2023-05-15 09:02:12 +09:00
2016-09-19 08:19:40 -06:00
2017-08-22 05:35:03 -07:00
2015-06-25 17:00:40 -07:00
2016-05-30 15:26:57 -07:00