Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650347

[PATCH] reset: hisilicon: Fix hi6220 module license

From Andreas Färber <afaerber@suse.de>
Newsgroups linux.kernel
Subject [PATCH] reset: hisilicon: Fix hi6220 module license
Date 2017-05-25 11:30 +0200
Message-ID <tKXfI-6pg-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The hi6220_reset driver fails to load:

  [   10.423640] hi6220_reset: module license 'unspecified' taints kernel.
  [   10.423644] Disabling lock debugging due to kernel taint
  [   10.423735] hi6220_reset: Unknown symbol regmap_write (err 0)
  [   10.423747] hi6220_reset: Unknown symbol devm_kmalloc (err 0)
  [   10.423759] hi6220_reset: Unknown symbol syscon_node_to_regmap (err 0)
  [   10.423768] hi6220_reset: Unknown symbol reset_controller_register (err 0)
  [   10.423784] hi6220_reset: Unknown symbol __platform_driver_register (err 0)

Add a MODULE_LICENSE() to fix this.

Fixes: 70b3590f639f ("reset: hi6220: fix modular build")
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 drivers/reset/hisilicon/hi6220_reset.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset/hisilicon/hi6220_reset.c
index 35ce53edabf9..d5e5229308f2 100644
--- a/drivers/reset/hisilicon/hi6220_reset.c
+++ b/drivers/reset/hisilicon/hi6220_reset.c
@@ -155,3 +155,5 @@ static int __init hi6220_reset_init(void)
 }
 
 postcore_initcall(hi6220_reset_init);
+
+MODULE_LICENSE("GPL v2");
-- 
2.12.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] reset: hisilicon: Fix hi6220 module license Andreas Färber <afaerber@suse.de> - 2017-05-25 11:30 +0200
  Re: [PATCH] reset: hisilicon: Fix hi6220 module license Chen Feng <puck.chen@hisilicon.com> - 2017-05-26 05:20 +0200
  Re: [PATCH] reset: hisilicon: Fix hi6220 module license Arnd Bergmann <arnd@arndb.de> - 2017-05-26 10:50 +0200
    Re: [PATCH] reset: hisilicon: Fix hi6220 module license Andreas Färber <afaerber@suse.de> - 2017-05-26 11:40 +0200
  Re: [PATCH] reset: hisilicon: Fix hi6220 module license Philipp Zabel <p.zabel@pengutronix.de> - 2017-05-29 11:50 +0200
    Re: [PATCH] reset: hisilicon: Fix hi6220 module license Andreas Färber <afaerber@suse.de> - 2017-05-29 15:10 +0200
      Re: [PATCH] reset: hisilicon: Fix hi6220 module license Philipp Zabel <p.zabel@pengutronix.de> - 2017-05-30 10:50 +0200

csiph-web