aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2024-09-05 14:22:20 -0700
committerAndrew Morton <[email protected]>2024-09-09 16:39:15 -0700
commit6e94da943ba3ebd8c603872010ff6efcb682fe9c (patch)
tree05ecdba5eeffe278fa52543c3040e49b0408331e /lib/crypto/mpi/mpiutil.c
parentcfc8193898ca4511e6c3cc20101ef3554eda8efb (diff)
mm/page_alloc: fix build with CONFIG_UNACCEPTED_MEMORY=n
When has_unaccepted_memory() is unused, it prevents kernel builds with clang, `make W=1` and CONFIG_WERROR=y: mm/page_alloc.c:7036:20: error: unused function 'has_unaccepted_memory' [-Werror,-Wunused-function] 7036 | static inline bool has_unaccepted_memory(void) | ^~~~~~~~~~~~~~~~~~~~~ Fix it by removeing the CONFIG_UNACCEPTED_MEMORY=n stub. Link: https://lkml.kernel.org/r/[email protected] Reported-by: Andy Shevchenko <[email protected]> Closes: https://lkml.kernel.org/r/[email protected] Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions