aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2010-03-03Staging: dt3155: replace u_char usageGreg Kroah-Hartman5-65/+65
Use u8 instead, that's the proper thing to do. Cc: Scott Smedley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: dt3155: coding cleanups for dt3155_io.hGreg Kroah-Hartman1-251/+212
This fixes up some coding style issues in the dt3155_io.h file Cc: Scott Smedley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: dt3155: fix build warningsGreg Kroah-Hartman1-12/+13
This fixes the build warnings in the dt3155 driver Cc: Scott Smedley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: ssc_dnp: fixed a brace coding style issueGreg Kroah-Hartman1-3/+3
Fixed a coding style issue. Created during the keynote presentation at FOSDEM 2010 Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: ni_pcidio: Checkpatch cleanupsBenjamin Adolphi1-39/+44
This fixes almost all checkpatch issues in the ni_pcidio comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: rti802: Checkpatch cleanupsBenjamin Adolphi1-5/+3
This fixes all checkpatch issues in the rti802 comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: dt2815: Checkpatch cleanupsBenjamin Adolphi1-50/+39
This fixes all checkpatch issues in the dt2815 comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: samsung-laptop: fix coding style issuesChihau Chau1-3/+6
This fixes some lines over 80 characters coding style issues. Signed-off-by: Chihau Chau <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: rt2860: correct onstack wait_queue_head declarationYong Zhang1-1/+1
Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy Signed-off-by: Yong Zhang <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: Alexander Beregalov <[email protected]> Cc: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: rtl8192e: fix spacing style issues in r8180_93cx6.cTim Schofield1-31/+32
This is a patch to the r8180_93cx6.c file that fixes up spacing issue warnings found by the checkpatch.pl tool Signed-off-by: Tim Schofield <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: fix brace coding style in comedi_fops.cPaul Elms1-4/+2
This patch to the comedi_fops.c file fixes a brace warning found by the checkpatch.pl tool Signed-off-by: Paul Elms <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: fix brace coding style issues in ni_labpc.ctony burrows1-21/+15
This patch fixes all of the brace style warnings found by the checkpatch.pl tool Signed-off-by: Tony Burrows <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: Fix continuation line formatsJoe Perches3-14/+13
String constants that are continued on subsequent lines with \ are not good. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: wlan-ng: minor cleanupsRichard Kennedy1-4/+0
Remove iw_handle_def private initialisations as they are no longer need these. Signed-off-by: Richard Kennedy <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: Fix continuation line formatsJoe Perches4-8/+4
String constants that are continued on subsequent lines with \ are not good. Fixed a "is tryied" / tried typo Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: adq12b: Checkpatch cleanups 2Benjamin Adolphi1-8/+10
This fixes all checkpatch issues in the adq12b comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: fl512: Checkpatch cleanupsBenjamin Adolphi1-28/+44
This fixes all checkpatch issues in the fl512 comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: ni_65xx: Checkpatch cleanupsBenjamin Adolphi1-25/+24
This fixes all checkpatch issues in the ni_65xx comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: ni_670x: Checkpatch cleanupsBenjamin Adolphi1-14/+18
This fixes all checkpatch issues in the ni_670x comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: ni_660x: Checkpatch cleanupsBenjamin Adolphi1-35/+36
This fixes all checkpatch issues in the ni_660x comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: poc: Checkpatch cleanupsBenjamin Adolphi1-8/+6
This fixes all checkpatch issues in the poc comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: pcm3730: Checkpatch cleanupsBenjamin Adolphi1-3/+3
This fixes all checkpatch issues in the pcm3730 comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: comedi: pcm3724: Checkpatch cleanupsBenjamin Adolphi1-45/+40
This fixes all checkpatch issues in the pcm3724 comedi driver. Signed-off-by: Benjamin Adolphi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: ramzswap: Update copyright noticeNitin Gupta6-6/+6
Update copyright notice. Signed-off-by: Nitin Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: ramzswap: Handle case for invalid backing swapNitin Gupta1-5/+11
Currently, we crash (issue BUG_ON) if backing swap disk size is zero. This can happen is user specified an extended partition or simply a bad disk as backing swap. A crash is really an unpleasant surprise to user for such trivial problems. Now, we check for this condition and simply fail device initialization if this is the case. Additional cleanups: * use static for all functions * remove extra newline between functions * memset backing_swap_name to NULL on device reset Signed-off-by: Nitin Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: ramzswap: Remove redundant check for zero pageNitin Gupta1-10/+5
ramzswap_free_page() already handles the case for zero filled pages. So, remove redundant logic for the same in ramzswap_write(). Signed-off-by: Nitin Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: ramzswap: Return proper error code on device create failureNitin Gupta1-16/+28
Currently, we return 0 if create_device() fails and 1 otherwise. Now, proper error code is returned from create_device() and the same is propagated as module error code from ramzswap_init(). Also added some cleanups for ramzswap_init(), improving function structure. Signed-off-by: Nitin Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: ramzswap: Set block size to PAGE_SIZENitin Gupta1-0/+4
ramzswap block size needs to be set equal to PAGE_SIZE to avoid receiving any unaligned block I/O requests (happens due to readahead logic during swapon). These unaligned accesses produce unnecessary I/O errors, scaring users. Signed-off-by: Nitin Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: ramzswap: Flush block device before resetNitin Gupta1-3/+8
Make sure we flush block device before freeing all metadata during reset ioctl. Signed-off-by: Nitin Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: ramzswap: Use lock for 64-bit statsNitin Gupta3-38/+80
64-bit stats corruption was observed when ramzswap was used on SMP systems. To prevent this, use separate spinlock to protect these stats. Also, replace stat_*() with rzs_stat*() to avoid possible conflict with core kernel code. Eventually, these will be converted to per-cpu counters if this driver finds use on large scale systems and this locking is found to affect scalability. Signed-off-by: Nitin Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: r8187se: Fix a faulty if and do additional cleanupsLarry Finger1-183/+122
Cleanup the driver and fix a faulty if statement. Signed-off-by: Larry Finger <[email protected]> Tested by: Bernhard Schiffner <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: otus: fix memory leakd binderman1-3/+3
Fix memory leak in drivers/staging/otus Signed-off-by: David Binderman <[email protected]>
2010-03-03Staging: usbip: Seperate usbip config debug from CONFIG_USB_DEBUGHimanshu4-6/+13
Signed-off-by: Himanshu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: usbip: Remove dead codeHimanshu Chauhan1-54/+0
This patch removes the dead uncompiled code in usbip_common.c Signed-off-by: Himanshu Chauhan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: usbip: use print_hex_dump() instead of open coding it.Himanshu Chauhan1-27/+2
Signed-off-by: Himanshu Chauhan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: usbip: minor code cleanupHimanshu Chauhan1-4/+1
Signed-off-by: Himanshu Chauhan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x_kill MAC_STAT_tAlan Cox1-31/+13
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: kill off the rxmac ctrl typeAlan Cox4-35/+20
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: kill the rxmac ERROR_REG_tAlan Cox2-20/+8
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Kill MIF_CTL_tAlan Cox2-18/+8
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Kill the SPACE_AVAIL typeAlan Cox2-18/+7
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Kill off the rxq_diag typesAlan Cox2-18/+7
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Kill of the MCIF typesAlan Cox2-47/+19
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: kill off RXMAC_PF_CTRL_tAlan Cox3-51/+33
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Kill rxmac crc fieldsAlan Cox2-66/+22
More we don't need Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et13x: kill off TXMAC_ERR_INT_tAlan Cox2-35/+19
This completes the structures within the txmac block so we can now propogate a name change and type removal up a layer and clean up TXMAC as well Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Kill off the TXMAC_ERR_t typeAlan Cox2-28/+12
This is another one we don't really need to do much to get rid of Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: kill txmac err count typedefAlan Cox1-17/+6
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Kil the txmac typeAlan Cox2-32/+16
Only used for one trivial thing so turn that into something trivial instead Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03Staging: et131x: Collapse all the function definitions into one placeAlan Cox23-777/+242
We have lots of tiny files right now that could be one Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>