[PATCH] staging:rtl8723au: core: Added missing space reported by checkpatch.

2014-11-10 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Error. ERROR: spaces required around that '>' (ctx:WxV) Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8723au/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rt

Re: [PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Sekhar Nori
On Tuesday 11 November 2014 10:12 AM, Sekhar Nori wrote: > On Saturday 08 November 2014 02:48 PM, Prabhakar Lad wrote: >> Hi, >> >> Thanks for the patch, >> >> On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon >> wrote: >>> In order to have subsytem agnostic media bus format definitions we've >>> mo

[PATCH] staging: fwserial: remove multiple blank lines

2014-11-10 Thread Le Tan
This patch fixes the multiple blank lines issue complained by checkpatch.pl by removing useless blank lines. Signed-off-by: Le Tan --- drivers/staging/fwserial/fwserial.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwseria

Re: [PATCH] staging: panel: Fix single-open policy race condition

2014-11-10 Thread Willy Tarreau
On Wed, Nov 05, 2014 at 12:51:22PM +0100, Mariusz Gorski wrote: > On Wed, Nov 05, 2014 at 01:19:10PM +0300, Dan Carpenter wrote: > > On Tue, Nov 04, 2014 at 10:47:19PM +0100, Mariusz Gorski wrote: > > > Fix the implementation of a single-open policy for both > > > devices (lcd and keypad) by using

Administrador do sistema

2014-11-10 Thread Administrador
Caro usuário Seu e-mail ultrapassou 2 GB criados pelo webmaster, que está atualmente em execução no 2.30GB, o que não é possível enviar ou receber nova mensagem dentro das próximas 24 horas, até que você verifique se você enviar e-mail da conta. Por favor, informe seus dados abaixo para verif

[PATCH v2] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
All the changes are against variables/functions that are only accessed from within the same file. If the scope needs to change later on, the static keyword can be removed. Build tested. Signed-off-by: Adrian Nicoara --- drivers/staging/lustre/lnet/lnet/module.c | 2 +- drivers/staging

Re: [PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Sekhar Nori
On Saturday 08 November 2014 02:48 PM, Prabhakar Lad wrote: > Hi, > > Thanks for the patch, > > On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon > wrote: >> In order to have subsytem agnostic media bus format definitions we've >> moved media bus definition to include/uapi/linux/media-bus-format.h

Re: [V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:34PM -0800, Stephanie Wallick wrote: > +/** > + * Returns the number of urbs currently in the MA USB HCD. Will return 0 if > the > + * MA USB HCD is empty or a negative errno if an error occurs. How can this function return a negative number? I don't see that codepa

Re: [PATCH] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
> All the changes are against variables/functions that are only accessed from > within the same file. If the scope needs to change later on, the static > keyword > can be removed. > > Compile tested. Correction - I somehow missed a compile error. Disregard this patch, I'll follow up with a correct

Re: [V2 PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:41PM -0800, Stephanie Wallick wrote: > Signed-off-by: Sean O. Stalley > Signed-off-by: Stephanie Wallick No changelog entry? > --- > MAINTAINERS| 7 +++ > drivers/staging/Kconfig| 2 ++ > drivers/staging/Makefile

Re: [V2 PATCH 05/10] added media specific (MS) TCP drivers

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:36PM -0800, Stephanie Wallick wrote: > +static int ma_open; Why do you need this variable? > +/** > + * This function is used to open the device file in order to read/write > + * from/to it. > + * > + * @inode: Struct with various information that is passed in when

Re: [V2 PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:32PM -0800, Stephanie Wallick wrote: > +static int mausb_bus_probe(struct device *dev) > +{ > + return mausb_probe(dev); > +} > + > +static int mausb_bus_remove(struct device *dev) > +{ > + return mausb_remove(dev); > +} Wrapper functions that just call anothe

[PATCH] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
All the changes are against variables/functions that are only accessed from within the same file. If the scope needs to change later on, the static keyword can be removed. Compile tested. Signed-off-by: Adrian Nicoara --- There are 73 such warnings remaining by my last count. They, however, requ

RE: [PATCH v2 2/2] Tools: hv: vssdaemon: skip all filesystems mounted readonly

2014-11-10 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov > Sent: Tuesday, November 11, 2014 0:37 AM > To: KY Srinivasan; Haiyang Zhang; Greg Kroah-Hartman > Cc: de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH v2 2/2] Tools: hv: vssdaemon: skip all filesystems m

RE: [PATCH v2 1/2] Tools: hv: vssdaemon: report freeze errors

2014-11-10 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov > Sent: Tuesday, November 11, 2014 0:37 AM > To: KY Srinivasan; Haiyang Zhang; Greg Kroah-Hartman > Cc: de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH v2 1/2] Tools: hv: vssdaemon: report freeze errors >

[V2 PATCH 05/10] added media specific (MS) TCP drivers

2014-11-10 Thread Stephanie Wallick
This is where we handle media specific packets and transport. The MS driver interfaces with a media agnostic (MA) driver via a series of transfer pairs. Transfer pairs consist of a set of functions to pass MA USB packets back and forth between MA and MS drivers. There is one transfer pair per devic

[V2 PATCH 09/10] added tools for building/loading media agnostic (MA) USB drivers

2014-11-10 Thread Stephanie Wallick
Adds various scripts for building, loading and unloading the MA USB drivers and a utility that can be used for connecting and disconnecting the host and device drivers. Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick --- drivers/staging/mausb/mausb-util/AUTHORS | 2 +

[V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-10 Thread Stephanie Wallick
This is where we create, store and handle endpoint and device structures that are specific to the MA USB drivers. Each MA USB structure maps 1:1 with it's corresponding USB structure (e.g. there is one MA USB endpoint per USB endpoint). Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wall

[V2 PATCH 08/10] added media agnostic (MA) USB data packet handling

2014-11-10 Thread Stephanie Wallick
The MA USB Specification outlines packet types and a protocol for bulk and interrupt transfers. This is where we implement that protocol. MA USB transfers are initiated by the host via a TransferRequest packet. The host then either sends data to the device via subsequent TransferRequest packets (OU

[V2 PATCH 04/10] added media agnostic (MA) USB packet handling

2014-11-10 Thread Stephanie Wallick
This is where we handle MA USB packets. The structure and types of MA USB packets are defined in the MA USB specification. When an MA USB driver receives a USB packet, it translates it into a MA USB packet (or packets if urb exceeds maximum USB packet size). When an MA USB packet is received, the d

[V2 PATCH 02/10] added media agnostic (MA) USB HCD roothubs

2014-11-10 Thread Stephanie Wallick
This is where we implement USB 2.0 and 3.0 roothubs. From the host's perspective, hub state is set and tracked just like any other USB roothub. Likewise, requests to the roothub appear to be handled like any other wired USB request. Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick

[V2 PATCH 06/10] added media agnostic (MA) UDC

2014-11-10 Thread Stephanie Wallick
This is where we implement the behavior of a USB device controller for the MA USB device-side driver. The MA UDC interfaces with a gadget driver and appears to the driver as a regular UDC. However, instead of sending USB packets over a wired USB bus, the MA UDC hands MA USB packets off to a media s

[V2 PATCH 07/10] added media agnostic (MA) USB management packet handling

2014-11-10 Thread Stephanie Wallick
The Media Agnostic USB Specification outlines a number of managment packet types for management and control functions. Each function is initiated with a particular type of managment request packet and completed with the corresponding management response packet. This is where we fill the fields for

[V2 PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-10 Thread Stephanie Wallick
Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick --- MAINTAINERS| 7 +++ drivers/staging/Kconfig| 2 ++ drivers/staging/Makefile | 1 + drivers/staging/mausb/Kconfig | 16 drivers/staging/ma

[V2 PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-10 Thread Stephanie Wallick
This is where we interface with the existing USB stack and implement the functionality of a USB host controller driver. From the host's perspective, we appear as just another USB host controller. However, instead of passing traffic along a wired USB bus, the driver hands USB packets off for transpo

[PATCH 1/4] staging: comedi: adl_pci9118: use comedi_async 'scans_done' to detect EOA

2014-11-10 Thread H Hartley Sweeten
The comedi core now counts the number of samples added to the async buffer and detects the end-of-scan and increments the comedi_async 'scans_done' counter. Remove the private data member 'ai_act_scan' and use the 'scans_done' member to detect the end-of-acquisition. Signed-off-by: H Hartley Swee

[PATCH 4/4] staging: comedi: adl_pci9118: switch DMA buffers after writing samples

2014-11-10 Thread H Hartley Sweeten
Currently the DMA buffers are switched before writing the current samples to the async buffer. This works but when the EOA event happens we end up with an outstanding DMA operation in progress that gets terminated by the (*cancel). Avoid the outstanding DMA operation by switching the DMA buffers a

[PATCH 2/4] staging: comedi: adl_pci9118: absorb move_block_from_dma()

2014-11-10 Thread H Hartley Sweeten
Absorb this simple helper function into interrupt_pci9118_ai_dma(). Remove the unnecessary local variables 'sampls' and 'm'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci9118.c | 24 +++- 1 file changed, 7

[PATCH 3/4] staging: comedi: adl_pci9118: use comedi_bytes_to_samples()

2014-11-10 Thread H Hartley Sweeten
Remove the assumption of the sample size by using the comedi_bytes_to_samples() helper function to convert the number of bytes to the number of samples. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci9118.c | 4 +--- 1 file chan

[PATCH 0/4] staging: comedi: adl_pci9118: tidy up AI acquisition

2014-11-10 Thread H Hartley Sweeten
Use the comedi_async 'scans_done' to detect the EOA and tidy up the DMA code a bit. H Hartley Sweeten (4): staging: comedi: adl_pci9118: use comedi_async 'scans_done' to detect EOA staging: comedi: adl_pci9118: absorb move_block_from_dma() staging: comedi: adl_pci9118: use comedi_bytes_to_sa

[PATCH] staging: comedi: adl_pci9111: use comedi_async 'scans_done' to detect EOA

2014-11-10 Thread H Hartley Sweeten
The comedi core now counts the number of samples added to the async buffer and detects the end-of-scan and increments the comedi_async 'scans_done' counter. Remove the private data member 'stop_counter' and use the 'scans_done' member to detect the end-of-acquisition. This fixes a possible interg

[PATCH 13/15] staging: comedi: addi_apci_1564: use addi_tcw.h defines for counters

2014-11-10 Thread H Hartley Sweeten
Use the generic TCW (timer/counter/watchdog) defines for the 32-bit counters. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- .../comedi/drivers/addi-data/hwdrv_apci1564.c | 35 -- drivers/staging/comedi/drivers/addi_apci_1564.c| 35 +

[PATCH 03/15] staging: comedi: addi_apci_1564: store PCI BAR 1 base address in private data

2014-11-10 Thread H Hartley Sweeten
According to ADDI-DATA, only the PLD Revision 2.x versions of the APCI-1564 have the 3 counters. The base address for these counters is found in PCI BAR 1. For aesthetics, save this base address in the private data. The dev->iobase can then be used for the main registers of the board. Signed-off-

[PATCH 05/15] staging: comedi: addi_apci_1564: detect PLD revision for I/O mapping

2014-11-10 Thread H Hartley Sweeten
The APCI-1564 has different I/O mapping depending on if the PLD revision is Rev 1.0 or Rev 2.x. The revision can be determined by reading the EEPROM register at offset 0x00 of PCI BAR 0 and checking the value of bits 7 to 4. Add this check to apci1564_auto_attach(). Currently this driver is coded

[PATCH 00/15] staging: comedi: addi_apci_1564: fix board I/O mapping

2014-11-10 Thread H Hartley Sweeten
The APCI-1564 boards do not actually have an AMCC PCI controller. According to ADDI-DATA, the boards have always used an FPGA with a PCI core. Unfortunately, there are two major revisions of the FPGA and they use different I/O mappings. Fix the driver so that both I/O map revisions work correctly

[PATCH 14/15] staging: comedi: addi_apci_1564: enable support for PLD Rev 1.0 I/O mapping

2014-11-10 Thread H Hartley Sweeten
Remove the error return in the (*auto_attach) and allow the driver to attach to APC-1564 boards that use the PLD Rev 1.0 I/O mapping. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi_apci_1564.c | 3 --- 1 file changed, 3 deletions(

[PATCH 15/15] staging: comedi: addi_watchdog: use addi_tcw.h defines for watchdog

2014-11-10 Thread H Hartley Sweeten
Use the generic TCW (timer/counter/watchdog) defines for the 8-bit watchdog. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi_watchdog.c | 30 -- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a

[PATCH 12/15] staging: comedi: addi_apci_1564: use addi_tcw.h defines for timer

2014-11-10 Thread H Hartley Sweeten
Use the generic TCW (timer/counter/watchdog) defines for the 12-bit timer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- .../comedi/drivers/addi-data/hwdrv_apci1564.c | 24 +++--- drivers/staging/comedi/drivers/addi_apci_1564.c| 23

[PATCH 07/15] staging: comedi: addi_apci_1564: fix timer iobase for all PLD revisions

2014-11-10 Thread H Hartley Sweeten
The APCI-1564 has different I/O mapping depending on if the PLD revision is Rev 1.0 or Rev 2.x. Add a member, 'timer', to the private data for the base address of the 12-bit timer. Fix the register defines so they will work for all PLD revisions and initialize the devpriv->timer appropriately. Si

[PATCH 01/15] staging: comedi: addi_apci_1564: board does not use an AMCC PCI controller

2014-11-10 Thread H Hartley Sweeten
According to ADDI-DATA, the APCI-1564 board has a FPGA with a PCI core, it does not use an AMCC PCI controller chip. Remove the amcc_s5933.h include as well as the read of the AMCC_OP_REG_INTCSR register. That offset would actually read APCI1564_WDOG_STATUS_REG register in the FPGA which has nothi

[PATCH 09/15] staging: comedi: addi_apci_1564: move counter register defines to driver

2014-11-10 Thread H Hartley Sweeten
Move the defines for the counter registers from the included source file to the main driver source file. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c | 12 drivers/staging/comedi/drivers/addi_a

[PATCH 04/15] staging: comedi: addi_apci_1564: use dev->iobase for main registers

2014-11-10 Thread H Hartley Sweeten
According to ADDI-DATA, the PLD Revision 2.x versions of the APCI-1564 use PCI BAR 0 for the main registers of the board. Remove the 'amcc_iobase' member of the private data and use the dev->iobase to store the base address of PCI BAR 1. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg

[PATCH 06/15] staging: comedi: addi_apci_1564: fix dev->iobase for all PLD revisions

2014-11-10 Thread H Hartley Sweeten
The APCI-1564 has different I/O mapping depending on if the PLD revision is Rev 1.0 or Rev 2.x. Fix the main register defines so they will work for all PLD revisions and initialie the dev->iobase appropriately. Move the register defines to the main driver source file. Signed-off-by: H Hartley Swe

[PATCH 02/15] staging: comedi: addi_apci_1564: use correct I/O base for APCI1564_DI_INT_STATUS_REG

2014-11-10 Thread H Hartley Sweeten
The APCI1564_DI_INT_STATUS_REG is located in the PCI BAR 0 I/O space. That base address is stored in devpriv->amcc_iobase. Use that to correctly read the register. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi_apci_1564.c | 4 ++-

[PATCH 08/15] staging: comedi: addi_apci_1564: fix counter code in main driver source

2014-11-10 Thread H Hartley Sweeten
The Rev 1.0 APCI-1564 boards do not have counters. Fix the code in the main driver source so that the I/O accesses to the counters do not happen if the devpriv->counters member is not initialized. This does not fix the code in hwdrv_apci1564.c. That code violates the comedi API and is currently b

[PATCH 10/15] staging: comedi: addi_apci_1564: split timer and counter subdevices

2014-11-10 Thread H Hartley Sweeten
The timer subdevice is currently broken in this driver. The Rev 1.0 and 2.x versions of the board both have a 12-bit timer. But only the Rev 2.x boards have the 3 32-bit counters. Split the current timer subdevice into two separate subdevices: 1) A single channel 12-bit timer subdevice 2) A t

[PATCH 11/15] staging: comedi: addi_tcw.h: provide generic defines for the ADDI-DATA TCW

2014-11-10 Thread H Hartley Sweeten
The TCW (timer/counter/watchdog) devices in the various ADDI-DATA drivers use a common register map definition. Provide a common generic define for these registers so they don't have to be replicated in each driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- dri

[PATCH 10/10] staging: rtl8723au: Remove sw led handling

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen The rtl8723au relies on hw led support, so no point carrying a large unused sw led infrastructure around. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/Makefile |2 - drivers/staging/rtl8723au/core/rtw_cmd.c |6 - drivers/staging/rtl

[PATCH 08/10] staging: rtl8723au: Remove unused rtl8723a_update_txdesc() and child functions

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 248 -- drivers/staging/rtl8723au/include/rtl8723a_xmit.h | 1 - 2 files changed, 249 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c b/driv

[PATCH 04/10] staging: rtl8723au: rtw_put_snap23a(): Make it static

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c| 40 ++-- drivers/staging/rtl8723au/include/rtw_xmit.h | 1 - 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/d

[PATCH 06/10] staging: rtl8723au: rtw_dump_xframe(): Use proper ETH_P_* types

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c index a67850f..cf31d29 1

[PATCH 02/10] staging rtl8723au: rtw_put_smap23a(): Use common SNAP header defines

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/core/rtw_xmit.c index b9ee983..18a9

[PATCH 03/10] staging: rtl8723au: rtw_put_snap23a(): Use put_unaligned to set protocol

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Reported-by: Arend van Spriel Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/core/rtw_xmit.c index 18a9f34..f

[PATCH 05/10] staging: rtl8723au: portctrl(): Remove a pile of unnecessary clutter

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_recv.c | 40 --- 1 file changed, 4 insertions(+), 36 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_recv.c b/drivers/staging/rtl8723au/core/rtw_recv.c index de98da5.

[PATCH 07/10] staging: rtl8723au: pxmitframe->frame_tag is never set to a value > 8

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen No point of masking out high bits since we never set the value to anything exceeding bits 0-3. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +- drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 11 ++- 2 files changed, 7 insertio

[PATCH 09/10] staging: rtl8723au: Remove no-op function Hal_InitChannelPlan23a()

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 4 drivers/staging/rtl8723au/hal/usb_halinit.c | 4 drivers/staging/rtl8723au/include/rtl8723a_hal.h | 2 -- 3 files changed, 10 deletions(-) diff --git a/drivers/staging/rtl

[PATCH 01/10] staging: rtl8723au: Remove unused rtw_calculate_wlan_pkt_size_by_attribue23a()

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c| 17 - drivers/staging/rtl8723au/include/rtw_xmit.h | 2 -- 2 files changed, 19 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/cor

[PATCH 00/10] staging: rtl8723au: Fixes and remove dead code

2014-11-10 Thread Jes . Sorensen
From: Jes Sorensen Hi, Here's a set of patches removing a pile of unused code from the rtl8723au drivers. It also includes an alignment issue pointed out by Arend van Spriel. Note this set goes on top of Chris Ruffin's patch: staging: rtl8723au: change typecast to match type returned by htons()

Re: [PATCH] staging: rtl8723au: change typecast to match type returned by htons()

2014-11-10 Thread Jes Sorensen
Arend van Spriel writes: > On 10-11-14 21:21, Jes Sorensen wrote: >> Chris Ruffin writes: >>> Using a u16 pointer typecast for a result from htons() results in >>> the following warning from sparse: >>> >>> drivers/staging/rtl8723au/core/rtw_xmit.c:1279:36: warning: >>> incorrect type in assignme

Re: [PATCH] staging: rtl8723au: change typecast to match type returned by htons()

2014-11-10 Thread Jes Sorensen
Chris Ruffin writes: > Using a u16 pointer typecast for a result from htons() results in the > following warning from sparse: > > drivers/staging/rtl8723au/core/rtw_xmit.c:1279:36: warning: incorrect type in > assignment (different base types) > drivers/staging/rtl8723au/core/rtw_xmit.c:1279:36:

[PATCH] staging: rtl8723au: change typecast to match type returned by htons()

2014-11-10 Thread Chris Ruffin
Using a u16 pointer typecast for a result from htons() results in the following warning from sparse: drivers/staging/rtl8723au/core/rtw_xmit.c:1279:36: warning: incorrect type in assignment (different base types) drivers/staging/rtl8723au/core/rtw_xmit.c:1279:36:expected unsigned short [uns

[PATCH] rtl8188eu: Simplify rtw_endofpktfile() in xmit_linux.c

2014-11-10 Thread Krzysztof Konopko
scripts/checkpatch.pl reports a coding style problem in xmit_linux.c WARNING:BRACES: braces {} are not necessary for single statement blocks #61852: FILE: rtl8188eu/os_dep/xmit_linux.c:70: This patch removes unnecessary braces and simplifies the function to a single return statement. Signed-

Re: XVME 6300 with TSI148 bridge on 64 bit Debian (Linux 3.2.57) vme_user issue

2014-11-10 Thread Maurice Moss
Hi Martyn, Thanks for your reply. I have pasted the code below. It is very much similar to your test code from the forum. Thanks! #define _XOPEN_SOURCE 500 #define u32 unsigned int #include #include #include #include #include #include #include #include "vme_user.h" int main(int argc, char

[PATCH 1/3] staging: unisys: visorchannel: Rename CamelCase variable channelBytes

2014-11-10 Thread Bryan Thompson
Rename channelBytes to channel_bytes in the series of visorchannel_create functions provided by visorchannel. Signed-off-by: Bryan Thompson --- drivers/staging/unisys/visorchannel/visorchannel.h | 10 .../unisys/visorchannel/visorchannel_funcs.c | 26 ++-- 2 fi

[PATCH 0/4] staging: unisys: visorchannel: CamelCase and comment cleanup

2014-11-10 Thread Bryan Thompson
Resending due to return address error. This series of patches addresses two CamelCase issues and a spinlock commenting issue reported by checkpatch on the visorchannel tree. Bryan Thompson (3): staging: unisys: visorchannel: Rename CamelCase variable channelBytes staging: unisys: visorchannel

[PATCH 3/3] staging: unisys: visorchannel: Describe spinlocks in VISORCHANNEL_Tag struct

2014-11-10 Thread Bryan Thompson
Add comments indicating the requirements and use of the insert_lock and remove_lock in the VISORCHANNEL_Tag structure. Signed-off-by: Bryan Thompson --- .../unisys/visorchannel/visorchannel_funcs.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/stagin

[PATCH 2/3] staging: unisys: visorchannel: Rename CamelCase variable nQueues

2014-11-10 Thread Bryan Thompson
Rename the visorchannel_debug parameter nQueues to num_queues. Signed-off-by: Bryan Thompson --- drivers/staging/unisys/visorchannel/visorchannel.h |2 +- .../unisys/visorchannel/visorchannel_funcs.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/st

[PATCH 2/3] staging: unisys: visorchannel: Rename CamelCase variable nQueues

2014-11-10 Thread a
From: Bryan Thompson Rename the visorchannel_debug parameter nQueues to num_queues. Signed-off-by: Bryan Thompson --- drivers/staging/unisys/visorchannel/visorchannel.h |2 +- .../unisys/visorchannel/visorchannel_funcs.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)

[PATCH 3/3] staging: unisys: visorchannel: Describe spinlocks in VISORCHANNEL_Tag struct

2014-11-10 Thread a
From: Bryan Thompson Add comments indicating the requirements and use of the insert_lock and remove_lock in the VISORCHANNEL_Tag structure. Signed-off-by: Bryan Thompson --- .../unisys/visorchannel/visorchannel_funcs.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff

[PATCH 0/4] staging: unisys: visorchannel: CamelCase and comment cleanup

2014-11-10 Thread a
From: Bryan Thompson This series of patches addresses two CamelCase issues and a spinlock commenting issue reported by checkpatch on the visorchannel tree. Bryan Thompson (3): staging: unisys: visorchannel: Rename CamelCase variable channelBytes staging: unisys: visorchannel: Rename CamelCas

[PATCH 1/3] staging: unisys: visorchannel: Rename CamelCase variable channelBytes

2014-11-10 Thread a
From: Bryan Thompson Rename channelBytes to channel_bytes in the series of visorchannel_create functions provided by visorchannel. Signed-off-by: Bryan Thompson --- drivers/staging/unisys/visorchannel/visorchannel.h | 10 .../unisys/visorchannel/visorchannel_funcs.c | 26 +++

[PATCH 4/7] staging: unisys: get rid of HAVE_UNLOCKED_IOCTL code

2014-11-10 Thread Benjamin Romer
We definitely have it, so there's no point in keeping the older stuff around. Get rid of the #ifdefs and old code. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/staging/u

[PATCH 2/7] staging: unisys: refactor visorchipset_file_init()

2014-11-10 Thread Benjamin Romer
Fix the declaration so it is a single line. Fix CamelCase parameter names: MajorDev => major_dev pControlVm_channel => controlvm_channel Remove the unnecessary gotos and just return directly in error cases. Fix the last error condition so it returns the result of cdev_add() instead of always zero

[PATCH 7/7] staging: unisys: get rid of goto in visorchipset_ioctl()

2014-11-10 Thread Benjamin Romer
Remove another completely unnecessary goto and just return the values directly. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/file.c b/drive

[PATCH 3/7] staging: unisys: fix CamelCase global variables in file.c

2014-11-10 Thread Benjamin Romer
Fix CamelCase names: Cdev => file_cdev PControlVm_channel => file_controlvm_channel MajorDev => majordev Registered => registered Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 54 +++--- 1 file changed, 27 insertions(+), 27 deletions(-)

[PATCH 5/7] staging: unisys: get rid of goto in visorchipset_open()

2014-11-10 Thread Benjamin Romer
This goto uses CamelCase and was completely unnecessary. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/fil

[PATCH 6/7] staging: unisys: fix CamelCase in visorchipset_mmap()

2014-11-10 Thread Benjamin Romer
Fix CamelCase name: physAddr => physaddr Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/file.c index d43c40

[PATCH 1/7] staging: unisys: remove testing.h from visorchipset

2014-11-10 Thread Benjamin Romer
Nothing in this file is used anymore, so remove it and the one last reference to it from visorchipset_main.c. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/testing.h | 43 -- .../unisys/visorchipset/visorchipset_main.c| 1 - 2 files chang

[PATCH 0/7] staging: unisys: more cleanup in visorchipset

2014-11-10 Thread Benjamin Romer
Another set of checkpatch.pl fixups for visorchipset files. Benjamin Romer (7): staging: unisys: remove testing.h from visorchipset staging: unisys: refactor visorchipset_file_init() staging: unisys: fix CamelCase global variables in file.c staging: unisys: get rid of HAVE_UNLOCKED_IOCTL c

[PATCH v6 RESEND 08/10] staging: media: Make use of MEDIA_BUS_FMT_ definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all media drivers residing in staging. Signed-off-by: Boris Brezi

[PATCH v6 RESEND 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all platform drivers. Signed-off-by: Boris Brezillon Acked-by: H

[PATCH v6 RESEND 09/10] gpu: ipu-v3: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in the ipu-v3 driver. Signed-off-by: Boris Brezillon Acked-by:

[PATCH v6 RESEND 01/10] [media] Move mediabus format definition to a more standard place

2014-11-10 Thread Boris Brezillon
Define MEDIA_BUS_FMT macros (re-using the values defined in the v4l2_mbus_pixelcode enum) into a separate header file so that they can be used from the DRM/KMS subsystem without any reference to the V4L2 subsystem. Then set V4L2_MBUS_FMT definitions to the MEDIA_BUS_FMT values using the V4L2_MBUS_

[PATCH v6 RESEND 04/10] [media] i2c: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definitions to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in i2c drivers. Signed-off-by: Boris Brezillon

[PATCH v6 RESEND 00/10] [media] Make mediabus format subsystem neutral

2014-11-10 Thread Boris Brezillon
Hello, This patch series prepares the use of media bus formats outside of the V4L2 subsytem (my final goal is to use it in the Atmel HLCDC DRM driver where I have to configure my DPI/RGB bus according to the connected display). The series first defines MEDIA_BUS_FMT_ macros, and then replace all

[PATCH v6 RESEND 02/10] [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed them with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Update the v4l documentation accordingly. Signed-off-by: Boris Brezillon Acked-by: Hans Verkuil

[PATCH v6 RESEND 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-10 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon Acked-by: Sakari Ail

[PATCH v6 RESEND 05/10] [media] pci: Make use of MEDIA_BUS_FMT definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in pci drivers. Signed-off-by: Boris Brezillon

[PATCH v6 RESEND 03/10] [media] Make use of the new media_bus_format definitions

2014-11-10 Thread Boris Brezillon
Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers. Signed-off-by: Boris Brezillon Acked-by: Sakari Ailus Acked-by: Hans Verkuil --- include/media/v4l2-mediabus.h| 2 +- include/media/v4l2-subdev.h | 2 +- include/uapi/linux/v4l

Re: [PATCH v6 00/10] [media] Make mediabus format subsystem neutral

2014-11-10 Thread Boris Brezillon
On Mon, 10 Nov 2014 18:21:44 +0100 Boris Brezillon wrote: > Hello, > > This patch series prepares the use of media bus formats outside of > the V4L2 subsytem (my final goal is to use it in the Atmel HLCDC DRM > driver where I have to configure my DPI/RGB bus according to the > connected display)

[PATCH v6 RESEND 07/10] [media] usb: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all usb drivers. Signed-off-by: Boris Brezillon Acked-by: H

[PATCH v6 07/10] [media] usb: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all usb drivers. Signed-off-by: Boris Brezillon Acked-by: H

[PATCH v6 03/10] [media] Make use of the new media_bus_format definitions

2014-11-10 Thread Boris Brezillon
Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers. Signed-off-by: Boris Brezillon Acked-by: Sakari Ailus Acked-by: Hans Verkuil --- include/media/v4l2-mediabus.h| 2 +- include/media/v4l2-subdev.h | 2 +- include/uapi/linux/v4l

[PATCH v6 01/10] [media] Move mediabus format definition to a more standard place

2014-11-10 Thread Boris Brezillon
Define MEDIA_BUS_FMT macros (re-using the values defined in the v4l2_mbus_pixelcode enum) into a separate header file so that they can be used from the DRM/KMS subsystem without any reference to the V4L2 subsystem. Then set V4L2_MBUS_FMT definitions to the MEDIA_BUS_FMT values using the V4L2_MBUS_

[PATCH v6 00/10] [media] Make mediabus format subsystem neutral

2014-11-10 Thread Boris Brezillon
Hello, This patch series prepares the use of media bus formats outside of the V4L2 subsytem (my final goal is to use it in the Atmel HLCDC DRM driver where I have to configure my DPI/RGB bus according to the connected display). The series first defines MEDIA_BUS_FMT_ macros, and then replace all

[PATCH v6 08/10] staging: media: Make use of MEDIA_BUS_FMT_ definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all media drivers residing in staging. Signed-off-by: Boris Brezi

[PATCH v6 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all platform drivers. Signed-off-by: Boris Brezillon Acked-by: H

[PATCH v6 02/10] [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed them with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Update the v4l documentation accordingly. Signed-off-by: Boris Brezillon Acked-by: Hans Verkuil

[PATCH v6 05/10] [media] pci: Make use of MEDIA_BUS_FMT definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in pci drivers. Signed-off-by: Boris Brezillon

[PATCH v6 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-10 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon Acked-by: Sakari Ail

  1   2   >