From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joachim Eastwood Subject: Re: [REGRESSION] stmmac_platform: Unknown symbol devm_kmalloc (err 0) Date: Fri, 31 Jul 2015 16:02:52 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: netdev , Giuseppe Cavallaro , Maxime Ripard To: Igor Gnatenko Return-path: Received: from mail-la0-f47.google.com ([209.85.215.47]:34172 "EHLO mail-la0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752488AbbGaOCx (ORCPT ); Fri, 31 Jul 2015 10:02:53 -0400 Received: by lafd3 with SMTP id d3so44824188laf.1 for ; Fri, 31 Jul 2015 07:02:52 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Hi Igor, On 31 July 2015 at 01:07, Igor Gnatenko wrote: > Hi all, stmmac driver doesn't work on cubietruck (and some more > devices like PcDuino3 Nano[0]). > > This error comes from converting dwmac-sunxi to platform driver. > > stmmac_platform: module license 'unspecified' taints kernel. > Disabling lock debugging due to kernel taint Ah, I guess 50649ab14982a ("stmmac: drop driver from stmmac platform code") was a over eager when removing stuff. I should have kept the MODULE_* macro's as stmmac_platform can still be a module. I'll send out a patch a bit later with a CC to you. > 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) I'll look into this as well. > I've filled bugreport with the same info[1]. What info I would provide > to help with fixing this? Thanks for reporting. If you could test patch I will send out soon that would be of great help. regards, Joachim Eastwood > [0] https://lists.fedoraproject.org/pipermail/arm/2015-July/009681.html > [1] https://bugzilla.kernel.org/show_bug.cgi?id=102141 > -- > -Igor Gnatenko > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html