lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 1 Aug 2015 02:03:33 +0300
From:	Igor Gnatenko <i.gnatenko.brain@...il.com>
To:	Joachim Eastwood <manabian@...il.com>
Cc:	Giuseppe Cavallaro <peppe.cavallaro@...com>, davem@...emloft.net,
	netdev <netdev@...r.kernel.org>,
	Maxime Ripard <maxime.ripard@...ndra.org>
Subject: Re: [PATCH RESEND net] stmmac: fix missing MODULE_LICENSE in stmmac_platform

I've just get's home. It works, thanks for quick fix!

On Fri, Jul 31, 2015 at 8:13 PM, Joachim Eastwood <manabian@...il.com> wrote:
> Commit 50649ab14982 ("stmmac: drop driver from stmmac platform code")
> was a bit overzealous in removing code and dropped the MODULE_*
> macro's that are still needed since stmmac_platform can be a module.
> Fix this by putting the macro's remvoed in 50649ab14982 back.
>
> This fixes the following errors when used as a module:
>   stmmac_platform: module license 'unspecified' taints kernel.
>   Disabling lock debugging due to kernel taint
>   stmmac_platform: Unknown symbol devm_kmalloc (err 0)
>   stmmac_platform: Unknown symbol stmmac_suspend (err 0)
>   stmmac_platform: Unknown symbol platform_get_irq_byname (err 0)
>   stmmac_platform: Unknown symbol stmmac_dvr_remove (err 0)
>   stmmac_platform: Unknown symbol platform_get_resource (err 0)
>   stmmac_platform: Unknown symbol of_get_phy_mode (err 0)
>   stmmac_platform: Unknown symbol of_property_read_u32_array (err 0)
>   stmmac_platform: Unknown symbol of_alias_get_id (err 0)
>   stmmac_platform: Unknown symbol stmmac_resume (err 0)
>   stmmac_platform: Unknown symbol stmmac_dvr_probe (err 0)
>
> Fixes: 50649ab14982 ("stmmac: drop driver from stmmac platform code")
> Reported-by: Igor Gnatenko <i.gnatenko.brain@...il.com>
Reported-and-tested-by: Igor Gnatenko <i.gnatenko.brain@...il.com>
I think also lacks of reference tag.
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=102141
> Signed-off-by: Joachim Eastwood <manabian@...il.com>
> ---
> Hi,
>
> Sorry for the resend, I managed to screwed up Igor's email address
> in the previous one.
>
>
> An alternative solution could be to change CONFIG_STMMAC_PLATFORM
> into a bool, but I guess we want to keep things as modular as
> possible.
>
> Please test this Igor and report back. Thanks!
>
> CAFMg4WCm6rs6xMKPiKGmALc45+ne-xUzQgYHH7zOPotQ-iEqjg@...l.gmail.com
>
>  drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> index f3918c7e7eeb..bcdc8955c719 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> @@ -413,3 +413,7 @@ static int stmmac_pltfr_resume(struct device *dev)
>  SIMPLE_DEV_PM_OPS(stmmac_pltfr_pm_ops, stmmac_pltfr_suspend,
>                                        stmmac_pltfr_resume);
>  EXPORT_SYMBOL_GPL(stmmac_pltfr_pm_ops);
> +
> +MODULE_DESCRIPTION("STMMAC 10/100/1000 Ethernet platform support");
> +MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@...com>");
> +MODULE_LICENSE("GPL");
> --
> 1.8.0
>



-- 
-Igor Gnatenko
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ