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
--- a/dr
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 inden
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=
___
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
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
b/drivers/staging
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
b/drivers/staging
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
b/drivers/staging/mt7621-spi/spi
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 a/drivers/staging/mt7621-spi/spi-
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 open
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 te
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 pi433
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
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 a/drivers/staging/mt7621-spi/spi-
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
b/drivers/staging
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
b/drivers/staging
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
b/drivers/staging/mt7621-spi/spi
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
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 9d569b1cf7
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 a/drivers/staging/rtlwifi/phydm/phyd
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 a/drivers/staging/rtlwifi/rtl8822be
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 a/drivers/staging/rtlwifi/rtl8822be
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
__
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
b/drivers/staging/medi
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 a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_subde
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
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. Is
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
Documentation/devicetree/bindings/gpio
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(+)
cre
28 matches
Mail list logo