lkml.org 
[lkml]   [2012]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/2] Staging: Style cleanup and mem leak fixes for drivers/staging/bcm/CmHost.c
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@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.



\
 
 \ /
  Last update: 2012-01-24 23:47    [W:0.094 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site