[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151123203329.GA30351@amd>
Date: Mon, 23 Nov 2015 21:33:30 +0100
From: Pavel Machek <pavel@....cz>
To: peppe.cavallaro@...com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: stmmac: debugfs broken with multiple ethernets.
Hi!
> stmmac_main will happily try to create two directories with the same
> name.
>
> I guess something like
>
> static int id;
> char name[100];
>
> sprintf(name, STMMAC_RESOURCE_NAME "_%d", id++)
> ...
>
> might be suitable, but did not try that further.
Hmm. It seems this is fixed in v4.1. Sorry for the noise.
Best regards,
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists