[PATCH 0/2] Staging: Style cleanup and mem leak fixes for drivers/staging/bcm/CmHost.c

Jesper Juhl jj at chaosbits.net
Tue Jan 24 22:44:38 UTC 2012


Hi

Here are two patches for drivers/staging/bcm/CmHost.c

I spotted some memory leaks and wanted to clean them up, but while doing 
so I thought "this function could do with a style cleanup" - then looked 
at another function and thought the same and then I looked at the entire 
file and thought "Ok, before I touch anything in here I'm going to clean 
it up to at least not hurt my eyes anymore".

So, the result is these two patches; the first does a basic style cleanup 
- far from perfect, but a huge improvement on what was there before, and 
the second fixes a few memory leaks.

-- 
Jesper Juhl <jj at chaosbits.net>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.




More information about the devel mailing list