Re: [PATCH V2 1/9] staging: rtl8192u: check return value of read_nic_word_E

2016-03-13 Thread kbuild test robot
Hi Salah, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.5 next-20160311] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH 2/3] staging: dgnc: use pointer type of tty_struct

2016-03-13 Thread Daeseok Youn
For using tty_alloc_driver, SerialDriver has to be pointer type. It also has checkpatch.pl warning about Camelcase, so SerialDriver is changed to serial_driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_driver.h | 4 +- drivers/staging/dgnc/dgnc_tty.c

[PATCH 3/3] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-13 Thread Daeseok Youn
the tty_alloc_driver() can allocate memory for ttys and termios. And also it can release allocated memory easly with using put_tty_driver(). Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 86 +++-- 1 file changed, 31

[PATCH 1/3] staging: dgnc: fix camelcase of SerialDriver and

2016-03-13 Thread Daeseok Youn
Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_driver.h | 4 +- drivers/staging/dgnc/dgnc_tty.c| 118 ++--- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.h

[PATCH V2 4/9] staging: rtl8192u: propagate errors in rtl8192_read_eeprom_info

2016-03-13 Thread Salah Triki
Propagate error from eprom_read and change the return type of rtl8192_read_eeprom_info from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U_core.c | 37 +- 1 file changed, 19 insertions(+), 18 deletions(-) diff

[PATCH V2 9/9] staging: rtl8192u: propagate errors in write_nic_dword

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_dword from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 9 ++--- 2 files changed, 7

[PATCH V2 8/9] staging: rtl8192u: propagate errors in write_nic_word

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_word from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 9 ++--- 2 files changed, 7

[PATCH V2 5/9] staging: rtl8192u: check return value of rtl8192_read_eeprom_info

2016-03-13 Thread Salah Triki
The call of rtl8192_read_eeprom_info may fail, therefore its return value must be checked and propagated in the case of error. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U_core.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH V2 7/9] staging: rtl8192u: propagate errors in write_nic_byte_E

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_byte_E from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 9 ++--- 2 files changed, 7

[PATCH V2 6/9] staging: rtl8192u: propagate errors in write_nic_byte

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_byte from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 12 +++- 2 files changed, 8

[PATCH V2 0/9] staging: rtl8192u: Checking return value/propagating errors

2016-03-13 Thread Salah Triki
These patchs check the return value/propagate error of the functions read_nic_word_E,eprom_r, eprom_read, rtl8192_read_eeprom_info, write_nic_*. Salah Triki (9): staging: rtl8192u: check return value of read_nic_word_E staging: rtl8192u: eprom_read: check return value of eprom_r staging:

[PATCH V2 2/9] staging: rtl8192u: eprom_read: check return value of eprom_r

2016-03-13 Thread Salah Triki
Check the return value from eprom_r and propagate it in the case of error. The error code is a negative value, therefore change the return type of eprom_read from u32 to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8180_93cx6.c | 9 +++--

[PATCH V2 1/9] staging: rtl8192u: check return value of read_nic_word_E

2016-03-13 Thread Salah Triki
The call of read_nic_word_E may fail, therefore its return value must be checked and propagated in the case of error. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8180_93cx6.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff

[PATCH V2 3/9] staging: rtl8192u: check return value eprom_read

2016-03-13 Thread Salah Triki
The call of eprom_read may fail, therefore its return value must be checked. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U_core.c | 147 +++-- 1 file changed, 104 insertions(+), 43 deletions(-) diff --git

Re: [PATCH 5/9] staging: rtl8192u: check return value of rtl8192_read_eeprom_info

2016-03-13 Thread kbuild test robot
Hi Salah, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.5-rc7 next-20160311] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [PATCH] Add tw5864 driver

2016-03-13 Thread Greg Kroah-Hartman
On Mon, Mar 14, 2016 at 03:55:14AM +0200, Andrey Utkin wrote: > From: Andrey Utkin > > Support for boards based on Techwell TW5864 chip which provides > multichannel video & audio grabbing and encoding (H.264, MJPEG, > ADPCM G.726). > > Signed-off-by: Andrey

[PATCH 8/9] staging: rtl8192u: propagate errors in write_nic_word

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_word from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 9 ++--- 2 files changed, 7

[PATCH 9/9] staging: rtl8192u: propagate errors in write_nic_dword

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_dword from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 9 ++--- 2 files changed, 7

[PATCH 6/9] staging: rtl8192u: propagate errors in write_nic_byte

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_byte from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 12 +++- 2 files changed, 8

[PATCH 7/9] staging: rtl8192u: propagate errors in write_nic_byte_E

2016-03-13 Thread Salah Triki
Propagate errors from kzalloc and usb_control_msg and change the return type of write_nic_byte_E from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 9 ++--- 2 files changed, 7

[PATCH 4/9] staging: rtl8192u: propagate errors in rtl8192_read_eeprom_info

2016-03-13 Thread Salah Triki
Propagate error from eprom_read and change the return type of rtl8192_read_eeprom_info from void to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U_core.c | 37 +- 1 file changed, 19 insertions(+), 18 deletions(-) diff

[PATCH 1/9] staging: rtl8192u: check return value of read_nic_word_E

2016-03-13 Thread Salah Triki
The call of read_nic_word_E may fail, therefore its return value must be checked and propagated in the case of error. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8180_93cx6.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff

[PATCH 5/9] staging: rtl8192u: check return value of rtl8192_read_eeprom_info

2016-03-13 Thread Salah Triki
The call of rtl8192_read_eeprom_info may fail, therefore its return value must be checked and propagated in the case of error. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U_core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH 2/9] staging: rtl8192u: eprom_read: check return value of eprom_r

2016-03-13 Thread Salah Triki
Check the return value from eprom_r and propagate it in the case of error. The error code is a negative value, therefore change the return type of eprom_read from u32 to int. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8180_93cx6.c | 9 +++--

[PATCH 3/9] staging: rtl8192u: check return value eprom_read

2016-03-13 Thread Salah Triki
The call of eprom_read may fail, therefore its return value must be checked. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8192U_core.c | 147 +++-- 1 file changed, 104 insertions(+), 43 deletions(-) diff --git

[PATCH 0/9] staging: rtl8192u: Checking return value/propagating errors

2016-03-13 Thread Salah Triki
These patchs check the return value/propagate error of the functions read_nic_word_E,eprom_r, eprom_read, rtl8192_read_eeprom_info, write_nic_*. Salah Triki (9): staging: rtl8192u: check return value of read_nic_word_E staging: rtl8192u: eprom_read: check return value of eprom_r staging:

Re: [PATCH] Add tw5864 driver

2016-03-13 Thread Greg Kroah-Hartman
On Mon, Mar 14, 2016 at 03:55:14AM +0200, Andrey Utkin wrote: > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -2333,6 +2333,7 @@ > #define PCI_VENDOR_ID_CAVIUM 0x177d > > #define PCI_VENDOR_ID_TECHWELL 0x1797 > +#define PCI_DEVICE_ID_TECHWELL_5864

[PATCH] Add tw5864 driver - cover letter

2016-03-13 Thread Andrey Utkin
This is a driver for multimedia devices based on Techwell/Intersil TW5864 chip. It is basically written from scratch. There was an awful reference driver for 2.6 kernel, which is nearly million lines of code and requires half a dozen special userspace libraries, and still doesn't quite work. So

[PATCH] Add tw5864 driver - cover letter

2016-03-13 Thread Andrey Utkin
From: Andrey Utkin This is a driver for multimedia devices based on Techwell/Intersil TW5864 chip. It is basically written from scratch. There was an awful reference driver for 2.6 kernel, which is nearly million lines of code and requires half a dozen special

Re: [PATCH] android: lmk: add swap pte pmd in tasksize

2016-03-13 Thread Chen Feng
Hi greg, On 2016/3/12 1:12, Greg KH wrote: > On Fri, Mar 11, 2016 at 05:05:45PM +0800, Chen Feng wrote: >> >> >> On 2016/3/11 15:30, yalin wang wrote: >>> On Mar 11, 2016, at 15:23, Lu Bing wrote: From: l00215322

[PATCH] staging: wilc1000: use completion instead of struct semaphore hif_sema_wait_response

2016-03-13 Thread Chaehyun Lim
This patch replaces struct semaphore hif_sema_wait_response with struct completion hif_wait_response. In case of struct hif_sema_wait_response, it better to use completion than semaphore. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 20

[PATCH] Staging: nvec: removes useless cast on a void pointer.

2016-03-13 Thread Ben Marsh
Patch to nvec.c to remove a useless cast on a void pointer. Signed-off-by: Ben Marsh --- drivers/staging/nvec/nvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index c335ae2..52d1363 100644

Hello dear

2016-03-13 Thread Mr. Bernard Madoff
Dear Friend, Compliments of the day and i hope that this email meets you well, first of all let me begin by introducing myself. I am Bernard Madoff, an American convicts, stockbroker, investment adviser, and financier. I was arrested in December 11, 2008, but before the arrest, I was the

Hello dear

2016-03-13 Thread Mr. Bernard Madoff
Dear Friend, Compliments of the day and i hope that this email meets you well, first of all let me begin by introducing myself. I am Bernard Madoff, an American convicts, stockbroker, investment adviser, and financier. I was arrested in December 11, 2008, but before the arrest, I was the

[PATCH] rtl8188eu: Remove license paragraph with mailing address

2016-03-13 Thread Kyle Kuffermann
This fixes the issue reported by checkpatch.pl: "Do not include the paragraph about writing to the Free Software Foundation's mailing address from the sample GPL notice. The FSF has changed addresses in the past, and may do so again. Linux already includes a copy

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-13 Thread Mauro Carvalho Chehab
Em Sat, 12 Mar 2016 18:48:09 -0700 Shuah Khan escreveu: > Add GFP flags to media_create_pad_link(), media_create_intf_link(), > media_devnode_create(), and media_add_link() that could get called > in atomic context to allow callers to pass in the right flags for > memory

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-13 Thread Nicholas Mc Guire
On Sat, Mar 12, 2016 at 06:48:09PM -0700, Shuah Khan wrote: > Add GFP flags to media_create_pad_link(), media_create_intf_link(), > media_devnode_create(), and media_add_link() that could get called > in atomic context to allow callers to pass in the right flags for > memory allocation. > >