aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in ↵Matthias Beyer1-5/+19
EthCSMatchSrcMACAdress() Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in ClassifyPacket()Matthias Beyer1-45/+148
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in flush_all_queues()Matthias Beyer1-4/+16
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in PruneQueue()Matthias Beyer1-13/+37
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in IpVersion4()Matthias Beyer1-21/+75
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchDestPort()Matthias Beyer1-4/+19
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchSrcPort()Matthias Beyer1-3/+11
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchProtocol()Matthias Beyer1-4/+17
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchTos()Matthias Beyer1-3/+11
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchDestIpAddress()Matthias Beyer1-4/+18
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchSrcIpAddress()Matthias Beyer1-3/+10
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Replaced if-else return with ternary operatorMatthias Beyer1-4/+1
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Replaced do-while(0) breaks with continueMatthias Beyer1-49/+46
This patch replaces the do-while(0); loop which is used for breaking if a check fails by using the `continue` statement. This saves one indentation level. Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Replaced member accessing by variable in flush_all_queues()Matthias Beyer1-12/+14
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Replaced member accessing with variable in PruneQueue()Matthias Beyer1-15/+16
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Replaced do-while(0) jumps with goto and label, removes ↵Matthias Beyer1-58/+57
one level of indentation Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Replaced member accessing with variable in ↵Matthias Beyer1-3/+4
MatchDestIpAddress() Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: Qos.c: Replaced member accessing with variable in PruneQueue()Matthias Beyer1-4/+15
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: IPv6Protocol.c: Line length fixesMatthias Beyer1-33/+60
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: IPv6Protocol.c: Whitespace cleanupMatthias Beyer1-6/+5
Removes whitespace before semicolons and add blank line after declaration. Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: IPv6Protocol.c: Replaced member accessing with variableMatthias Beyer1-4/+6
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: IPv6Procotol.c: Replaced member accessing with variableMatthias Beyer1-4/+6
Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: IPv6Protocol.c: Removed unnecessary if-else blocksMatthias Beyer1-5/+2
This patch simplifies if (a) { x = false; } else { if (b) { x = false; } } to if (a || b) { x = false; } Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: bcm: IPv6Protocol.c: Reindented switch-caseMatthias Beyer1-48/+40
This patch removes the unneccessary blocks inside the case statements and fixes the indentation of their content. Signed-off-by: Matthias Beyer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: unisys: remove U8 typeBenjamin Romer17-135/+134
This patch switches all use of the U8 typedef to use the kernel's u8 type instead. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: unisys: add sysfs entries for parahotplug supportBenjamin Romer1-0/+52
This patch adds new a new directory parahotplug to the visorchipset sysfs directory, and two new attributes, deviceenabled, and devicedisabled, into the new directory, to add s-Par parahotplug support. The parahotplug interface is used to deal with SR-IOV recovery situations on s-Par guest partitions. The command service partition will send a message to a guest when an SR-IOV device that guest is using needs to be temporarily removed. The message triggers a udev event that will cause a recovery script to run. When that script has completed its work, it will write to one of the parahotplug interfaces to send a message back to Command, indicating that the recovery action has completed. When a guest that is sharing an SR-IOV device is restarted, that guest will take down the PF driver on the device, but any guests with VFs will not know that their device needs to be reset as well. The recovery script makes it so the device will be shut down fully and then restarted after the sharing guest comes back up, and ensures that the timing is correct. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: unisys: remove parahotplug proc entryBenjamin Romer1-71/+0
Remove the parahotplug proc code entirely in preparation for replacement with sysfs entries. Since visorchipset_proc_read_writeonly() is orphaned by the removal, it is removed as well. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: vt6655: clean up the tail of function device_init_registersMalcolm Priestley1-18/+19
Aligning the code. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: vt6655: remove typedef enum __device_init_typeMalcolm Priestley2-193/+225
The value is either DEVICE_INIT_COLD or DEVICE_INIT_DXPL making no difference to code. Remove typedef and remove if statement in device_init_registers pulling the code in. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: vt6655: dead code remove undefined macro IO_MAPMalcolm Priestley2-43/+1
This device is always memory mapped Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: vt6655: dead code remove undefined macro FOR_LED_ON_NOTEBOOK code.Malcolm Priestley2-68/+0
Removing all variables associated with the code. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: vt6655: deadcode remove undefined macro THREAD code.Malcolm Priestley3-109/+2
Removing _RxManagementQueue, InitRxManagementQueue, MlmeThread, mlme_kill, EnQueue and DeQueue. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: vt6655: remove undefined TASK_LET codeMalcolm Priestley4-33/+0
Removing all code within and function MngWorkItem. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging:rtl8712:mlme_linux.c: Adds blank lines to pass checkpatch.plSantiago Torres1-0/+3
Added three newlines after variable declarations to pass checkpatch.pl. Signed-off by: Santiago Torres-Arias <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: lustre: fix sparse warnings "Using plain integer as NULL pointer"Radek Dostal13-42/+42
fixes all sparse warnings "Using plain integer as NULL pointer" in drivers/staging/lustre drivers/staging/lustre/lnet/lnet/api-ni.c:1665:32: warning: Using plain integer as NULL pointer drivers/staging/lustre/lnet/lnet/api-ni.c:1773:35: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/fld/fld_request.c:171:17: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/llite/llite_lib.c:155:30: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/llite/lproc_llite.c:846:11: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_obd.c:902:48: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_obd.c:946:54: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_obd.c:2819:46: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_dev.c:456:66: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/mdc_request.c:2426:46: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/mdc_request.c:2569:46: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/mdc_request.c:2740:46: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:175:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:176:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:177:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:178:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:179:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:180:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:181:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:182:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:183:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:185:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:186:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:193:66: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:194:63: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:195:56: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:196:51: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:197:50: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:198:48: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:199:57: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:200:11: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:206:48: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mdc/lproc_mdc.c:207:11: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/mgc/mgc_request.c:199:9: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/obdclass/linux/linux-module.c:331:11: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/obdclass/obd_config.c:1164:53: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/obdclass/obd_config.c:1306:71: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/obdclass/llog_test.c:943:62: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/obdclass/llog_test.c:944:65: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/obdecho/echo_client.c:3116:46: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/osc/osc_request.c:3424:46: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/osc/osc_request.c:3548:46: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/osc/osc_request.c:3615:46: warning: Using plain integer as NULL pointer Signed-off-by: Radek Dostal <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: lustre: linux-module: add const modifier to file_operationsJessica Yu1-1/+1
Add the const modifier to the file_operations struct, since it is normally const. Signed-off-by: Jessica Yu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: lustre: linux-module: remove extraneous parensJessica Yu1-2/+2
Remove unnecessary parens from return statements, return is not a function Signed-off-by: Jessica Yu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: lustre: linux-module: remove unnecessary spacesJessica Yu1-2/+2
Remove extraneous space after open paren and before close paren. Signed-off-by: Jessica Yu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30Staging: lustre: linux-module: fix pointer style issueJessica Yu1-2/+2
Fix pointer code style (foo * bar -> foo *bar) Signed-off-by: Jessica Yu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: amplc_dio200: use the comedi_device 'mmio' memberH Hartley Sweeten4-40/+20
The amplc_dio200_common module currently uses a union in the private data to determine if the hardware uses port or memory mapped I/O. Use the new 'mmio' member in the comedi_device for the ioremap'ed base address and remove all the union code. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: ii_pci20kc: use the comedi_device 'mmio' memberH Hartley Sweeten1-27/+15
Use the new 'mmio' member in the comedi_device for the __iomem * base address. Since this was the only member in the private data, remove the struct and its allocation. This legacy driver is a bit strange. The base address of the board is passed to the (*attach) using by the user using the comedi_config utiltiy. This base address is currently not ioremap'ed and is simply cast to a void __iomem *. I'm not sure if this is correct. Add a comment so it will be addressed later. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: ni_labpc: use the comedi_device 'mmio' memberH Hartley Sweeten3-34/+16
Use the new 'mmio' member in the comedi_device for the ioremap'ed base address. Only the ni_labpc_pci module does the ioremap, its also the only module that sets the 'has_mmio' member in the boardinfo. Remove this member from the boardinfo and use dev->mmio to determine if the I/O is memory mapped. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: ni_labpc: refactor labpc_8255_mmio()H Hartley Sweeten1-6/+13
Refactor the 8255 support code in preperation for using the comedi_device 'mmio' member. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: ni_labpc: don't pass dev->iobase to labpc_counter_set_mode()H Hartley Sweeten1-10/+7
Use the comedi_device parameter that is passed to this function to find the dev->iobase so it does not have to be included in each call. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: ni_labpc: don't pass dev->iobase to labpc_counter_load()H Hartley Sweeten1-10/+10
Use the comedi_device parameter that is passed to this function to find the dev->iobase so it does not have to be included in each call. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: ni_labpc: pass comedi_device to the I/O callbacksH Hartley Sweeten3-67/+73
This driver uses some callbacks in the private data to handle the port mapped or memory mapped I/O used to access the hardware. Pass the comedi_device pointer to the helper functions so that the base address can be found and does not need to be included in each call. Also, remove the inline from the helper functions. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: mite: use the comedi_device 'mmio' memberH Hartley Sweeten6-173/+118
Use the new 'mmio' member in the comedi_device for the ioremap'ed 'daq_io_addr'. Move the iounmap of this address from mite_detach() to the drivers that use the mite module. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: mite: pass comedi_device to mite_setup()H Hartley Sweeten5-22/+18
For aesthetics, pass the comedi_device to mite_setup() and mite_setup2() so that the dev->class_dev can be used in the dev_{level} message to make the messages have consistancy with the other comedi drivers. Remove the extra dev_warn() noise in the drivers when mite_setup() fails. Rename the 'use_iodwbsr_1' parameter and change it to a bool. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: mite: inline mite_setup()H Hartley Sweeten2-7/+6
This exported function simply calls mite_setup2() with the 'use_iodsbsr_1' parameter set to 0. Inline the simple function and remove the EXPORT_SYMBOL_GPL. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-07-30staging: comedi: s626: use the comedi_device 'mmio' memberH Hartley Sweeten1-106/+88
Use the new 'mmio' member in the comedi_device for the ioremap'ed base address. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>