This is a patch to the mostcore/core.c file. It makes
several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the pointer test against 0 with a logical test.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/stagin
This is a patch to the most/aim_cdev.c file. It makes several
local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-cdev/cdev.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers
Kroah-Hartman
v5: Because of using a non-updated tree previously two
patches did not apply
v6: Clear warnings and styling issues
v7: Update patch format
Adrian Remonda (5):
Staging: most: mostcore/core.c. Fix "missing static keyword" warnings
Sta
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-usb/hdm_usb.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/stagin
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
v6: styling. Change the NULL test to comply with the Kernel coding style
drivers/staging/most/mostcore/core.c | 2
This is a patch to the mostcore/core.c file. It makes
several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
v6: fixed warning "line over 80 characters" as pointed out by
Sudip Mukherjee
drivers/staging/most/mostcore/c
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
v6: fixed alignment with parameter list of a function.
drivers/staging/most/hdm-usb/hdm_usb.c | 16
1
Kroah-Hartman
v5: Because of using a non-updated tree previously two
patches did not apply
v6: Clear warnings and styling issues
Adrian Remonda (5):
Staging: most: mostcore/core.c. Fix "missing static keyword" warnings
Staging: most: mostcore/core.c. Fix &q
This is a patch to the most/aim_cdev.c file. It makes several
local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-cdev/cdev.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
v6: styling. Change the NULL test to comply with the Kernel coding style
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 2 +-
1 fi
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions and structures static to prevent global
visibility.
v6: fixed alignment with parameter list of a function.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-usb/hdm_usb.c | 16
1 file
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/stagin
This is a patch to the most/aim_cdev.c file. It makes several
local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-cdev/cdev.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers
Kroah-Hartman
v5: Because of using a non-updated tree previously two
patches did not apply
v6: Clear warnings and styling issues
Adrian Remonda (5):
Staging: most: mostcore/core.c. Fix "missing static keyword" warnings
Staging: most: mostcore/core.c. Fix &q
This is a patch to the mostcore/core.c file. It makes
several local functions and structures static to prevent global
visibility.
v6: fixed warning "line over 80 characters" as pointed out by
Sudip Mukherjee
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/c
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/stagin
Kroah-Hartman
v5: Because of using a non-updated tree previously two
patches did not apply
Adrian Remonda (5):
Staging: most: mostcore/core.c. Fix "missing static keyword" warnings
Staging: most: mostcore/core.c. Fix "Using plain integer as NULL
pointer"
This is a patch to the mostcore/core.c file. It makes
several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/st
This is a patch to the most/aim_cdev.c file. It makes several
local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-cdev/cdev.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-usb/hdm_usb.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a
This is a patch to the mostcore/core.c file. It makes
several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/st
This is a patch to the most/aim_cdev.c file. It makes several
local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-cdev/cdev.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/stagin
Kroah-Hartman
Adrian Remonda (6):
Staging: most: mostcore/core.c. Fix "missing static keyword" warnings
Staging: most: mostcore/core.c. Fix "Using plain integer as NULL
pointer" warnings
Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword"
warn
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-usb/hdm_usb.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-network/networking.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drive
This is a patch to the most/aim_cdev.c file. It makes several
local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-cdev/cdev.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-usb/hdm_usb.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/st
This patch series fix several warnings reported by the Sparse tool
v2: Fixed patch format and comments as noted by
Greg Kroah-Hartman and clear a few more warnings
v3: Fixed patch format as noted by Greg Kroah-Hartman
Adrian Remonda (6):
Staging: most: Fix
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/st
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-network/networking.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drive
This is a patch to the mostcore/core.c file. It makes
several local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions and structures static to prevent global
visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-usb/hdm_usb.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a
This is a patch to the most/aim_cdev.c file. It makes several
local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-cdev/cdev.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/st
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/st
This is a patch to the mostcore/core.c file. It makes
several local functions and structures static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers
This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the offending 0 with NULL.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/aim-network/networking.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drive
This patch series fix several warnings reported by the Sparse tool
Adrian Remonda (6):
Staging: most: static keyword missing
Staging: most: Fix sparse warning "Using plain integer as NULL
pointer"
Staging: most: static keyword missing
Staging: most: Fix sparse warning &q
This is a patch to the most/hdm-usb/hdm_usb.c file. It
makes several local functions static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-usb/hdm_usb.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging
This patch fix the using plain integer as NULL pointer
Signed-off-by: Adrian Remonda
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.c
b/drivers/staging/most/hdm-dim2/dim2_hal.c
index
This patch fix the using plain integer as NULL pointer
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/mostcore/core.c
b/drivers/staging/most/mostcore/core.c
index 8d1b68dbeaf8
This patch series fix several warnings reported by the Sparse tool
Adrian Remonda (4):
This is a patch to the mostcore/core.c file. It makes several local
functions static to prevent global visibility.
This patch fix the using plain integer as NULL pointer
This is a patch to the
This is a patch to the mostcore/core.c file. It makes
several local functions static to prevent global visibility.
Signed-off-by: Adrian Remonda
---
drivers/staging/most/mostcore/core.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/most
In the explanation of the function the name of the function was incorrect
Signed-off-by: Adrian Remonda
---
drivers/staging/lustre/lustre/ptlrpc/nrs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/ptlrpc/nrs.c
b/drivers/staging/lustre/lustre
Fixed sparse warning: context imbalance in 'nrs_resource_put_safe' -
'different lock contexts for basic block' by releasing the lock on each
iteration of the for loop.
Signed-off-by: Adrian Remonda
---
drivers/staging/lustre/lustre/ptlrpc/nrs.c | 6 ++
1 file changed
ivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h
Signed-off-by: Adrian Remonda
---
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c| 6 --
drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h | 7 +++
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/
taging/lustre/lustre/ptlrpc/ptlrpc_internal.h
Signed-off-by: Adrian Remonda
---
drivers/staging/lustre/lustre/ptlrpc/nrs.c | 4
drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h | 4
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lu
This patch remove a register from an '|' expression.
It is wrong since after in the code, the variable ai_trig gets
written back to that register.
modified: drivers/staging/comedi/drivers/ni_mio_common.c
Signed-off-by: Adrian Remonda
---
drivers/staging/come
Now it is possible to send string and hexadecimal data as an input
parameter
v2: Fixed coding style and removed unnecessary castings from malloc
Noted by Mark Brown
modified: Documentation/spi/spidev_test.c
Signed-off-by: Adrian Remonda
renamed:Documentation/spi/spidev_test.c -> tools/spi/spidev_test.c
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 318 ---
tools/spi/spidev_test.c | 318 +++
2 files changed,
F FF FF FF __ __ __ __ | ....
Adrian Remonda (4):
Cleaned hexadecimal dump
Added verbose output
Added input buffer from the terminal
Moved spidev_tool.c to tools/spi
Documentation/spi/spidev_test.c | 243 --
tools/spi/spidev_test.c
v2: Fixed coding style and removed unnecessary castings
As noted by Geert Uytterhoeven and Mark Brown
modified: Documentation/spi/spidev_test.c
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 35 +--
1 file changed
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/spi/spidev_test.c b/Documentation/spi/spidev_test.c
index 9cb09184a3d6..4b6a3803638b 100644
--- a/Documentation/spi/spidev_test.c
+++ b
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/Documentation/spi/spidev_test.c b/Documentation/spi/spidev_test.c
index 533050ced9f1..a247b3dbf65a 100644
--- a/Documentation/spi/spidev_test.c
input parameter:
Example that shows verbose mode and a sending sequence:
root@microZed:~# ./a.out -D /dev/spidev32766.1 -p "\x23ab1" -v
spi mode: 0x0
bits per word: 8
max speed: 50 Hz (500 KHz)
TX | 23 61 62 31 __ __ __ __ | #ab1
RX | FF FF FF FF __ __ __ __ | ....
Adri
Moved spidev_tool.c to tools/spi
renamed:Documentation/spi/spidev_test.c -> tools/spi/spidev_test.c
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 318 ---
tools/spi/spidev_test.c |
Now it is possible to send string and hexadecimal data as an input parameter
modified: Documentation/spi/spidev_test.c
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 76 ++-
1 file changed, 60 insertions(+), 16 deletions
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 35 +--
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/Documentation/spi/spidev_test.c b/Documentation/spi/spidev_test.c
index 3a2f9d59edab..533050ced9f1 100644
--- a
modified: Documentation/spi/spidev_test.c
Signed-off-by: Adrian Remonda
---
Documentation/spi/spidev_test.c | 118 +---
1 file changed, 98 insertions(+), 20 deletions(-)
diff --git a/Documentation/spi/spidev_test.c b/Documentation/spi/spidev_test.c
index 3a
modified: drivers/staging/lustre/lnet/selftest/console.c
modified: drivers/staging/lustre/lnet/selftest/console.h
modified: drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h
modified: drivers/staging/lustre/lnet/selftest/console.h
Signed-off-by: Adrian
Hello,
I'm cleaning the drivers/staging/lustre driver.
I have got the next warning from sparse:
drivers/staging/lustre/lnet/selftest//conctl.c:918:30: warning: incorrect type
in argument 1 (different address spaces)
drivers/staging/lustre/lnet/selftest//conctl.c:918:30:expected void
[nodere
s the allocation.
Suggested-by: Larry Finger
Signed-off-by: Adrian Remonda
---
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
b/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
This is a patch to the hal/rtl8188eu_recv.c file that fixes up a "line
over 80 characters" warning found by the checkpatch.pl tool.
Signed-off-by: Adrian Remonda
---
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 28 +-
1 file changed, 18 insertions(+), 10
This patch clear some code that was not doing any help.
Pointed out by Larry.Finger
Signed-off-by: Adrian Remonda
---
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
b
This is a patch to the hal/rtl8188eu_recv.c file that fixes up a "line
over 80 characters" warning found by the checkpatch.pl tool.
Signed-off-by: Adrian Remonda
---
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 28 +-
1 file changed, 18 insertions(+), 10
This is a patch to the hal/rtl8188eu_recv.c file that fixes up a "line
over 80 characters" warning found by the checkpatch.pl tool.
Signed-off-by: Adrian Remonda
---
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 28 +-
1 file changed, 18 insertions(+), 10
This is a patch to the rtl8188e_xmit.c file that fixes up a missing
blank line warning found by the checkpatch.pl tool.
Signed-off-by: Adrian Remonda
---
drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/rtl8188eu/hal
74 matches
Mail list logo