netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (unknown)
@ 2017-02-10  7:41 Marty Plummer
  2017-02-10  7:45 ` net: hix5hd2_gmac uninitialized net_device Marty Plummer
  0 siblings, 1 reply; 9+ messages in thread
From: Marty Plummer @ 2017-02-10  7:41 UTC (permalink / raw)
  To: netdev; +Cc: yisen.zhuang, salil.mehta, linux-kernel

Greetings.

I think I may have found a bug with the hix5hd2_gmac driver; unless I'm
missing something, it appears that somehow the net_device struct is not
being initialized properly in the hix5hd2_dev_probe function.

Having set up my devicetree properly (I hope, still new to this), I first
recieved an error when inserting the module:
"(unnamed net_device) (uninitialized): No irq resource"
while I very clearly have the interrupts property defined within this node.

Removing the phy-handle node for testing purposes, I get a similar message:
"(unnamed net_device) (uninitialized): not find phy-handle"

So, it seams to my (admittedly inexperienced) mind that the ndev pointer is
not being initialized properly, or that the error checking at line 1111
is not functioning properly either, for it to have gotten so far along
into the function, only to fail at the attempt to access the ndev pointer.

If you require more information from me, please let me know.

Marty

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-17  1:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10  7:41 (unknown) Marty Plummer
2017-02-10  7:45 ` net: hix5hd2_gmac uninitialized net_device Marty Plummer
2017-02-10 10:21   ` Dongpo Li
2017-02-11  0:51     ` Marty Plummer
2017-02-13  1:25       ` Dongpo Li
2017-02-14 23:59         ` Marty Plummer
2017-02-15  6:18           ` Dongpo Li
2017-02-16 18:45             ` Marty Plummer
2017-02-17  1:32               ` Dongpo Li

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).