Re: [patch] CodingStyle: add some more error handling guidelines

Dan Carpenter
2014-12-03T13:20:02Z

Sorry. I misread your email. If the code looks like this:

foo = kmalloc();
if (!foo)
goto kmalloc_failed;

The "kmalloc_failed" doesn't add any information. We can see that
kmalloc failed from the context.

regards,
dan carpenter