[PATCH 2/2] rtl8192su: Fix procfs code for interfaces not named wlan0

2010-05-24 Thread Ben Hutchings
The current code creates directories in procfs named after interfaces, but doesn't handle renaming. This can result in name collisions and consequent WARNINGs. It also means that the interface name cannot reliably be used to remove the directory - in fact the current code doesn't even try, and al

[PATCH 1/2] rtl8192su: Clean up in case of an error in module initialisation

2010-05-24 Thread Ben Hutchings
Currently various resources may be leaked in case of an error. Signed-off-by: Ben Hutchings --- This is compile-tested only. Ben. drivers/staging/rtl8192su/r8192U_core.c | 43 ++- 1 files changed, 36 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8

Re: [PATCH] Staging: vt6656: fix brace coding style issue in 80211mgr.c This is a patch to the 80211mgr.c file that fixes up a brace warning found by the checkpatch.pl tool Signed-off-by: Timofey Trof

2010-05-24 Thread Greg KH
On Sat, May 22, 2010 at 04:53:32PM -0700, Charles Clément wrote: > Hey, > > On Sat, May 22, 2010 at 09:52:25PM +0400, Тимофей Трофимов wrote: > > Hi, Charles. I understand what I did wrong and never will make this > > mistake mistake again. I really thought that I write this. Sorry. > > P.S. This

Re: [PATCH] staging/comedi: new Kconfig and Makefiles, drivers grouped by bustype.

2010-05-24 Thread Greg KH
On Mon, May 24, 2010 at 11:05:06AM +0100, Martyn Welch wrote: > Even if there are a few dependencies missing, it seems like a step forward. Yes it is, that's why it is now in Linus's tree for inclusion in the .35 release :) thanks, greg k-h ___ devel m

Re: [PATCH 2/3] Rename ramzswap to zram in code.

2010-05-24 Thread Nitin Gupta
(resending with -M option to git format-patch. Other patches are not affected with this option. Thanks Arnd!) Rename ramzswap to zram in code and also rename files accordingly. Automated renames in code: - rzs* -> zram* - ramzswap* -> zram* - RZS -> ZRAM* (somehow git is not allowing separat

Re: [PATCH] Staging: comedi: Refactored code to fix long line lengths in drivers.c

2010-05-24 Thread Joe Perches
On Mon, 2010-05-24 at 17:22 +0800, Mark wrote: > Joe I'm happy with this patch, so we can submit it as is. I've added a > signed-off-by line for you below since it is really your code, is that ok for > me > to add that? I was just typing for example's sake. I didn't compile it or test it. If you

Re: [PATCH 2/3] Rename ramzswap to zram in code.

2010-05-24 Thread Arnd Bergmann
On Monday 24 May 2010 16:18:04 Nitin Gupta wrote: > Rename ramzswap to zram in code and also rename > files accordingly. > > Automated renames in code: > - rzs* -> zram* > - ramzswap* -> zram* > - RZS -> ZRAM* When renaming files, the -M option to git-format-patch helps making the patch more r

[PATCH 3/3] Rename ramzswap to zram in documentation

2010-05-24 Thread Nitin Gupta
Changes: - Included example to show usage as generic (non-swap) disk with ext4 filesystem. - Renamed rzscontrol with zramconfig to match with new device naming. Signed-off-by: Nitin Gupta --- drivers/staging/zram/zram.txt | 51 + 1 files changed, 31 in

[PATCH 1/3] Support generic I/O requests

2010-05-24 Thread Nitin Gupta
Currently, ramzwap devices (/dev/ramzswapX) can only be used as swap disks since it was hard-coded to consider only the first request in bio vector. Now, we iterate over all the segments in an incoming bio which allows us to handle all kinds of I/O requests. ramzswap devices can still handle PAGE

[PATCH 0/3] zram: generic RAM based compressed R/W block devices

2010-05-24 Thread Nitin Gupta
Creates RAM based block devices: /dev/zramX (X = 0, 1, ...). Pages written to these disks are compressed and stored in memory itself. These disks allow very fast I/O and compression provides good amounts of memory savings. This is enhancement over existing ramzswap driver which creates virtual blo

[PATCH] Update TI-ST's TODO

2010-05-24 Thread Pavan Savoy
greg, Just a reminder patch, that I am working on it. adding in a bit more details for folks who want to join in, will come out with the multiple device thingy very soon. >From 12ed1e80156b378a55a0ed1708baa160ae3e862f Mon Sep 17 00:00:00 2001 From: Pavan Savoy Date: Tue, 25 May 2010 00:41:23 +

Re: Driver for Realtek ALC56xx codec needed

2010-05-24 Thread Martin Michlmayr
* Kevin McKinney [2010-05-22 10:58]: > I have been following this and several mailing list for 3 years, and I am > actually looking for a device driver to develop for my final project for my > masters degree. I have been studying the hotplug and USB projects and > looking at the ALSA subsystem. I

Re: [PATCH] staging/comedi: new Kconfig and Makefiles, drivers grouped by bustype.

2010-05-24 Thread Martyn Welch
Greg KH wrote: > On Sat, May 08, 2010 at 12:21:45PM +0400, Alexander Kurz wrote: > >> This is a new Kconfig and Makefikes for staging/comedi. >> The drivers are sorted now alphabetically in sub-menus >> depending on the bustype. >> I did some basiy dependancy tests, but there still may >> be a l

[PATCH] Staging: comedi: Checkpatch cleanups in adl_pci9111.c

2010-05-24 Thread Mark
This patch cleans up some various warnings generated from checkpatch.pl Signed-off-by: Mark Rankilor --- drivers/staging/comedi/drivers/adl_pci9111.c | 105 ++--- 1 files changed, 59 insertions(+), 46 deletions(-) diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b

[PATCH] Staging: comedi: Refactored code to fix long line lengths in drivers.c

2010-05-24 Thread Mark
Joe I'm happy with this patch, so we can submit it as is. I've added a signed-off-by line for you below since it is really your code, is that ok for me to add that? This patch refactors some code to clean up some long line length checkpatch warnings. Signed-off-by: Mark Rankilor Signed-off-by: J