[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260108093427.11238-1-navid.derakhshandeh1@gmail.com>
Date: Thu, 8 Jan 2026 13:04:27 +0330
From: Navid-Derakhshandeh <navid.derakhshandeh1@...il.com>
To: mporter@...nel.crashing.org
Cc: alex.bou9@...il.com,
linux-kernel@...r.kernel.org,
lkp@...el.com,
oe-kbuild-all@...ts.linux.dev,
Navid-Derakhshandeh <navid.derakhshandeh1@...il.com>
Subject: [PATCH v2] [PATCH V2] Driver : rio : implement discovery for all
Fix missing include of internal RapidIO header in rio.c so that
rio_scan_mport() and rio_restart_discovery_all() prototypes are visible
to the compiler.
This resolves implicit function declaration errors reported by the
kernel test robot.
Reported-by: kernel test robot <lkp@...el.com>
Close: https://lore.kernel.org/oe-kbuild-all/202601020041.aUIaVDCt-lkp@intel.com/
Signed-off-by: Navid-Derakhshandeh <navid.derakhshandeh1@...il.com>
---
drivers/rapidio/rio.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/rapidio/rio.h b/drivers/rapidio/rio.h
index a0e2a09ddb8e..5d36184d2c55 100644
--- a/drivers/rapidio/rio.h
+++ b/drivers/rapidio/rio.h
@@ -43,6 +43,8 @@ extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid,
extern int rio_register_scan(int mport_id, struct rio_scan *scan_ops);
extern void rio_attach_device(struct rio_dev *rdev);
extern int rio_mport_scan(int mport_id);
+extern void rio_scan_mport(struct rio_mport *mport);
+extern void rio_restart_discovery_all(void);
/* Structures internal to the RIO core code */
extern const struct attribute_group *rio_dev_groups[];
--
2.51.0
Powered by blists - more mailing lists