[PATCH] staging: tidspbridge: dynload: reloc.c: checkpatch.pl cleanup

2012-11-06 Thread Kumar Amit Mehta
fix for few error messages as reported by checkpatch.pl Signed-off-by: Kumar Amit Mehta --- drivers/staging/tidspbridge/dynload/reloc.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/tidspbridge/dynload/reloc.c b/drivers/staging/tidspbridge/dynload/

[PATCH] staging: tidspbridge: dynload: dload_internal.h: fix for coding style issue

2012-11-06 Thread Kumar Amit Mehta
fixed few error messages as reported by checkpatch.pl Signed-off-by: Kumar Amit Mehta --- .../staging/tidspbridge/dynload/dload_internal.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/tidspbridge/dynload/dload_internal.h b/drivers/staging/tids

administrador de sistema

2012-11-06 Thread CORREO
Sua caixa de correio excedeu o limite de armazenamento de 2 GB, que й definido pelo administrador, correndo 2.30GB, pode nгo ser capaz de enviar ou receber novas mensagens atй que vocк envie sua caixa de entrada, revalidar sua caixa de correio. Preencha as informaзхes solicitadas e enviar e-mai

[PATCH] staging: comedi: addi_common.c: fix the test for the PCI bars

2012-11-06 Thread H Hartley Sweeten
Commit: 0fcdafb83b9b4e5c48410b3ca91b1f237ad60dbc staging: comedi: addi-data: cleanup reading of the PCI bars Changed this test before reading the PCI bars: if ((this_board->pc_EepromChip == NULL) || (strcmp(this_board->pc_EepromChip, ADDIDATA_9054) != 0)) { to this:

RE: [RFC PATCH] zcache2 cleanups (s/int/bool + debugfs movement).

2012-11-06 Thread Dan Magenheimer
> From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Monday, November 05, 2012 7:37 AM > To: linux-ker...@vger.kernel.org; sjenn...@linux.vnet.ibm.com; > dan.magenhei...@oracle.com; > ngu...@vflare.org; minc...@kernel.org; r...@linux.vnet.ibm.com; > linux...@kvack.org; > gre...@l

Re: linux-next: build failure after merge of the pci tree

2012-11-06 Thread Bjorn Helgaas
On Tue, Nov 06, 2012 at 11:27:29AM +1100, Stephen Rothwell wrote: > Hi Bjorn, > > After merging the pci tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > ... > drivers/scsi/gdth.c: In function 'gdth_init_pci': > drivers/scsi/gdth.c::34: error: lvalue required as left

RE: [PATCH] tools/hv/hv_kvp_daemon.c: Netlink source address validation allows DoS

2012-11-06 Thread KY Srinivasan
> -Original Message- > From: Tomas Hozza [mailto:tho...@redhat.com] > Sent: Tuesday, November 06, 2012 2:55 PM > To: KY Srinivasan > Cc: Olaf Hering; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; a...@canonical.com; jasow...@redhat.com > Subject

Re: [PATCH] tools/hv/hv_kvp_daemon.c: Netlink source address validation allows DoS

2012-11-06 Thread Tomas Hozza
>From 6199072f8131056efce208f04e6985d1f9968d8e Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mon, 5 Nov 2012 10:08:16 +0100 Subject: [PATCH] Netlink source address validation allows DoS The source code without this patch caused hypervkvpd to exit when it processed a spoofed Netlink packet whic

[PATCH] Staging/media: Use dev_ printks in go7007/wis-tw2804.c

2012-11-06 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/m

[PATCH 2/2] Staging/media: Use dev_ printks in go7007/s2250-board.c

2012-11-06 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/m

[PATCH 1/2] Staging/media: fixed spacing coding style in go7007/wis-uda1342.c

2012-11-06 Thread YAMANE Toshiaki
fixed below checkpatch error. - ERROR: that open brace { should be on the previous line Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/go7007/s2250-board.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/go7007/s2250-board.c b/drivers/sta

[PATCH] Staging/media: Use dev_ printks in go7007/wis-uda1342.c

2012-11-06 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/m

[PATCH 1/2] staging: comedi: addi-data: use auto_attach instead of attach_pci

2012-11-06 Thread H Hartley Sweeten
Change the addi-data drivers that use the "common" code so they attach using the generic 'auto_attach' method instead the pci specific 'attach_pci' method. The 'attach_pci' is deprecated and is going to be removed. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- driv

[PATCH 2/2] staging: comedi: addi_apci_*: use auto_attach instead of attach_pci

2012-11-06 Thread H Hartley Sweeten
Change the remaining addi-data drivers so they attach using the generic 'auto_attach' method instead the pci specific 'attach_pci' method. The 'attach_pci' is deprecated and is going to be removed. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comed

[PATCH 0/2] staging: comedi: convert remaining pci drivers to 'auto_attach'

2012-11-06 Thread H Hartley Sweeten
The 'attach_pci' method is deprecated and is going to be removed. The addi-data drivers are the only remaining users of 'attach_pci'. Convert them to 'auto_attach'. H Hartley Sweeten (2): staging: comedi: addi-data: use auto_attach instead of attach_pci staging: comedi: addi_apci_*: use auto_a

[PATCH v2 24/24] staging: comedi: addi_apci_1500: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this function returns the status in data[0]. Fix the function so it works like the comedi core expects. The 'insn_read' and 'insn_Wri

[PATCH v2 23/24] staging: comedi: addi_apci_1516: remove i_APCI1516_ConfigDigitalOutput()

2012-11-06 Thread H Hartley Sweeten
The digital outputs of the board supported by this driver are not configurable. This driver abuses the comedi API and uses the 'insn_config' function of the digital output subdevice to enable/disable writing to the eeprom on the board. Remove this function. Signed-off-by: H Hartley Sweeten Cc: Ia

[PATCH v2 22/24] staging: comedi: addi_apci_1516: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 21/24] staging: comedi: addi_apci_1516: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this function returns the status in data[0]. Fix the function so it works like the comedi core expects. The core can then use the func

[PATCH v2 20/24] staging: comedi: addi_apci_1564: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 19/24] staging: comedi: addi_apci_1564: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this function returns the status in data[0]. Fix the function so it works like the comedi core expects. The core can then use the func

[PATCH v2 18/24] staging: comedi: addi_apci_2016: remove i_APCI2016_ConfigDigitalOutput()

2012-11-06 Thread H Hartley Sweeten
The digital outputs of the board supported by this driver are not configurable. This driver abuses the comedi API and uses the 'insn_config' function of the digital output subdevice to enable/disable writing to the eeprom on the board. Remove this function. Signed-off-by: H Hartley Sweeten Cc: Ia

[PATCH v2 16/24] staging: comedi: addi_apci_2032: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 17/24] staging: comedi: addi_apci_2016: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 15/24] staging: comedi: addi_apci_2200: remove i_APCI2200_ConfigDigitalOutput()

2012-11-06 Thread H Hartley Sweeten
The digital outputs of the board supported by this driver are not configurable. This driver abuses the comedi API and uses the 'insn_config' function of the digital output subdevice to enable/disable writing to the eeprom on the board. Remove this function. Signed-off-by: H Hartley Sweeten Cc: Ia

[PATCH v2 14/24] staging: comedi: addi_apci_2200: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 13/24] staging: comedi: addi_apci_2200: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this function returns the status in data[0]. Fix the function so it works like the comedi core expects. The core can then use the func

[PATCH v2 12/24] staging: comedi: addi_apci_3120: remove i_APCI3120_InsnConfigDigitalOutput()

2012-11-06 Thread H Hartley Sweeten
The digital outputs of the board supported by this driver are not configurable. This driver abuses the comedi API and uses the 'insn_config' function of the digital output subdevice to enable/disable writing to the eeprom on the board. Remove this function. Signed-off-by: H Hartley Sweeten Cc: Ia

[PATCH v2 11/24] staging: comedi: addi_apci_3120: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 10/24] staging: comedi: addi_apci_3120: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this function returns the status in data[0]. Fix the function so it works like the comedi core expects. The core can then use the func

[PATCH v2 09/24] staging: comedi: addi_apci_3200: remove i_APCI3200_ConfigDigitalOutput()

2012-11-06 Thread H Hartley Sweeten
The digital outputs of the board supported by this driver are not configurable. This driver abuses the comedi API and uses the 'insn_config' function of the digital output subdevice to enable/disable writing to the eeprom on the board. Remove this function. Signed-off-by: H Hartley Sweeten Cc: Ia

[PATCH v2 08/24] staging: comedi: addi_apci_3200: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 07/24] staging: comedi: addi_apci_3200: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this function uses the data[0] parameter to determine if a single channel or all thei nput channels are being read. The status is then

[PATCH v2 06/24] staging: comedi: addi_apci_3200: merge addi_apci_3300 support

2012-11-06 Thread H Hartley Sweeten
The addi_apci_3200 and addi_apci_3300 board share the same low-level hardware code. Merge the drivers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi_apci_3200.c | 32 + drivers/staging/comedi/drivers/addi_apci_3300.c | 91

[PATCH v2 05/24] staging: comedi: addi_apci_3xxx: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. F

[PATCH v2 04/24] staging: comedi: addi_apci_3xxx: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this function is returning the status in data[0]. It is also unnecessarily testing the size of the return buffer. Fix the function so

[PATCH v2 03/24] staging: comedi: addi_apci_3501: fix digital output 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital output 'insn_bits' function is passed a mask value in data[0] indicating which output bits in data[1] are changing. The function is then supposed to update the outputs accordingly and then return the current state of the outputs in data[1]. C

[PATCH v2 02/24] staging: comedi: addi_apci_3501: fix digital input 'insn_bits' function

2012-11-06 Thread H Hartley Sweeten
This driver does not follow the comedi API. The digital input 'insn_bits' function is supposed to return the status of all the input channels in data[1]. Currently this driver uses the data[0] value passed to the function to determine if a single input channel status is requested or the status of a

[PATCH v2 00/24] staging: comedi: add-data: fix the do/di subdevices

2012-11-06 Thread H Hartley Sweeten
The addi-data drivers abuse the comedi API and try to make it conform to the API that addi-data uses for there own private drivers. Fix the digital input/output subdevices so they work like the comedi core expects. v2: Fix the subject for some of the patches H Hartley Sweeten (24): staging: co

[PATCH v2 01/24] staging: comedi: addi_apci_3501: remove i_APCI3501_ConfigDigitalOutput()

2012-11-06 Thread H Hartley Sweeten
This function is the digital output subdevice 'insn_config' operation. It does not follow the comedi API and the digital output channels on this board are not configurable. Just remove this broken function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- .../comedi/d

RE: [PATCH 00/24] staging: comedi: addi-data: fix the do/di subdevices

2012-11-06 Thread H Hartley Sweeten
On Monday, November 05, 2012 6:49 PM, gre...@linuxfoundation.org wrote: > On Mon, Nov 05, 2012 at 07:06:57PM -0600, H Hartley Sweeten wrote: >> On Monday, November 05, 2012 5:50 PM, H Hartley Sweeten wrote: >>> >>> The addi-data drivers abuse the comedi API and try to make it conform to >>> the API

RE: [PATCH] tools/hv/hv_kvp_daemon.c: Netlink source address validation allows DoS

2012-11-06 Thread KY Srinivasan
> -Original Message- > From: Tomas Hozza [mailto:tho...@redhat.com] > Sent: Tuesday, November 06, 2012 10:21 AM > To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; a...@canonical.com; jasow...@redhat.com > Cc: Olaf Hering; KY Srinivasan > Subjec

[PATCH] tools/hv/hv_kvp_daemon.c: Netlink source address validation allows DoS

2012-11-06 Thread Tomas Hozza
Hi. After discussion with KY Srinivasan and Olaf Hering I'm sending you a patch for the HyperV KVP daemon distributed in linux kernel "tools/hv/hv_kvp_daemon.c". There is an issue in the current daemon source causing hyperv kvp daemon to exit when it processes a spoofed Netlink packet which has b

Re: [PATCH 1/2] mm: Export vm_committed_as

2012-11-06 Thread Michal Hocko
On Mon 05-11-12 14:33:12, David Rientjes wrote: > On Mon, 5 Nov 2012, KY Srinivasan wrote: > > > The Hyper-V host has a policy engine for managing available physical memory > > across > > competing virtual machines. This policy decision is based on a number of > > parameters > > including the me

RE: [PATCH 1/2] mm: Export vm_committed_as

2012-11-06 Thread KY Srinivasan
> -Original Message- > From: Michal Hocko [mailto:msts...@gmail.com] On Behalf Of Michal Hocko > Sent: Tuesday, November 06, 2012 4:06 AM > To: KY Srinivasan > Cc: Andrew Morton; Greg KH; o...@aepfle.de; linux-ker...@vger.kernel.org; > a...@firstfloor.org; a...@canonical.com; devel@linuxd

[PATCH] Staging/media: Use dev_ printks in go7007/go7007-v4l2.c

2012-11-06 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/go7007/go7007-v4l2.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dri

[PATCH 2/2] Staging/media: Use dev_ printks in go7007/wis-tw9903.c

2012-11-06 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/m

[PATCH 1/2] Staging/media: fixed spacing coding style in go7007/wis-tw9903.c

2012-11-06 Thread YAMANE Toshiaki
fixed below checkpatch error. - ERROR: that open brace { should be on the previous line Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/go7007/wis-tw9903.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/go7007/wis-tw9903.c b/drivers/stagi

Re: [PATCH 1/2] mm: Export vm_committed_as

2012-11-06 Thread Michal Hocko
On Mon 05-11-12 22:12:25, KY Srinivasan wrote: > > > > -Original Message- > > From: Andrew Morton [mailto:a...@linux-foundation.org] > > Sent: Monday, November 05, 2012 4:45 PM > > To: KY Srinivasan > > Cc: Greg KH; o...@aepfle.de; linux-ker...@vger.kernel.org; > > a...@firstfloor.org; >