[PATCH] Staging:greybus Fix comparison to NULL

2018-06-02 Thread Janani Sankara Babu
This patch replaces comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/greybus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index dafa430..5d14a4e 100644 ---

Re: [PATCH v2 0/5] staging: mt7621-spi: Fix Coding style issues.

2018-06-02 Thread Joe Perches
On Sat, 2018-06-02 at 19:56 +0530, Sankalp Negi wrote: > This patch series lists different changes for coding style fixes > as reported by checkpatch.pl, changes can be broken down as : > > 1. Indent switch and case labels at the same level > 2. Fix a line over 80 columns > 3. Place tabs for

Romaine

2018-06-02 Thread agusnadi
It is so cool! I’m happy that I have found you on the web! I would like you to be mine but not for keeps:)) just for one night. My body has to be in somebody’s hugs. Admire my photos! http://www.gomooca.com.br/aw18wf/eoarsjm.php?ZGV2ZWxAZHJpdmVyZGV2Lm9zdW9zbC5vcmc=

[PATCH v3 5/5] staging: mt7621-spi: Remove unnecessary braces {} from single statement if block.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : braces {} are not necessary for single statement blocks Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v3 4/5] staging: mt7621-spi: Add a space before open paranthesis.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : space required before the open parenthesis Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v3 3/5] staging: mt7621-spi: Use tabs for indentation instead of spaces.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : code indent should use tabs where possible Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v3 2/5] staging: mt7621-spi: Fix line over 80 characters by refactoring.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : line over 80 characters Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v3 1/5] staging: mt7621-spi: Indent case labels and switch at the same level.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : switch and case should be at the same indent Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH v3 0/5] staging: mt7621-spi: Fix C Coding style issues.

2018-06-02 Thread Sankalp Negi
This patch series lists different changes for coding style fixes as reported by checkpatch.pl, changes can be broken down as : 1. Indent switch and case labels at the same level. 2. Fix a line over 80 columns by refactoring. 3. Use tabs for indentation instead of spaces. 4. Add a space before

Re: [PATCH] staging: pi433: add rw semaphore fixing concurrency issues

2018-06-02 Thread Hugo Lefeuvre
Hi, > Unless you can measure the performance difference, do not use a rw > semaphore, just use a normal mutex please. Odds are it will be faster > in the end and take up less space. > > So please test, or if you can't test, just use a mutex. I don't have the device yet, so I won't be able to

[PATCH v2] staging: pi433: add mutex fixing concurrency issues.

2018-06-02 Thread Hugo Lefeuvre
Add a mutex fixing a potential NULL pointer dereference in the pi433 driver. If pi433_release and pi433_ioctl are concurrently called, pi433_release might set filp->private_data to NULL while pi433_ioctl is still accessing it, leading to NULL pointer dereference. This issue might also affect

[PATCH v2 5/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : braces {} are not necessary for single statement blocks Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v2 1/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : switch and case should be at the same indent Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH v2 3/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : code indent should use tabs where possible Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v2 4/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : space required before the open parenthesis Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v2 2/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : line over 80 characters Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v2 0/5] staging: mt7621-spi: Fix Coding style issues.

2018-06-02 Thread Sankalp Negi
This patch series lists different changes for coding style fixes as reported by checkpatch.pl, changes can be broken down as : 1. Indent switch and case labels at the same level 2. Fix a line over 80 columns 3. Place tabs for indentation instead of spaces 4. Add a space before open paranthesis in

[GIT PULL] IIO driver fixes for 4.17-rc8

2018-06-02 Thread Greg KH
The following changes since commit 6da6c0db5316275015e8cc2959f12a17584aeb64: Linux v4.17-rc3 (2018-04-29 14:17:42 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.17-rc8 for you to fetch changes up to

[PATCH v2 1/3] staging: rtlwifi: Fix "Trafic"->"Traffic"

2018-06-02 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in comment text. Signed-off-by: Sabin Mihai Rapan --- Changes in v2: - Added proper to and cc fields to the patch series. drivers/staging/rtlwifi/phydm/phydm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/3] staging: rtlwifi: Fix "writen"->"written"

2018-06-02 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in comment text. Signed-off-by: Sabin Mihai Rapan --- Changes in v2: - Added proper to and cc fields to the patch series. drivers/staging/rtlwifi/rtl8822be/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 3/3] staging: rtlwifi: Fix "Alwyas"->"Always"

2018-06-02 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in comment text. Signed-off-by: Sabin Mihai Rapan --- Changes in v2: - Added proper to and cc fields to the patch series. drivers/staging/rtlwifi/rtl8822be/sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/2] media: staging: atomisp: align block comments with the * on each line

2018-06-02 Thread Greg KH
On Sat, Jun 02, 2018 at 05:12:24PM +0900, kjh1007 wrote: > fix checkpactch.pl warning: > * Block comments should align the * on each line > > Signed-off-by: kjh1007 I doubt that is your "real" name :) Please read Documentation/SubmittingPatches for what needs to go here. thanks, greg k-h

[PATCH 2/2] media: staging: atomisp: add a blank line after declarations

2018-06-02 Thread kjh1007
fix checkpatch.pl warning: * Missing a blank line after declarations Signed-off-by: kjh1007 --- drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c

[PATCH 1/2] media: staging: atomisp: align block comments with the * on each line

2018-06-02 Thread kjh1007
fix checkpactch.pl warning: * Block comments should align the * on each line Signed-off-by: kjh1007 --- .../media/atomisp/pci/atomisp2/atomisp_subdev.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [PATCH] staging: mt7621-gpio: move out of staging

2018-06-02 Thread Sergio Paracuellos
On Sat, Jun 2, 2018 at 1:30 AM, NeilBrown wrote: > On Fri, Jun 01 2018, Sergio Paracuellos wrote: > >>> I suggest you submit this as a new driver to the gpio maintainer and >>> developers and then if/when it is merged into that tree, we can then >>> delete the staging tree version. That makes it

[PATCH 0/2] gpio: mediatek: driver for gpio chip in MT7621 SoC

2018-06-02 Thread Sergio Paracuellos
This patch series add support for gpio driver in mediatek MT7621 SoC. This driver has been in staging for a while and after some cleanups cycles we consider to git it a try to get mainlined. The functionality is presented as a single irq-chip but 3 separate gpio-chips, as this seemed simplest.

[PATCH 1/2] gpio: mediatek: add driver for MT7621

2018-06-02 Thread Sergio Paracuellos
Add driver support for gpio of MT7621 SoC. Signed-off-by: Sergio Paracuellos Reviewed-by: NeilBrown --- drivers/gpio/Kconfig | 7 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-mt7621.c | 370 + 3 files changed, 378 insertions(+)

[PATCH 2/2] dt-bindings: document gpio-mt7621 bindings

2018-06-02 Thread Sergio Paracuellos
Add a devicetree binding documentation for the mt7621 driver. Signed-off-by: Sergio Paracuellos Reviewed-by: NeilBrown --- .../bindings/gpio/mediatek,mt7621-gpio.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644