Re: [PATCH] Staging : wilc1000 :Remove typedef from struct

2015-07-30 Thread Joe Perches
On Fri, 2015-07-31 at 11:02 +0530, Shraddha Barke wrote: > This patch fixes the following checkpatch.pl warning: > > WARNING: do not add new typedefs > Signed-off-by: Shraddha Barke > --- > drivers/staging/wilc1000/coreconfigurator.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

[PATCH] Staging:wilc1000 :Remove typedef from struct

2015-07-30 Thread Shraddha Barke
This patch fixes the following checkpatch.pl warning: WARNING: do not add new typedefs Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging

[PATCH] Staging : wilc1000 :Remove typedef from struct

2015-07-30 Thread Shraddha Barke
This patch fixes the following checkpatch.pl warning: WARNING: do not add new typedefs Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/

Re: [PATCH] Staging:wilc1000 :Remove braces for single statement blocks

2015-07-30 Thread Vaishali Thakkar
On 31 Jul 2015 10:49, "Shraddha Barke" wrote: > > This patch fixes the following checkpatch.pl warning: > > WARNING: braces {} are not necessary for single statement blocks There should be one line space between your commit log and Signed-off-by line. > Signed-off-by: Shraddha Barke > --- > dr

[PATCH] Staging: wilc1000 :Insert blank line after declaration

2015-07-30 Thread Shraddha Barke
This patch fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/coreconfigurator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/

[PATCH] Staging:wilc1000 :Remove braces for single statement blocks

2015-07-30 Thread Shraddha Barke
This patch fixes the following checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/coreconfigurator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/cor

Re: [PATCH 0/5] 2nd patch for illegal coding style

2015-07-30 Thread tony . cho
Hi Greg, I understand what you mention. I will first make it. The 5 patches among the first series of patch was rejected and the 2nd patch also has a problem. As you said, I will resend them later after removing build warnings. They will be delivered soon. Thanks, Tony. On 2015년 07월 31일 12

Re: [PATCH 0/5] 2nd patch for illegal coding style

2015-07-30 Thread Greg KH
On Thu, Jul 30, 2015 at 06:10:09PM +0900, Tony Cho wrote: > This patch V2 includes only patches rejected. The rejected patch for the > following, #ifdef conditionals cover entire functions, introduced new error on > required space before the open parenthesis '('. This is my mistake while > rewritin

Re: [PATCH V2 1/5] staging: wilc1000: #ifdef conditionals cover entire functions

2015-07-30 Thread Greg KH
On Fri, Jul 31, 2015 at 12:27:04PM +0900, tony.cho wrote: > > > On 2015년 07월 30일 20:56, Sudip Mukherjee wrote: > >On Thu, Jul 30, 2015 at 06:10:10PM +0900, Tony Cho wrote: > >>This patch lets preprocessor conditionals (#ifdef) related to > >>WILC_SDIO_IRQ_GPIO to compile out the entire functions.

Re: [PATCH V2 1/5] staging: wilc1000: #ifdef conditionals cover entire functions

2015-07-30 Thread tony . cho
On 2015년 07월 30일 20:56, Sudip Mukherjee wrote: On Thu, Jul 30, 2015 at 06:10:10PM +0900, Tony Cho wrote: This patch lets preprocessor conditionals (#ifdef) related to WILC_SDIO_IRQ_GPIO to compile out the entire functions. Compiling out the entire functions is preferred rather than portions of

Re: [PATCH V2 1/5] staging: wilc1000: #ifdef conditionals cover entire functions

2015-07-30 Thread tony . cho
On 2015년 07월 30일 20:56, Sudip Mukherjee wrote: On Thu, Jul 30, 2015 at 06:10:10PM +0900, Tony Cho wrote: This patch lets preprocessor conditionals (#ifdef) related to WILC_SDIO_IRQ_GPIO to compile out the entire functions. Compiling out the entire functions is preferred rather than portions of

[PATCH] staging/lustre/llite: Don't set page writeback on non-dirty page

2015-07-30 Thread green
From: Oleg Drokin New writeback changes in 4.2-RC1 have exposed that we incorrectly set page_writeback on a page that is being written synchronously, which aside from this new crash (dereference of NULL inode->i_wb from set_page_writeback) likely threw off some related page statistics in the past

[PATCH 06/13] staging/lustre: Drop SEEK_* definition checks

2015-07-30 Thread green
From: Oleg Drokin SEEK_DATA and SEEK_HOLE are always defined in the kernel, drop the definition checks Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/linux/lustre_compat25.h | 38 -- 1 file changed, 38 deletions(-) diff --git a/drivers/staging/lustre/lustre/incl

[PATCH 09/13] staging/lustre: Use hlist primitives directly

2015-07-30 Thread green
From: Oleg Drokin Get rid of ll_d_hlist* compat defines. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 9 - drivers/staging/lustre/lustre/llite/dcache.c | 3 +-- drivers/staging/lustre/lustre/llite/namei.c

[PATCH 02/13] staging/lustre: get rid of cfs_bio_* compat macroses

2015-07-30 Thread green
From: Oleg Drokin This replaces cfs_bio_io_error with direct calls to bio_io_error and cfs_bio_end_io with bio_end_io Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 4 drivers/staging/lustre/lustre/llite/lloop.c | 4 ++-- 2

[PATCH 07/13] staging/lustre: Drop FMODE_UNSIGNED_OFFSET define

2015-07-30 Thread green
From: Oleg Drokin It's not really used anywhere. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h b/drivers/staging/lustre/lustre/in

[PATCH 11/13] staging/lustre: ATTR_TIMES_SET is always defined, so don't check it

2015-07-30 Thread green
From: Oleg Drokin Remove ATTR_TIMES_SET check as it's always present, move the mask of times define close to where it's used. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 6 -- drivers/staging/lustre/lustre/llite/llite_lib.c |

[PATCH 10/13] staging/lustre: Get rid of ll_pagevec_ macros

2015-07-30 Thread green
From: Oleg Drokin They are noop anyways. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 5 - drivers/staging/lustre/lustre/llite/dir.c | 4 2 files changed, 9 deletions(-) diff --git a/drivers/staging/lustre/lustre/i

[PATCH 12/13] staging/lustre: Get rid of inode_dio_write_done and inode_dio_read

2015-07-30 Thread green
From: Oleg Drokin These primitives are long deprecated and unused. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 5 - drivers/staging/lustre/lustre/llite/llite_lib.c | 5 + drivers/staging/lustre/lustre/llite/vvp_io.c

[PATCH 00/13] Removal of lustre compat macros

2015-07-30 Thread green
From: Oleg Drokin This patchset is a stroll through lustre/include/linux/lustre_compat25.h that houses a bunch of our "compatibility with old/new kernels" code and gettign rid of everything that we know for granted is available because we are part of the tree. These are the low hanging fruit, th

[PATCH 13/13] staging/lustre: use ATTR_OPEN directly, remove ATTR_RAW

2015-07-30 Thread green
From: Oleg Drokin ATTR_RAW is unused. No point in redefining ATTR_OPEN as ATTR_FROM_OPEN Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/linux/lustre_patchless_compat.h| 12 drivers/staging/lustre/lustre/mdc/mdc_lib.c | 2 +- 2 files changed, 1 inser

[PATCH 08/13] staging/lustre: replace ll_umode_t with umode_t

2015-07-30 Thread green
From: Oleg Drokin umode_t is what we need anyway, so replace all users and drop the define. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 6 -- drivers/staging/lustre/lustre/llite/namei.c | 2 +- 2 files changed, 1 insertio

[PATCH 01/13] staging/lustre: Remove unused ll_vfs_* compat defines

2015-07-30 Thread green
From: Oleg Drokin Lustre defines quite a bit of those compatibility defines duplicating kernel vfs api, but they are not actually used in the client so remove them all and also ll_dirty_inode, ll_security_inode_unlink and cfs_path_put Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/li

[PATCH 05/13] staging/lustre: remove *hw_segments compat defines

2015-07-30 Thread green
From: Oleg Drokin queue_max_phys_segments, queue_max_hw_segments and bio_hw_segments are not used anywhere in the client code, so remove them Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/dr

[PATCH 04/13] staging/lustre: Drop SLAB_DESTROY_BY_RCU redefine, it's always defined

2015-07-30 Thread green
From: Oleg Drokin SLAB_DESTROY_BY_RCU is always defined in kernel slab.h, so no point in checking for it. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/

[PATCH 03/13] staging/lustre: Drop FS_HAS_FIEMAP compat macro

2015-07-30 Thread green
From: Oleg Drokin FS_HAS_FIEMAP was some sort of old RHEL5 construct that's not really important anymore Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h | 5 - drivers/staging/lustre/lustre/obdclass/obd_mount.c| 2 +- 2 files changed

[PATCH 1/1] staging: rtl8192e: Rework EEPROM handling code

2015-07-30 Thread Mateusz Kulikowski
Card configuration is stored in SPI EEPROM (93c46 or 93c56) working in 128|256x16 mode. Communication is handled using GPIO bitbang. >From behaviour perspective, delay after read was removed. It is not needed as we wait after reading GPIO mapped to PCI-E register - it should have no side effects.

[PATCH 0/1] staging: rtl8192e: Rework EEPROM handling code

2015-07-30 Thread Mateusz Kulikowski
This patch is fixed version of RFC patch with the same subject: http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-July/073860.html Changes: - Functions *gpio_set and *gpio_get changed as suggested by Dan - Changed commit msg Changes that were NOT made: - I kept _rtl92e_ prefix

[PATCH] staging: fbtft: core: Don't set device platform_data

2015-07-30 Thread Noralf Trønnes
Pass platform_data as an argument to fbtft_framebuffer_alloc() instead of using dev->platform_data. This fixes an issue where the device comes from Device Tree and fbtft_probe_common() sets dev->platform_data to allocated memory. When the module is reloaded, dev->platform_data points to freed memo

[PATCH] Staging: most: replace pr_*() functions by dev_*()

2015-07-30 Thread Christian Gromm
This patch replaces pr_*() functions with dev_*(). Reported-by: Greg Kroah-Hartman Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 116 1 file changed, 59 insertions(+), 57 deletions(-) diff --git a/drivers/staging/most/hdm-usb/hdm_

[PATCH v2] Staging: most: fix doing DMA on stack

2015-07-30 Thread Christian Gromm
This patch fixes error "doing DMA on the stack" by using kzalloc for buffer allocation. Reported-by: Dan Carpenter Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 36 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/d

Re: [PATCH] improve lmk to avoid deadlock issue

2015-07-30 Thread Joe Perches
On Thu, 2015-07-30 at 13:09 +0300, Dan Carpenter wrote: > > diff --git a/drivers/staging/android/lowmemorykiller.c > > b/drivers/staging/android/lowmemorykiller.c [] > > @@ -127,11 +127,15 @@ static unsigned long lowmem_scan(struct shrinker *s, > > struct shrink_control *sc) > > if (!

Re: [RFC PATCH] staging: rtl8192e: Rework EEPROM handling code

2015-07-30 Thread Mateusz Kulikowski
On Thu, Jul 30, 2015 at 07:40:14AM -0700, Greg KH wrote: > On Thu, Jul 30, 2015 at 11:41:46AM +0300, Dan Carpenter wrote: > > On Thu, Jul 30, 2015 at 10:31:04AM +0200, Mateusz Kulikowski wrote: > > > As for other comments - could you take look at "Notes" from patch? > > > This was one of main conce

Re: [RFC PATCH] staging: rtl8192e: Rework EEPROM handling code

2015-07-30 Thread Greg KH
On Thu, Jul 30, 2015 at 11:41:46AM +0300, Dan Carpenter wrote: > On Thu, Jul 30, 2015 at 10:31:04AM +0200, Mateusz Kulikowski wrote: > > As for other comments - could you take look at "Notes" from patch? > > This was one of main concerns for me - Wouldn't it be better > > if I rewrite that code to

Re: [PATCH 2/3] Staging: most: fix doing DMA on stack

2015-07-30 Thread Greg KH
On Thu, Jul 30, 2015 at 03:31:38PM +0200, Christian Gromm wrote: > This patch fixes error "doing DMA on the stack" by using kzalloc > for buffer allocation. > > Reported-by: Dan Carpenter > Signed-off-by: Christian Gromm > --- > drivers/staging/most/hdm-usb/hdm_usb.c | 39 > +

Re: [PATCH v4 04/46] staging: emxx_udc: add ep capabilities support

2015-07-30 Thread Felipe Balbi
Hi, On Thu, Jul 30, 2015 at 09:15:38AM +0200, Robert Baldyga wrote: > On 07/29/2015 05:20 PM, Felipe Balbi wrote: > > On Mon, Jul 27, 2015 at 11:16:14AM +0200, Robert Baldyga wrote: > >> Convert endpoint configuration to new capabilities model. > >> > >> Fixed typo in "epc-nulk" to "epc-bulk". > >

[PATCH 1/3] Staging: most: fix double unlock

2015-07-30 Thread Christian Gromm
This patch fixes double unlocking of a spinlock the aim-v4l2 module. Reported-by: Dan Carpenter Signed-off-by: Christian Gromm Signed-off-by: Andrey Shvetsov --- drivers/staging/most/aim-v4l2/video.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/most/aim-v4l2/video.c

[PATCH 2/3] Staging: most: fix doing DMA on stack

2015-07-30 Thread Christian Gromm
This patch fixes error "doing DMA on the stack" by using kzalloc for buffer allocation. Reported-by: Dan Carpenter Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 39 +--- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/d

[PATCH 3/3] Staging: most: replace min() by min_t()

2015-07-30 Thread Christian Gromm
This patch fixes wrong casting. Reported-by: Dan Carpenter Signed-off-by: Christian Gromm --- drivers/staging/most/mostcore/core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/most/mostcore/core.c b/drivers/staging/most/mostcore/core.c index 49d03a

Re: [RESEND V2 0/3] cover letter of wilc1000 patches

2015-07-30 Thread Dan Carpenter
On Thu, Jul 30, 2015 at 09:03:48PM +0900, Chaehyun Lim wrote: > On Thu, Jul 30, 2015 at 8:41 PM, Chaehyun Lim wrote: > > > > First patch has 4 sites of kmalloc change in coreconfigurator.c > > First one, it is used for gps8ConfigPacket at CoreconfiguratorInit and > > CoreConfiguratorDeInit. > > I

Re: [PATCH V2 3/5] staging: wilc1000: remove warnings on missing blank line

2015-07-30 Thread Sudip Mukherjee
On Thu, Jul 30, 2015 at 06:10:12PM +0900, Tony Cho wrote: > This patch removes the warnings reported by checkpatch.pl on missing > a blank line after declarations. > > Signed-off-by: Tony Cho > --- > V2: This patch doesn't have a difference with the first one. However, > it's resent becasue not a

Re: [RESEND V2 0/3] cover letter of wilc1000 patches

2015-07-30 Thread Chaehyun Lim
I'm sorry that I have mistake the number of kmalloc changes. The total change is 6, not 4. On Thu, Jul 30, 2015 at 8:41 PM, Chaehyun Lim wrote: > Hi, Greg > > I'm sorry that I did not say whether GFP_ATOMIC should be used or not. > This is my review on it. If it's not correct, please give me any

Re: [PATCH V2 1/5] staging: wilc1000: #ifdef conditionals cover entire functions

2015-07-30 Thread Sudip Mukherjee
On Thu, Jul 30, 2015 at 06:10:10PM +0900, Tony Cho wrote: > This patch lets preprocessor conditionals (#ifdef) related to > WILC_SDIO_IRQ_GPIO to compile out the entire functions. Compiling out > the entire functions is preferred rather than portions of functions or > expressions becausue doing so

[RESEND V2 0/3] cover letter of wilc1000 patches

2015-07-30 Thread Chaehyun Lim
Hi, Greg I'm sorry that I did not say whether GFP_ATOMIC should be used or not. This is my review on it. If it's not correct, please give me any comment or direction. First patch has 4 sites of kmalloc change in coreconfigurator.c First one, it is used for gps8ConfigPacket at CoreconfiguratorIni

[RESEND V2 2/3] staging: wilc1000: coreconfigurator.c: add kmalloc error check

2015-07-30 Thread Chaehyun Lim
Add error check if memory allocation is failed. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 37e09b8..

[RESEND V2 3/3] staging: wilc1000: coreconfigurator.c: fix kmalloc error check

2015-07-30 Thread Chaehyun Lim
Return -ENOMEM if memory allocation is failed. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c

[RESEND V2 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-30 Thread Chaehyun Lim
Use kmalloc and kmalloc_array instead of WILC_MALLOC. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigur

RE: [PATCH V4 4/7] Drivers: hv: vmbus: add APIs to register callbacks to process hvsock connection

2015-07-30 Thread Dexuan Cui
> From: David Miller > Sent: Thursday, July 30, 2015 6:27 > > From: Dexuan Cui > Date: Tue, 28 Jul 2015 05:35:11 -0700 > > > With the 2 APIs supplied by the VMBus driver, the coming net/hvsock driver > > can register 2 callbacks and can know when a new hvsock connection is > > offered by the host

RE: [PATCH V4 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-30 Thread Dexuan Cui
> From: David Miller > Sent: Thursday, July 30, 2015 6:28 > >From: Dexuan Cui > >Date: Tue, 28 Jul 2015 05:35:23 -0700 > > > > +/* hvsock_release() can be invoked in 2 paths: > > + * 1. on process termination: > > + * hvsock_sk_destruct+0x1a/0x20 > > + * __sk_free+0x1d/0x130 > > + * sk_free+0x19/0x

RE: [PATCH V4 7/7] Drivers: hv: vmbus: disable local interrupt when hvsock's callback is running

2015-07-30 Thread Dexuan Cui
> From: David Miller > Sent: Thursday, July 30, 2015 6:28 > > From: Dexuan Cui > > Date: Tue, 28 Jul 2015 05:35:30 -0700 > > > > In the SMP guest case, when the per-channel callback hvsock_events() is > > running on virtual CPU A, if the guest tries to close the connection on > > virtual CPU B: we

Re: [PATCH] improve lmk to avoid deadlock issue

2015-07-30 Thread Dan Carpenter
I'm not an android dev but this patch seems reasonable enough. There are some process issues though. 1) The subject should have a subsystem prefix: [PATCH] Staing: android: lowmemorykiller: improve lmk to avoid deadlock issue On Thu, Jul 30, 2015 at 06:49:53AM +, Wang, Biao wrote: > From:

Re: [patch] staging: comedi: das16: remove a duplicate condition

2015-07-30 Thread Ian Abbott
On 29/07/15 22:36, Dan Carpenter wrote: We checked that "it->options[3]" was non-zero on the line before so there is no need to check again. Signed-off-by: Dan Carpenter diff --git a/drivers/staging/comedi/drivers/das16.c b/drivers/staging/comedi/drivers/das16.c index d7cf4b1..056bca9 100644

[PATCH V2 5/5] staging: wilc1000: remove unused functions

2015-07-30 Thread Tony Cho
This patch removes the dead functions which are not used anymore. - sdio_check_bs - sdio_xfer_cnt Signed-off-by: Tony Cho --- V2: This patch doesn't have any difference with the first patch becasue this patch just removes unnecessary functions. However, it is resent because it's n

[PATCH V2 1/5] staging: wilc1000: #ifdef conditionals cover entire functions

2015-07-30 Thread Tony Cho
This patch lets preprocessor conditionals (#ifdef) related to WILC_SDIO_IRQ_GPIO to compile out the entire functions. Compiling out the entire functions is preferred rather than portions of functions or expressions becausue doing so makes code harder to read. Signed-off-by: Tony Cho --- V2: Remov

[PATCH V2 4/5] staging: wilc1000: remove errors on required space

2015-07-30 Thread Tony Cho
This patch removes the errors reported by checkpatch.pl, which is the space required before the open parenthesis '('. Signed-off-by: Tony Cho --- V2: This patch is not different with the first one. This patch includes warnings on no space required before the open parenthesis in the function, sdio

[PATCH V2 3/5] staging: wilc1000: remove warnings on missing blank line

2015-07-30 Thread Tony Cho
This patch removes the warnings reported by checkpatch.pl on missing a blank line after declarations. Signed-off-by: Tony Cho --- V2: This patch doesn't have a difference with the first one. However, it's resent becasue not accepted with the 9th patch. --- drivers/staging/wilc1000/wilc_sdio.c |

[PATCH V2 2/5] staging: wilc1000: remove unnecessary blank lines

2015-07-30 Thread Tony Cho
This patch removes the following warnings reported by checkpatch.pl. - Blank lines aren't necessary after an open brace '{' - Blank lines aren't necessary before a close brace '}' Signed-off-by: Tony Cho --- V2: This patch doesn't have a difference with the first one but resent because it's rejec

[PATCH 0/5] 2nd patch for illegal coding style

2015-07-30 Thread Tony Cho
This patch V2 includes only patches rejected. The rejected patch for the following, #ifdef conditionals cover entire functions, introduced new error on required space before the open parenthesis '('. This is my mistake while rewriting codes. The original 13th patch didn't include new fix introduce

Re: [PATCH 2/4] Staging: most: fix snprintf() is printing too much

2015-07-30 Thread Christian Gromm
On Thu, 30 Jul 2015 11:28:43 +0300 Dan Carpenter wrote: > On Thu, Jul 30, 2015 at 09:05:39AM +0200, Christian Gromm wrote: > > On Wed, 29 Jul 2015 11:53:34 +0530 > > Sudip Mukherjee wrote: > > > > > On Tue, Jul 28, 2015 at 05:16:09PM +0200, Christian Gromm wrote: > > > > This patch prevents snp

Re: [RFC PATCH] staging: rtl8192e: Rework EEPROM handling code

2015-07-30 Thread Dan Carpenter
On Thu, Jul 30, 2015 at 10:31:04AM +0200, Mateusz Kulikowski wrote: > As for other comments - could you take look at "Notes" from patch? > This was one of main concerns for me - Wouldn't it be better > if I rewrite that code to use GPIO/SPI/EEPROM subsystems? I don't know. Let's just merge this

Re: [patch] staging: comedi: das16: remove a duplicate condition

2015-07-30 Thread Dan Carpenter
On Thu, Jul 30, 2015 at 09:18:56AM +0200, walter harms wrote: > > > Am 29.07.2015 23:36, schrieb Dan Carpenter: > > We checked that "it->options[3]" was non-zero on the line before so > > there is no need to check again. > > > > Signed-off-by: Dan Carpenter > > > > diff --git a/drivers/staging

Re: [RFC PATCH] staging: rtl8192e: Rework EEPROM handling code

2015-07-30 Thread Mateusz Kulikowski
On Wed, Jul 29, 2015 at 02:04:42AM +0300, Dan Carpenter wrote: > On Tue, Jul 28, 2015 at 11:52:42PM +0200, Mateusz Kulikowski wrote: > > > diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c > > b/drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c > > index ed54193..fe4e282 100644 > > --- a/d

Re: [PATCH 2/4] Staging: most: fix snprintf() is printing too much

2015-07-30 Thread Dan Carpenter
On Thu, Jul 30, 2015 at 09:05:39AM +0200, Christian Gromm wrote: > On Wed, 29 Jul 2015 11:53:34 +0530 > Sudip Mukherjee wrote: > > > On Tue, Jul 28, 2015 at 05:16:09PM +0200, Christian Gromm wrote: > > > This patch prevents snprintf from exceeding a given buffer size. > > > > > > Reported-by: Da

Re: [patch] staging: comedi: das16: remove a duplicate condition

2015-07-30 Thread walter harms
Am 29.07.2015 23:36, schrieb Dan Carpenter: > We checked that "it->options[3]" was non-zero on the line before so > there is no need to check again. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/staging/comedi/drivers/das16.c > b/drivers/staging/comedi/drivers/das16.c > index d7cf

Re: [PATCH v4 04/46] staging: emxx_udc: add ep capabilities support

2015-07-30 Thread Robert Baldyga
On 07/29/2015 05:20 PM, Felipe Balbi wrote: > On Mon, Jul 27, 2015 at 11:16:14AM +0200, Robert Baldyga wrote: >> Convert endpoint configuration to new capabilities model. >> >> Fixed typo in "epc-nulk" to "epc-bulk". >> >> Signed-off-by: Robert Baldyga >> --- >> drivers/staging/emxx_udc/emxx_udc.

Re: [PATCH 2/4] Staging: most: fix snprintf() is printing too much

2015-07-30 Thread Christian Gromm
On Wed, 29 Jul 2015 11:53:34 +0530 Sudip Mukherjee wrote: > On Tue, Jul 28, 2015 at 05:16:09PM +0200, Christian Gromm wrote: > > This patch prevents snprintf from exceeding a given buffer size. > > > > Reported-by: Dan Carpenter > > Signed-off-by: Christian Gromm > > --- > > > - snp