projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e2fa4
)
driver core: fw_devlink_relax_cycle() can be static
author
kernel test robot
<lkp@intel.com>
Fri, 18 Dec 2020 06:39:35 +0000
(14:39 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 20:04:37 +0000
(21:04 +0100)
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Link:
https://lore.kernel.org/r/20201218063934.GA66003@e60698be8304
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c
patch
|
blob
|
history
diff --git
a/drivers/base/core.c
b/drivers/base/core.c
index
4cc0303
..
4e15193
100644
(file)
--- a/
drivers/base/core.c
+++ b/
drivers/base/core.c
@@
-1519,7
+1519,7
@@
static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode)
*
* Return 1 if a cycle is found. Otherwise, return 0.
*/
-int fw_devlink_relax_cycle(struct device *con, void *sup)
+
static
int fw_devlink_relax_cycle(struct device *con, void *sup)
{
struct device_link *link;
int ret;