[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231002145737.538934-1-Frank.Li@nxp.com>
Date: Mon, 2 Oct 2023 10:57:37 -0400
From: Frank Li <Frank.Li@....com>
To: bhe@...hat.com
Cc: Frank.Li@....com, arnd@...db.de, dmaengine@...r.kernel.org,
gregkh@...uxfoundation.org, imx@...ts.linux.dev,
linux-kernel@...r.kernel.org, lkp@...el.com,
oe-kbuild-all@...ts.linux.dev, rafael@...nel.org, vkoul@...nel.org
Subject: [PATCH v2 1/1] fs: debugfs: fix build error at powerpc platform
ld: fs/debugfs/file.o: in function `debugfs_print_regs':
file.c:(.text+0x95a): undefined reference to `ioread64be'
>> ld: file.c:(.text+0x9dd): undefined reference to `ioread64'
Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309291322.3pZiyosI-lkp@intel.com/
Signed-off-by: Frank Li <Frank.Li@....com>
---
Notes:
Change from v1 to v2
- fixed it by #include <linux/io-64-nonatomic-hi-lo.h>
fs/debugfs/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c
index 5b8d4fd7c747..ca6208c49339 100644
--- a/fs/debugfs/file.c
+++ b/fs/debugfs/file.c
@@ -15,6 +15,7 @@
#include <linux/pagemap.h>
#include <linux/debugfs.h>
#include <linux/io.h>
+#include <linux/io-64-nonatomic-hi-lo.h>
#include <linux/slab.h>
#include <linux/atomic.h>
#include <linux/device.h>
--
2.34.1
Powered by blists - more mailing lists