lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 11 Dec 2020 02:45:33 +0000
From:   Ashish Kalra <Ashish.Kalra@....com>
To:     konrad.wilk@...cle.com
Cc:     linux-kernel@...r.kernel.org, linux-next@...r.kernel.org,
        bp@...en8.de
Subject: [PATCH] x86,swiotlb: Fix build warning after merge of the SWIOTLB bounce buffer adjustment patch

From: Ashish Kalra <ashish.kalra@....com>

Need to add "inline" to swiotlb_adjust_size() when
CONFIG_SWIOTLB is not defined.

Signed-off-by: Ashish Kalra <ashish.kalra@....com>
---
 include/linux/swiotlb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index 075748f367ea..e8074ff1b8c7 100644
--- a/include/linux/swiotlb.h
+++ b/include/linux/swiotlb.h
@@ -104,7 +104,7 @@ static inline bool is_swiotlb_active(void)
 	return false;
 }
 
-static void swiotlb_adjust_size(unsigned long new_size)
+static inline void swiotlb_adjust_size(unsigned long new_size)
 {
 }
 #endif /* CONFIG_SWIOTLB */
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ