[PATCH v3] staging: wlan-ng: Fix struct definition's and variable type

2017-06-15 Thread sunil . m
From: Suniel Mahesh le16_to_cpu() accepts argument of type __le16 and cpu_to_le16() returns an argument of type __le16. This patch fixes: (a) the type of the variable that end's up getting return from cpu_to_le16(). (b) the member types of struct

Re: [PATCH 1/6] staging: lustre: lustre: resolve "use spaces between elements" checkpatch errors

2017-06-15 Thread James Simmons
> On Thu, 2017-06-15 at 17:57 +0100, James Simmons wrote: > > > On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote: > > > > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > > > > > Due to the way the DFID was embedded in our debug strings checkpatch > > > > > > would report the

Re: [PATCH 1/6] staging: lustre: lustre: resolve "use spaces between elements" checkpatch errors

2017-06-15 Thread Joe Perches
On Thu, 2017-06-15 at 17:57 +0100, James Simmons wrote: > > On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote: > > > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > > > > Due to the way the DFID was embedded in our debug strings checkpatch > > > > > would report the following

Re: [PATCH 6/6] staging: lustre: lustre: fix all braces issues reported by checkpatch

2017-06-15 Thread Joe Perches
On Thu, 2017-06-15 at 17:38 +0100, James Simmons wrote: > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > > Cleanup all braces that was reported by checkpatch. The only > > > issue not fixed up is in mdc_lock.c. Removing the braces in > > > the case of mdc_lock.c will break the

Re: [PATCH 1/6] staging: lustre: lustre: resolve "use spaces between elements" checkpatch errors

2017-06-15 Thread James Simmons
> On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote: > > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > > > Due to the way the DFID was embedded in our debug strings checkpatch > > > > would report the following error: > > > > > > unrelated trivia > > > > > > > diff --git

Re: [lustre-devel] [PATCH] staging: lustre: headers: potential UAPI headers

2017-06-15 Thread Greg Kroah-Hartman
On Thu, Jun 15, 2017 at 04:48:20PM +0100, James Simmons wrote: > So this is coming from trying to understand the "merge them together" > part. Some people reading this it implies all the headers would be > eventually merged into one big header and placed into include/uapi/linux. Sounds like a

Re: [PATCH 6/6] staging: lustre: lustre: fix all braces issues reported by checkpatch

2017-06-15 Thread James Simmons
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > Cleanup all braces that was reported by checkpatch. The only > > issue not fixed up is in mdc_lock.c. Removing the braces in > > the case of mdc_lock.c will break the build. > > [] > > > diff --git

Re: [PATCH] Staging: vc04_services: bcm2835-audio: bcm2835-ctl.c: Fixed alignment to match open paranthesis.

2017-06-15 Thread srishti sharma
On Thu, Jun 15, 2017 at 12:29 AM, Joe Perches wrote: > On Wed, 2017-06-14 at 19:36 +0530, srishti sharma wrote: >> Fixed alignment so that it matched open paranthesis. > > Please try to avoid typos in your commit message and as > well try to do all of alignment warnings in a

Re: [PATCH 1/6] staging: lustre: lustre: resolve "use spaces between elements" checkpatch errors

2017-06-15 Thread Joe Perches
On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote: > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > > Due to the way the DFID was embedded in our debug strings checkpatch > > > would report the following error: > > > > unrelated trivia > > > > > diff --git

Re: [PATCH 5/6] staging: lustre: lustre: several over 80 characters cleanups

2017-06-15 Thread Joe Perches
On Thu, 2017-06-15 at 17:06 +0100, James Simmons wrote: > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > > Cleanup many of the over 80 characters reported by checkpatch > > > > Please don't let checkpatch get in the way of lustre > > readability. > > > > lustre commonly uses very

Re: [lustre-devel] [PATCH] staging: lustre: headers: potential UAPI headers

2017-06-15 Thread James Simmons
> On Mon, Jun 12, 2017 at 08:20:15PM +, Dilger, Andreas wrote: > > On Jan 21, 2017, at 02:24, Greg Kroah-Hartman > > wrote: > > > > > > On Fri, Jan 20, 2017 at 11:33:11PM +, James Simmons wrote: > > >> > > > On Mon, Dec 19, 2016 at 12:06:47PM -0500,

Re: [PATCH 5/6] staging: lustre: lustre: several over 80 characters cleanups

2017-06-15 Thread James Simmons
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > Cleanup many of the over 80 characters reported by checkpatch > > Please don't let checkpatch get in the way of lustre > readability. > > lustre commonly uses very long identifiers. > Long identifiers and 80 columns don't mix well. >

Re: [PATCH 1/6] staging: lustre: lustre: resolve "use spaces between elements" checkpatch errors

2017-06-15 Thread James Simmons
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote: > > Due to the way the DFID was embedded in our debug strings checkpatch > > would report the following error: > > unrelated trivia > > > diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_user.h > >

Re: [PATCH 1/1] fix coding style

2017-06-15 Thread Greg Kroah-Hartman
On Thu, Jun 15, 2017 at 10:52:03PM +0800, jm wrote: > --- > drivers/staging/android/ion/ion.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/android/ion/ion.c > b/drivers/staging/android/ion/ion.c > index 43ecb4a..a2d36b3 100644 > ---

Re: [PATCH v2] staging: wlan-ng: Amend type mismatch warnings

2017-06-15 Thread Frans Klaver
> Subject: [PATCH v2] staging: wlan-ng: Amend type mismatch warnings I think it would be better to state that you fix the types of some struct fields. That's a much more important goal of this patch than getting sparse to spout slightly fewer warnings. On Thu, Jun 15, 2017 at 8:41 AM,

RE: [PATCH] staging: fsl-mc/dpio: Propagate error code

2017-06-15 Thread Bogdan Purcareata
> -Original Message- > From: Ioana Radulescu [mailto:ruxandra.radule...@nxp.com] > Sent: Thursday, June 15, 2017 11:55 AM > To: gre...@linuxfoundation.org > Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; > ag...@suse.de; a...@arndb.de; linux-arm-ker...@lists.infradead.org;

[PATCH v2] taging: bcm2835-audio: fix longer than 80 chars lines

2017-06-15 Thread Gao Zhuang
Clip longer than 80 chars lines. Fix more "80 char" warnings than [PATCH v1]. Keep 4 "80 char" warnings for readability. Signed-off-by: Gao Zhuang --- .../staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 18 +- 1 file changed, 13 insertions(+), 5

Re: [PATCH v2] staging: octeon-usb: fix coding style error

2017-06-15 Thread bincy
I have updated the comments here and resend the new patch On 13/06/17 18:07, Greg KH wrote: On Tue, Jun 13, 2017 at 03:45:32PM +0530, bincy_k_phi...@yahoo.co.in wrote: From: bincy trivial fix for space alignment error Signed-off-by: bincy k philip

[PATCH] staging: fsl-mc/dpio: Propagate error code

2017-06-15 Thread Ioana Radulescu
dpaa2_io_service_register() returns zero even if qbman_swp_CDAN_set() encountered an error. Fix this by propagating the error code so the caller is informed data availability notifications are not properly set for a channel. Signed-off-by: Ioana Radulescu ---

Re: [patch 1/2] staging: speakup: add function to convert dev name to number

2017-06-15 Thread Okash Khawaja
Hi, On Wed, Jun 14, 2017 at 9:23 AM, Dan Carpenter wrote: [...] > > Could you call it "dev_name" instead? I normally expect "dev" to be a > device struct. Thanks for the feedback. Will keep these in mind for next version of the patch. Okash

Re: [patch 1/2] staging: speakup: add function to convert dev name to number

2017-06-15 Thread Okash Khawaja
Hi, On Wed, Jun 14, 2017 at 03:04:18PM +0200, Greg Kroah-Hartman wrote: > The console stuff is odd though, but that is each driver defining the > name for itself, major/minor does not apply. Also, a separate driver is > not having to figure this all out. I wonder if we could just add a tty >

[PATCH v2] staging: wlan-ng: Amend type mismatch warnings

2017-06-15 Thread sunil . m
From: Suniel Mahesh le16_to_cpu() accepts argument of type __le16 and cpu_to_le16() returns an argument of type __le16. This patch fixes warnings related to incorrect type in assignment and changes the types in the corresponding header file. The following type mismatch