[PATCH] staging: comedi: das1800: prefer kmalloc_array over kmalloc with multiply

2015-01-19 Thread Chase Southwood
Checkpatch doesn't like kmalloc with multiply very much: drivers/staging/comedi/drivers/das1800.c:1377: WARNING: Prefer kmalloc_array over kmalloc with multiply So this patch swaps that use out for kmalloc_array instead. Signed-off-by: Chase Southwood chase.southw...@gmail.com ---

Re: [PATCH 06/10] mfd: rtsx: update phy register

2015-01-19 Thread 敬锐
On 01/19/2015 03:47 PM, Lee Jones wrote: On Mon, 19 Jan 2015, 敬锐 wrote: On 01/18/2015 08:29 PM, Lee Jones wrote: On Thu, 15 Jan 2015,micky_ch...@realsil.com.cn wrote: From: Micky Chingmicky_ch...@realsil.com.cn update phy register value and using direct value instead of macros.

Re: Alerta de cliente?

2015-01-19 Thread ADMIN
Prezado usuário Seu e-mail excedeu 2GB criado pelo webmaster, que atualmente rodando a 2,30 GB, que não é possível enviar ou receber mensagem nova dentro das próximas 24 horas, até que tenha certeza que você conta de e-mail. Por favor, digite seus dados abaixo para verificar a sua conta: (1)

Re: [PATCH 1/4] iio: mxs-lradc: separate touchscreen and buffer virtual channels

2015-01-19 Thread Marek Vasut
On Monday, January 19, 2015 at 08:02:03 PM, Kristina Martšenko wrote: On 18/01/15 02:19, Marek Vasut wrote: On Saturday, January 17, 2015 at 01:22:08 AM, Kristina Martšenko wrote: Hi! Hi! Hi! Good stuff, thank you! Just minor nitpicks below. [...] diff --git

Re: [PATCH 0/4] iio: mxs-lradc: fix interactions between the touchscreen and the ADC

2015-01-19 Thread Marek Vasut
On Monday, January 19, 2015 at 09:30:47 PM, Kristina Martšenko wrote: On 18/01/15 13:21, Stefan Wahren wrote: Hi Kristina, Hi Stefan! Hi all, [...] i have a iMX233-Olinuxino-MAXI, but no touchscreen. If it does make sense to you, could you please send me testing instructions and i'll

Re: [PATCH 07/10] mfd: rtsx: remove LCTLR defination

2015-01-19 Thread Lee Jones
On Mon, 19 Jan 2015, 敬锐 wrote: On 01/18/2015 08:28 PM, Lee Jones wrote: On Thu, 15 Jan 2015, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn To enable/disable ASPM we should find LINK CONTROL register in PCI config space. All old chip use 0x80

[PATCH v2 4/7] staging: sm7xxfb: add missing blank line

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup to add missing blank line after declaration Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/sm7xxfb/sm7xxfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index

[PATCH v2 1/7] Revert staging: sm7xxfb: remove driver

2015-01-19 Thread Sudip Mukherjee
This reverts commit dc93c85235efa5201e9a3c116bc3fbd1afc1a182 Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- v2: checkpatch cleanup has been added to the series. after this series CamelCase is the only pending style related issue. i have two doubts: 1) will it be easier if i have a git

[PATCH v2 5/7] staging: sm7xxfb: no space is necessary after a cast

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup: space is not necessary after cast Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/sm7xxfb/sm7xxfb.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c

[PATCH v2 7/7] staging: sm7xxfb: fix alignment

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup: alignment should match open parenthesis Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/sm7xxfb/sm7xxfb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c

[PATCH v2 6/7] staging: sm7xxfb: remove unnecessary blank lines

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup: blank lines are not necessary before closing brace and after opening brace. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- these are actually two different checkpatch warning, but am sending them together as they are of similar type.

[PATCH v2 3/7] MAINTAINERS: update for SM7XX driver

2015-01-19 Thread Sudip Mukherjee
add myself and Teddy Wang as the Maintainer of the SM7XX FRAME BUFFER DRIVER. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dbc17b3..4fd647e 100644 --- a/MAINTAINERS +++

[PATCH v2 2/7] staging: sm7xxfb: update TODO file

2015-01-19 Thread Sudip Mukherjee
update the email addresses in the TODO file, also update the final destination of this driver. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/sm7xxfb/TODO | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm7xxfb/TODO

[PATCH] staging: iio: ad5933: fix format string warnings

2015-01-19 Thread Asaf Vertz
Fixed the following warnings (reported by cppcheck): [drivers/staging/iio/impedance-analyzer/ad5933.c:363]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/staging/iio/impedance-analyzer/ad5933.c:367]: (warning) %d in format string (no. 1)

Re: [PATCH v3] staging: lustre: fix sparse warning on LPROC_SEQ_FOPS macros

2015-01-19 Thread Tristan Lelong
Greg, On Sun, Jan 18, 2015 at 04:02:22PM +0900, Greg KH wrote: On Sat, Jan 17, 2015 at 10:41:44PM -0800, Tristan Lelong wrote: Hi Greg, On Sat, Jan 17, 2015 at 03:28:27PM -0800, Greg KH wrote: I took your v2 version, please send me the difference as this is a mess... Not

Re: [PATCH 1/2] mfd: rtsx_usb: Fix runtime PM deadlock

2015-01-19 Thread Lee Jones
On Thu, 15 Jan 2015, Roger Tseng wrote: sd_set_power_mode() in derived module drivers/mmc/host/rtsx_usb_sdmmc.c acquires dev_mutex and then calls pm_runtime_get_sync() to make sure the device is awake while initializing a newly inserted card. Once it is called during suspending state and

[PATCH v2] staging: vt6655: fix space prohibited before that ','

2015-01-19 Thread Heba Aamer
This patch fixes the following checkpatch.pl error: fix space prohibited before that ',' Signed-off-by: Heba Aamer heba93aa...@gmail.com --- v2: added Signed-off line drivers/staging/vt6655/mac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] staging: comedi: cb_pcidas64: fix incorrect AI range code handling

2015-01-19 Thread Ian Abbott
The hardware range code values and list of valid ranges for the AI subdevice is incorrect for several supported boards. The hardware range code values for all boards except PCI-DAS4020/12 is determined by calling `ai_range_bits_6xxx()` based on the maximum voltage of the range and whether it is

Re: [PATCH 2/2] mfd: rtsx_usb: Defer autosuspend while card exists

2015-01-19 Thread Lee Jones
On Thu, 15 Jan 2015, Roger Tseng wrote: A card insertion happens after the lastest polling before reader is suspended may never have a chance to be detected. Under current 1-HZ polling interval setting in mmc_core, the worst case of such undetectablility is about 1 second. To further

[PATCH] staging: vt6655: mac.h: fix space prohibited before that ','

2015-01-19 Thread Mohamed Lotfy Hammad
This patch fixes the following checkpatch.pl error: fix space prohibited before that ',' Signed-off-by: Mohamed Lotfy Hammad mohamed.lotfy.ham...@gmail.com --- drivers/staging/vt6655/mac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/mac.h

[PATCH] staging: vt6655: fix space prohibted before that ',' Signed-off-by: Ahmad Hassan ahmad.hassan...@gmail.com

2015-01-19 Thread Ahmad Hassan
--- drivers/staging/vt6655/device_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index f5cc78e..34e3a76 100644 --- a/drivers/staging/vt6655/device_main.c +++

Re: [PATCH] staging: speakup: Fix warning of line over 80 characters.

2015-01-19 Thread Dan Carpenter
On Sun, Jan 18, 2015 at 09:29:21AM +0100, Robin Schroer wrote: On Sat, Jan 17, 2015 at 11:57:53PM -0800, Shirish Gajera wrote: diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index e9f0c15..141abb7 100644 --- a/drivers/staging/speakup/main.c +++

Re: [PATCH] staging: speakup: Fix warning of line over 80 characters.

2015-01-19 Thread Dan Carpenter
On Sun, Jan 18, 2015 at 09:55:50AM +, Ben Hutchings wrote: On Sat, 2015-01-17 at 23:57 -0800, Shirish Gajera wrote: This patch fixes the checkpatch.pl warning: WARNING: line over 80 characters All line over 80 characters in driver/staging/speakup/* are fixed [...] It is not

[PATCH] fix space prohibited before that ','

2015-01-19 Thread Mohamed Lotfy Hammad
This patch fixes the following checkpatch.pl error: fix space prohibited before that ',' Signed-off-by: Mohamed Lotfy Hammad mohamed.lotfy.ham...@gmail.com --- drivers/staging/vt6655/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/mac.c

Re: [PATCH RFC] comedi: rtd520: if condition with no effect - if identical to else

2015-01-19 Thread Ian Abbott
On 18/01/15 11:53, Nicholas Mc Guire wrote: The if and the else branch code are identical - so the condition has no effect on the effective code - this patch removes the condition and the duplicated code. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Patch is against 3.19.0-rc4

[PATCH v3] staging: vt6655: fix space prohibted before that ','

2015-01-19 Thread Ahmad Hassan
This patch fixes the following checkpatch.pl error: fix space prohibited before that ',' Signed-off-by: Ahmad Hassan ahmad.hassan...@gmail.com --- v2: adjusted From name field v3: added description message drivers/staging/vt6655/device_main.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] staging: speakup: Fix warning of line over 80 characters.

2015-01-19 Thread Dan Carpenter
Generally this patch is fine. There were a couple places which weren't perfect. On Sat, Jan 17, 2015 at 11:57:53PM -0800, Shirish Gajera wrote: + if ((spk_bleeps 2) (msg_id edge_quiet)) { + synth_printf(%s\n, + spk_msg_get(MSG_EDGE_MSGS_START + msg_id - 1)); +

Re: [PATCH 00/29] staging: add drivers from the fbtft project

2015-01-19 Thread Noralf Tronnes
Den 18.01.2015 23:37, skrev Greg KH: On Sun, Jan 18, 2015 at 01:00:31PM +0100, Noralf Tronnes wrote: Den 18.01.2015 03:54, skrev Greg KH: On Sun, Jan 18, 2015 at 03:26:56AM +0100, Noralf Tronnes wrote: When I started this rewrite I didn't anticipate fbtft entering the kernel, and to me it was

[PATCH v2 3/3] Drivers: hv: vmbus: serialize Offer and Rescind offer

2015-01-19 Thread Vitaly Kuznetsov
Commit 4b2f9abea52a (staging: hv: convert channel_mgmt.c to not call osd_schedule_callback)' was written under an assumption that we never receive Rescind offer while we're still processing the initial Offer request. However, the issue we fixed in 04a258c162a8 could be caused by this assumption

[PATCH v2 2/3] Drivers: hv: rename sc_lock to the more generic lock

2015-01-19 Thread Vitaly Kuznetsov
sc_lock spinlock in struct vmbus_channel is being used to not only protect the sc_list field, e.g. vmbus_open() function uses it to implement test-and-set access to the state field. Rename it to the more generic 'lock' and add the description. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com

[PATCH v2 1/3] Drivers: hv: check vmbus_device_create() return value in vmbus_process_offer()

2015-01-19 Thread Vitaly Kuznetsov
vmbus_device_create() result is not being checked in vmbus_process_offer() and it can fail if kzalloc() fails. Add the check and do minor cleanup to avoid additional duplication of free_channel(); return; block. Reported-by: Jason Wang jasow...@redhat.com Signed-off-by: Vitaly Kuznetsov

[PATCH v2 0/3] Drivers: hv: vmbus: protect Offer/Rescind offer processing

2015-01-19 Thread Vitaly Kuznetsov
This patch series is a successor of [PATCH] Drivers: hv: vmbus: serialize Offer and Rescind offer processing and thereby have 'v2' in its name. Changes from v1: - Separate vmbus_device_create() return value check [K. Y. Srinivasan] - Do not lose a rescind offer received during offer processing.

[PATCH v2] Staging: rtl8723au: fix space coding style issue in os_intfs.c

2015-01-19 Thread Peter Poklop
This patch fixes the checkpatch.pl warning: WARNING: space prohibited before semicolon Signed-off-by: Peter Poklop peter.pok...@gmail.com --- v2: Commit message cleanup drivers/staging/rtl8723au/os_dep/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 1/3] Drivers: hv: check vmbus_device_create() return value in vmbus_process_offer()

2015-01-19 Thread Dan Carpenter
On Mon, Jan 19, 2015 at 08:58:58PM +0300, Dan Carpenter wrote: error is a crap label name because it doesn't tell you what the code does. A better name is err_free_chan or something which talks about freeing the channel. If you choose your label names correctly, then most of the time you can

Re: [PATCH v2 1/3] Drivers: hv: check vmbus_device_create() return value in vmbus_process_offer()

2015-01-19 Thread Dan Carpenter
On Mon, Jan 19, 2015 at 05:56:11PM +0100, Vitaly Kuznetsov wrote: vmbus_device_create() result is not being checked in vmbus_process_offer() and it can fail if kzalloc() fails. Add the check and do minor cleanup to avoid additional duplication of free_channel(); return; block. Reported-by:

Re: [PATCH 1/4] iio: mxs-lradc: separate touchscreen and buffer virtual channels

2015-01-19 Thread Kristina Martšenko
On 18/01/15 02:19, Marek Vasut wrote: On Saturday, January 17, 2015 at 01:22:08 AM, Kristina Martšenko wrote: Hi! Hi! Good stuff, thank you! Just minor nitpicks below. [...] diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index

Re: [PATCH 2/4] iio: mxs-lradc: make ADC reads not disable touchscreen interrupts

2015-01-19 Thread Kristina Martšenko
On 18/01/15 02:21, Marek Vasut wrote: On Saturday, January 17, 2015 at 01:22:09 AM, Kristina Martšenko wrote: Reading a channel through sysfs, or starting a buffered capture, will currently turn off the touchscreen. This is because the read_raw() and buffer preenable()/postdisable() callbacks

Re: [PATCH 3/4] iio: mxs-lradc: make ADC reads not unschedule touchscreen conversions

2015-01-19 Thread Kristina Martšenko
On 19/01/15 09:57, Marek Vasut wrote: On Monday, January 19, 2015 at 08:20:31 AM, Juergen Borleis wrote: On Saturday 17 January 2015 01:22:10 Kristina Martšenko wrote: Reading a channel through sysfs, or starting a buffered capture, can occasionally turn off the touchscreen. [...] I have my

Re: [PATCH 0/4] iio: mxs-lradc: fix interactions between the touchscreen and the ADC

2015-01-19 Thread Kristina Martšenko
On 18/01/15 13:21, Stefan Wahren wrote: Hi Kristina, Hi Stefan! Kristina Martšenko kristina.martse...@gmail.com hat am 17. Januar 2015 um 01:22 geschrieben: These patches fix some issues with using the touchscreen and reading other ADC channels at the same time. The main issue is that the