On Thu, Nov 17, 2016 at 02:35:50PM -0500, James Simmons wrote:
> Testing == 0 is not kernel style so remove this
> type of testing from libcfs.
>
That's not true. Checkpatch.pl won't complain.
Not everyone has thought about it or agrees with me but there are time
when == 0 is idiomatic. For ex
Fixed spaces around operators to fix their coding style issues.
Signed-off-by: Shiva Kerdel
---
drivers/staging/wlan-ng/prism2mgmt.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/wlan-ng/prism2mgmt.c
b/drivers/staging/wlan-ng/prism2mgmt.c
ind
This patch fixes the following checkpath.pl warning
WARNING: braces {} are not necessary for single statement blocks
Fixed indentation error, noted by Dan Carpenter
Signed-off-by: Rahul Krishnan
---
drivers/staging/greybus/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Fri, Nov 18, 2016 at 07:04:20PM +0530, Rahul Krishnan wrote:
> This patch fixes the following checkpath.pl warning
> WARNING: braces {} are not necessary for single statement blocks
>
> Fixed indentation error, noted by Dan Carpenter
>
> Signed-off-by: Rahul Krishnan
> ---
> drivers/staging/
This patch fixes the following checkpath.pl warning
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Rahul Krishnan
---
drivers/staging/greybus/sdio.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/sdio.c b/drivers/st
Hi Rahul,
Thanks for the patch.
Now looks great.
On Fri, Nov 18, 2016 at 08:45:25PM +0530, Rahul Krishnan wrote:
This patch fixes the following checkpath.pl warning
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Rahul Krishnan
Reviewed-by: Rui Miguel Silva
> On Thu, Nov 17, 2016 at 06:29:08PM -0500, James Simmons wrote:
> > From: Mikhail Pershin
> >
> > - llh_cat_idx may become bigger than llog bitmap size in
> > llog_cat_set_first_idx() function
> > - it is wrong to use previous cur_offset as new buffer offset,
> > new offset should be calcul
> On Thu, Nov 17, 2016 at 02:35:50PM -0500, James Simmons wrote:
> > Testing == 0 is not kernel style so remove this
> > type of testing from libcfs.
> >
>
> That's not true. Checkpatch.pl won't complain.
>
It got lumped in with the checkpatch fixes. Also the __uXX problem is not
reported by
Give the parameters names for the function
prototypes in the libcfs headers.
Signed-off-by: James Simmons
---
.../staging/lustre/include/linux/libcfs/libcfs.h |4 ++--
.../lustre/include/linux/libcfs/libcfs_hash.h | 15 ---
.../lustre/include/linux/libcfs/libcfs_private.
Spell the word destroy correctly.
Signed-off-by: James Simmons
---
.../lustre/include/linux/libcfs/libcfs_cpu.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h
b/drivers/staging/lustre/include/linux/libcfs/
The header libcfs_fail.h has a extra blank line that
is not needed.
Signed-off-by: James Simmons
---
.../lustre/include/linux/libcfs/libcfs_fail.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h
b/drivers/st
Properly format the incorrect comments sections
that were reported by checkpatch.
Signed-off-by: James Simmons
---
.../lustre/include/linux/libcfs/libcfs_crypto.h| 10 --
.../lustre/include/linux/libcfs/libcfs_fail.h | 30 +--
.../lustre/include/linux/libcfs/libc
Use the BIT macros instead of (1 << ***) in libcfs
headers.
Signed-off-by: James Simmons
---
.../staging/lustre/include/linux/libcfs/curproc.h | 18
.../lustre/include/linux/libcfs/libcfs_fail.h |4 +-
.../lustre/include/linux/libcfs/libcfs_hash.h | 42 ++-
Remove the NULL comparisions in the libcfs headers.
Signed-off-by: James Simmons
---
.../lustre/include/linux/libcfs/libcfs_hash.h |2 +-
.../lustre/include/linux/libcfs/libcfs_private.h |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre
Remove the zero comparisions in the libcfs headers.
Signed-off-by: James Simmons
---
.../lustre/include/linux/libcfs/libcfs_crypto.h|2 +-
.../lustre/include/linux/libcfs/libcfs_fail.h |4 +-
.../lustre/include/linux/libcfs/libcfs_hash.h | 32 ++--
3 files
The types __[u|s]XX is only used for UAPI headers and userspace.
Only keep these types for the libcfs headers that are UAPI
headers. The rest convert to the standard uXX types.
Signed-off-by: James Simmons
---
.../staging/lustre/include/linux/libcfs/curproc.h |2 +-
.../lustre/include/linux
This patch set contains various cleanups that were reported
with checkpatch. Also remove the NULL and 0 comparisons which
is not kernel style. Lastly the uXX types are sorted out in
the libcfs headers. Only the macro mess is left that needs
cleaning up.
James Simmons (10):
staging: lustre: libcf
Fixup the libcfs headers to use the proper unsigned int
instead of raw unsigned.
Signed-off-by: James Simmons
---
.../lustre/include/linux/libcfs/libcfs_hash.h | 28 ++--
.../lustre/include/linux/libcfs/libcfs_string.h|6 ++--
.../lustre/include/linux/libcfs/linux/
One last white space is still left in libcfs_fail.h. Lets
remove it.
Signed-off-by: James Simmons
---
.../lustre/include/linux/libcfs/libcfs_fail.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h
b/drivers/
From: Mikhail Pershin
- llh_cat_idx may become bigger than llog bitmap size in
llog_cat_set_first_idx() function
- it is wrong to use previous cur_offset as new buffer offset,
new offset should be calculated from value returned by
llog_next_block().
- optimize llog_skip_over() to find llog
> > --- a/drivers/staging/lustre/lustre/obdclass/obd_mount.c
> > +++ b/drivers/staging/lustre/lustre/obdclass/obd_mount.c
> > @@ -871,6 +871,87 @@ static int lmd_parse_mgs(struct lustre_mount_data
> > *lmd, char **ptr)
> > return 0;
> > }
> >
> > +/**
> > + * Find the first comma delimiter
On Fri, Nov 18, 2016 at 04:54:03PM +, James Simmons wrote:
>
> > > --- a/drivers/staging/lustre/lustre/obdclass/obd_mount.c
> > > +++ b/drivers/staging/lustre/lustre/obdclass/obd_mount.c
> > > @@ -871,6 +871,87 @@ static int lmd_parse_mgs(struct lustre_mount_data
> > > *lmd, char **ptr)
> > >
Make spelling corrections for 'correctly' and
'unregister'
Signed-off-by: Walt Feasel
Acked-by: Martyn Welch
---
v2 Removed the previously submitted U.S. spelling for
'initialise' to keep the correct U.K. spelling.
v3 makes changes to correct for email format patch submission
drivers/staging/
Make spelling correction for 'control'
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_cls.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_cls.h b/drivers/staging/dgnc/dgnc_cls
Make modifications to comment style format
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_cls.c | 44 -
1 file changed, 17 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/
This patchset fix the following sparse warning:
warning: incorrect type in assignment (different address spaces)
Changes in v2:
* Remove IOMEM_GET_FIELDADDR macro
* Add ioread64 and iowrite64 defines
Changes in v3:
* Remove ioread64 and iowrite64 defines
* Split into two patches: one for 32 bits
Remove incorrect __iomem annotation.
This patch fix the following sparse warnings in slicoss driver:
warning: incorrect type in assignment (different address spaces)
Signed-off-by: Sergio Paracuellos
---
drivers/staging/slicoss/slic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Replace CamelCases to comply with the standard kernel coding style.
Signed-off-by: Sergio Paracuellos
---
drivers/staging/slicoss/slic.h| 30 +++
drivers/staging/slicoss/slicoss.c | 50 +++
2 files changed, 40 insertions(+), 40 deletion
Replace CamelCases to comply with the standard kernel coding style.
Signed-off-by: Sergio Paracuellos
---
drivers/staging/slicoss/slicoss.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/slicoss/slicoss.c
b/drivers/staging/slic
This patchset fix several style issues to comply with
the standard kernel coding style.
Sergio Paracuellos (6):
staging: slicoss: avoid CamelCases in slic.h
staging: slicoss: fix parenthesis alignment in slicoss.c
staging: slicoss: logical continuations should be on the previous line
stag
Replace CamelCases to comply with the standard kernel coding style.
Signed-off-by: Sergio Paracuellos
---
drivers/staging/slicoss/slichw.h | 178 +++---
drivers/staging/slicoss/slicoss.c | 56 ++--
2 files changed, 117 insertions(+), 117 deletions(-)
di
Add braces in if statement to comply with the standard
kernel coding style.
Signed-off-by: Sergio Paracuellos
---
drivers/staging/slicoss/slicoss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/slicoss/slicoss.c
b/drivers/staging/slicoss/slicoss.c
index
This patch fix open parenthesis alignment matching in slicoss.c
file to comply with the standard kernel coding style.
Signed-off-by: Sergio Paracuellos
---
drivers/staging/slicoss/slicoss.c | 68 +++
1 file changed, 33 insertions(+), 35 deletions(-)
diff --gi
Move logical or operator to previous line to comply with
the standard kernel coding style.
Signed-off-by: Sergio Paracuellos
---
drivers/staging/slicoss/slicoss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/slicoss/slicoss.c
b/drivers/staging/slicoss/
Make suggested checkpatch modification for
CHECK: Please don't use multiple blank lines
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/dgnc/dgn
Make Linux kernel coding style modifications for dgnc_driver.c to include:
CHECK: Please don't use multiple blank lines
CHECK: Blank lines aren't necessary before a close brace '}'
Comment style modifications
Walt Feasel (3):
staging: dgnc: dgnc_driver.c Comment style modifications
staging: dg
Make modifications to comment styles
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.c | 57 +-
1 file changed, 20 insertions(+), 37 deletions(-)
diff --git a/drivers/staging/dgnc/
Make suggested checkpatch modification for
CHECK: Blank lines aren't necessary before
a close brace '}'
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/stag
Hi,
At LPC, I proposed a moratorium on new Ion features because of issues
preventing Ion ever moving out of staging. Among other problems,
the Ion caching model hasn't made much progress to a solution that
is widely accepted and there are still problems with devicetree
support. There were no stron
Make modifications to comment style
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.h | 170 -
1 file changed, 73 insertions(+), 97 deletions(-)
diff --git a/drivers/staging/dgnc/d
Make Linux kernel coding style modifications for dgnc_driver.h to include:
Spelling correction
Comment style modifications
Align columns
Walt Feasel (3):
staging: dgnc: dgnc_driver.h Comment style modifications
staging: dgnc: dgnc_driver.h Align columns
staging: dgnc: dgnc_driver.h Spelling
Make modifications to align columns
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h
b/dr
Make spelling correction for 'statements'
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h
b/drivers/staging/dgn
Make modifications for comment style
Signed-off-by: Walt Feasel
---
drivers/staging/dgnc/dgnc_mgmt.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_mgmt.c b/drivers/staging/dgnc/dgnc_mgmt.c
index 683c098..9d9b15d 100644
--- a/drivers/staging/d
Make modifications for comment style
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_neo.c | 111 +++-
1 file changed, 54 insertions(+), 57 deletions(-)
diff --git a/drivers/staging/dgnc/
Make Linux kernel coding style modifications for dgnc_neo.h to include:
Spelling correction
Comment style modifications
Walt Feasel (2):
staging: dgnc: dgnc_neo.h Comment style modifications
staging: dgnc: dgnc_neo.h Spelling correction
drivers/staging/dgnc/dgnc_neo.h | 26 -
Make modifications for comment style
Signed-off-by: Walt Feasel
---
drivers/staging/dgnc/dgnc_neo.h | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.h b/drivers/staging/dgnc/dgnc_neo.h
index 97f0386..1aa9325 100644
--- a
Make spelling correction for 'control'
Signed-off-by: Walt Feasel
---
drivers/staging/dgnc/dgnc_neo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.h b/drivers/staging/dgnc/dgnc_neo.h
index 1aa9325..77ecd9b 100644
--- a/drivers/staging/dgnc/dgn
Make modifications to comment style
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_sysfs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers/staging/dgnc/dgnc
Make Linux kernel coding style modifications for dgnc_sysfs.c to include:
Comment style modifications
Remove blank line
Walt Feasel (2):
staging: dgnc: dgnc_sysfs.c Comment style modifications
staging: dgnc: dgnc_sysfs.c Delete blank line
drivers/staging/dgnc/dgnc_sysfs.c | 4 ++--
1 file
Make modification to remove extra blank line
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_sysfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers/staging/dgnc/dgnc_sysfs.c
i
Larry Finger wrote:
> From: Ping-Ke Shih
>
> In commit c18d8f509571 ("rtlwifi: rtl8723be: Add antenna select module
> parameter"), wifi was fixed for those laptops that have only a single
> antenna but have an incorrectly coded EEPROM. This error causes the
> driver to select the wrong antenna.
52 matches
Mail list logo