[PATCHv7 1/5] Staging: most: mostcore/core.c. Fix "missing static keyword" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv7 2/5] Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv7 4/5] Staging: most: hdm-dim2/dim2_hal.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv7 5/5] Staging: most: aim-cdev/cdev.c. Fix "missing static keyword" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv7 0/5] Staging: most: several warnings fix reported by sparse

2015-08-14 Thread Adrian Remonda
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

[PATCHv7 3/5] Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv6 4/5] Staging: most: hdm-dim2/dim2_hal.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv6 2/5] Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv6 1/5] Staging: most: mostcore/core.c. Fix "missing static keyword" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv6 3/5] Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv6 0/5] Staging: most: several warnings fix reported by sparse

2015-08-14 Thread Adrian Remonda
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

[PATCHv6 5/5] Staging: most: aim-cdev/cdev.c. Fix "missing static keyword" warnings

2015-08-14 Thread Adrian Remonda
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

[PATCHv6 2/5] Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-06 Thread Adrian Remonda
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

[PATCHv6 3/5] Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword" warnings

2015-08-06 Thread Adrian Remonda
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

[PATCHv6 4/5] Staging: most: hdm-dim2/dim2_hal.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-06 Thread Adrian Remonda
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

[PATCHv6 5/5] Staging: most: aim-cdev/cdev.c. Fix "missing static keyword" warnings

2015-08-06 Thread Adrian Remonda
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

[PATCHv6 0/5] Staging: most: several warnings fix reported by sparse

2015-08-06 Thread Adrian Remonda
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

[PATCHv6 1/5] Staging: most: mostcore/core.c. Fix "missing static keyword" warnings

2015-08-06 Thread Adrian Remonda
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

[PATCHv5 4/5] Staging: most: hdm-dim2/dim2_hal.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-04 Thread Adrian Remonda
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

[PATCHv5 0/5] Staging: most: several warnings fix reported by sparse

2015-08-04 Thread Adrian Remonda
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"

[PATCHv5 1/5] Staging: most: mostcore/core.c. Fix "missing static keyword" warnings

2015-08-04 Thread Adrian Remonda
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

[PATCHv5 2/5] Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-04 Thread Adrian Remonda
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

[PATCHv5 5/5] Staging: most: aim-cdev/cdev.c. Fix "missing static keyword" warnings

2015-08-04 Thread Adrian Remonda
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

[PATCHv5 3/5] Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword" warnings

2015-08-04 Thread Adrian Remonda
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

[PATCHv4 1/6] Staging: most: mostcore/core.c. Fix "missing static keyword" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv4 2/6] Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv4 5/6] Staging: most: aim-cdev/cdev.c. Fix "missing static keyword" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv4 4/6] Staging: most: hdm-dim2/dim2_hal.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv4 0/6] Staging: most: several warnings fix reported by sparse

2015-08-03 Thread Adrian Remonda
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

[PATCHv4 3/6] Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv4 6/6] Staging: most: aim-network/networking.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv3 5/6] Staging: most: Fix "missing static keyword" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv3 3/6] Staging: most: Fix "missing static keyword" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv3 2/6] Staging: most: Fix "Using plain integer as NULL pointer" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv3 0/6] Staging: most: several warnings fix reported by sparse

2015-08-03 Thread Adrian Remonda
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

[PATCHv3 4/6] Staging: most: Fix "Using plain integer as NULL pointer" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv3 6/6] Staging: most: Fix "Using plain integer as NULL pointer" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv3 1/6] Staging: most: Fix "missing static keyword" warnings

2015-08-03 Thread Adrian Remonda
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

[PATCHv2 3/6] Staging: most: static keyword missing

2015-08-02 Thread Adrian Remonda
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

[PATCHv2 5/6] Staging: most: static keyword missing

2015-08-02 Thread Adrian Remonda
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

[PATCHv2 4/6] Staging: most: Fix sparse warning "Using plain integer as NULL pointer"

2015-08-02 Thread Adrian Remonda
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

[PATCHv2 2/6] Staging: most: Fix sparse warning "Using plain integer as NULL pointer"

2015-08-02 Thread Adrian Remonda
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

[PATCHv2 1/6] Staging: most: static keyword missing

2015-08-02 Thread Adrian Remonda
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

[PATCHv2 6/6] Staging: most: Fix sparse warning "Using plain integer as NULL pointer"

2015-08-02 Thread Adrian Remonda
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

[PATCHv2 0/6] Staging: most: several warnings fix reported by sparse

2015-08-02 Thread Adrian Remonda
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

[PATCH 3/4] Staging: most: static keyword missing

2015-08-02 Thread Adrian Remonda
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

[PATCH 4/4] Plain integer instead of NULL pointer fix

2015-08-02 Thread Adrian Remonda
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

[PATCH 2/4] Plain integer instead of NULL pointer fix

2015-08-02 Thread Adrian Remonda
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

[PATCH 0/4] Staging: most: several warnings fix reported by sparse

2015-08-02 Thread Adrian Remonda
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

[PATCH 1/4] Staging: most: static keyword missing

2015-08-02 Thread Adrian Remonda
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

[PATCH 3/4] Staging: lustre: Fixed typo

2015-05-18 Thread Adrian Remonda
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

[PATCH 4/4] Staging: lustre: sparse lock warning fix

2015-05-18 Thread Adrian Remonda
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

[PATCH 2/4] Staging: lustre: sparse static warning fix

2015-05-18 Thread Adrian Remonda
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/

[PATCH 1/4] Staging: lustre: sparse static warning fix

2015-05-18 Thread Adrian Remonda
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

[PATCH] Staging: comedi: Removed expression that has no effect

2015-05-12 Thread Adrian Remonda
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

[PATCHv2 3/4] Added input buffer from the terminal

2015-03-10 Thread Adrian Remonda
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

[PATCHv2 4/4] Moved spidev_tool.c to tools/spi

2015-03-10 Thread 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,

[PATCHv2 0/4] spi: spidev_test: Added functionalities

2015-03-10 Thread Adrian Remonda
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

[PATCHv2 1/4] Cleaned hexadecimal dump

2015-03-10 Thread Adrian Remonda
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

[PATCHv2 2/4] Added verbose output

2015-03-10 Thread Adrian Remonda
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

[PATCH 2/4] Added verbose output

2015-03-07 Thread Adrian Remonda
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

[PATCH 0/4] spi: spidev_test: Added functionalities

2015-03-07 Thread Adrian Remonda
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

[PATCH 4/4] Moved spidev_tools.c to tools/spi

2015-03-07 Thread Adrian Remonda
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 |

[PATCH 3/4] Added input buffer from the terminal.

2015-03-07 Thread Adrian Remonda
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

[PATCH 1/4] Cleaned hexadecimal dump

2015-03-07 Thread Adrian Remonda
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

[PATCH] spi: spidev_test: Added functionalities

2015-02-25 Thread Adrian Remonda
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

[PATCH] Staging: lustre: Added missing __user keyword to several struct fields

2015-02-09 Thread Adrian Remonda
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

Question regarding sparse warning in staging/lustre

2015-02-08 Thread Adrian Remonda
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

[PATCHv3 2/2] Staging: rtl8188eu: Removed unneeded code.

2014-08-10 Thread Adrian Remonda
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

[PATCHv3 1/2] Staging: rtl8188eu: Lines over 80 characters fixed.

2014-08-10 Thread Adrian Remonda
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

[PATCHv2 2/2] Staging: rtl8188eu: Removed unnecessarry code.

2014-08-07 Thread Adrian Remonda
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

[PATCHv2 1/2] Staging: rtl8188eu: Lines over 80 characters fixed.

2014-08-07 Thread Adrian Remonda
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

[PATCH] Staging: rtl8188eu: Lines over 80 characters fixed.

2014-08-04 Thread Adrian Remonda
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

[PATCH] Staging: rtl8188eu: Missing a blank line after declarations.

2014-08-04 Thread Adrian Remonda
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