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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210520121347.3467794-17-lee.jones@linaro.org>
Date:   Thu, 20 May 2021 13:13:47 +0100
From:   Lee Jones <lee.jones@...aro.org>
To:     lee.jones@...aro.org
Cc:     linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        "C. Scott Ananian" <cananian@...mni.princeton.edu>,
        Kanoj Sarcar <kanoj@....com>
Subject: [PATCH 16/16] char: mem: Provide local prototype for non-static function

Fixes the following W=1 kernel build warning(s):

 drivers/char/mem.c:95:29: warning: no previous prototype for ‘unxlate_dev_mem_ptr’ [-Wmissing-prototypes]
 drivers/char/mem.c:96:13: note: in expansion of macro ‘unxlate_dev_mem_ptr’

Cc: Arnd Bergmann <arnd@...db.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: "C. Scott Ananian" <cananian@...mni.princeton.edu>
Cc: Kanoj Sarcar <kanoj@....com>
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
 drivers/char/mem.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 95741f93a6cd0..7969ac85491df 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -40,6 +40,8 @@
 #define DEVMEM_MINOR	1
 #define DEVPORT_MINOR	4
 
+void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr);
+
 static inline unsigned long size_inside_page(unsigned long start,
 					     unsigned long size)
 {
-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ