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>] [day] [month] [year] [list]
Date: Thu, 21 Dec 2023 20:32:33 +0000
From: Tanzir Hasan <tanzirh@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Nick Desaulniers <nnn@...gle.com>, 
	Al Viro <viro@...iv.linux.org.uk>, Tanzir Hasan <tanzirh@...gle.com>
Subject: [PATCH] lib: Replaced asm-generic/io with linux/io

asm-generic/io.h can be replaced with linux/io.h and the file will still
build correctly. It is an asm-generic file which should be avoided if
possible.

Suggest-by: Al Viro <viro@...iv.linux.org.uk>
Signed-off-by: Tanzir Hasan <tanzirh@...gle.com>
---
 lib/trace_readwrite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/trace_readwrite.c b/lib/trace_readwrite.c
index 62b4e8b3c733..a94cd56a1e4c 100644
--- a/lib/trace_readwrite.c
+++ b/lib/trace_readwrite.c
@@ -7,7 +7,7 @@
 
 #include <linux/ftrace.h>
 #include <linux/module.h>
-#include <asm-generic/io.h>
+#include <linux/io.h>
 
 #define CREATE_TRACE_POINTS
 #include <trace/events/rwmmio.h>

---
base-commit: 55cb5f43689d7a9ea5bf35ef050f12334f197347
change-id: 20231220-tracereadwrite-5ea130b1f137

Best regards,
-- 
Tanzir Hasan <tanzirh@...gle.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ