netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joachim Eastwood <manabian@gmail.com>
To: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Cc: netdev <netdev@vger.kernel.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Maxime Ripard <maxime.ripard@anandra.org>
Subject: Re: [REGRESSION] stmmac_platform: Unknown symbol devm_kmalloc (err 0)
Date: Fri, 31 Jul 2015 16:02:52 +0200	[thread overview]
Message-ID: <CAGhQ9VzAGMa3pfv8TuW5-RCsZ5m_a8amXqCtHGRh9N14cAMxAg@mail.gmail.com> (raw)
In-Reply-To: <CAFMg4WCm6rs6xMKPiKGmALc45+ne-xUzQgYHH7zOPotQ-iEqjg@mail.gmail.com>

Hi Igor,

On 31 July 2015 at 01:07, Igor Gnatenko <i.gnatenko.brain@gmail.com> 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

  reply	other threads:[~2015-07-31 14:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 23:07 [REGRESSION] stmmac_platform: Unknown symbol devm_kmalloc (err 0) Igor Gnatenko
2015-07-31 14:02 ` Joachim Eastwood [this message]
2015-07-31 15:18   ` Igor Gnatenko
2015-07-31 17:02 ` [PATCH net] stmmac: fix missing MODULE_LICENSE in stmmac_platform Joachim Eastwood
2015-07-31 22:43   ` David Miller
2015-07-31 17:13 ` [PATCH RESEND " Joachim Eastwood
2015-07-31 22:44   ` David Miller
2015-07-31 23:03   ` Igor Gnatenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGhQ9VzAGMa3pfv8TuW5-RCsZ5m_a8amXqCtHGRh9N14cAMxAg@mail.gmail.com \
    --to=manabian@gmail.com \
    --cc=i.gnatenko.brain@gmail.com \
    --cc=maxime.ripard@anandra.org \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).