[Cbe-oss-dev] [PATCH 2/10] spidernet: beautify error messages

Linas Vepstas linas at austin.ibm.com
Sat May 19 03:08:38 EST 2007


On Thu, May 17, 2007 at 09:28:53AM +1000, Michael Ellerman wrote:
> On Wed, 2007-05-16 at 17:00 -0500, Linas Vepstas wrote:
> > -			pr_err("Not enough memory to allocate rx buffer\n");
> > +			pr_err("%s: Not enough memory to allocate rx buffer\n",
> > +			    card->netdev->name);
> 
> Isn't that what dev_err() is for?

Ahh, did not know that. These patches just got pushed upstream, I'll send 
a separate round to clean this up.

--linas





More information about the cbe-oss-dev mailing list