Re: [PATCH] reset: hisilicon: Fix hi6220 module license
From: Arnd Bergmann
Date: Fri May 26 2017 - 04:44:19 EST
On Thu, May 25, 2017 at 11:22 AM, Andreas FÃrber <afaerber@xxxxxxx> wrote:
> 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@xxxxxxxx>
> Cc: Chen Feng <puck.chen@xxxxxxxxxxxxx>
> Signed-off-by: Andreas FÃrber <afaerber@xxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
I wonder why I never ran into this in randconfig testing.