[PATCH] Staging: octeon-usb: Replaces CVMX_WAIT_FOR_FIELD32 macro with a function

2018-08-13 Thread Georgios Tsotsos
Replaces CVMX_WAIT_FOR_FIELD32 macro with equivalent function. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 56 + 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers

[PATCH] Staging: octeon-usb: Replaces CVMX_WAIT_FOR_FIELD32 macro with a function

2018-08-13 Thread Georgios Tsotsos
Replaces CVMX_WAIT_FOR_FIELD32 macro with equivalent function. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 56 + 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers

Re: [PATCH v5] Staging: octeon-usb: Using defined error codes and applying coding style.

2018-07-30 Thread Georgios Tsotsos
Yes reseeding in a better way seems logical, i even got lost with the patch series. I will return with more consistent series. On Mon, 30 Jul 2018 at 11:51, Greg Kroah-Hartman wrote: > > On Mon, Jul 30, 2018 at 01:29:36AM +0300, Georgios Tsotsos wrote: > > Replaced -1 with define

Re: [PATCH v5] Staging: octeon-usb: Using defined error codes and applying coding style.

2018-07-30 Thread Georgios Tsotsos
Yes reseeding in a better way seems logical, i even got lost with the patch series. I will return with more consistent series. On Mon, 30 Jul 2018 at 11:51, Greg Kroah-Hartman wrote: > > On Mon, Jul 30, 2018 at 01:29:36AM +0300, Georgios Tsotsos wrote: > > Replaced -1 with define

Re: [PATCH] Staging: octeon: Fixing coding style for minor notices.

2018-07-29 Thread Georgios Tsotsos
Thank you, i found a few case on this module i will try to fix them and send a new patch series. On Sun, 29 Jul 2018 at 20:33, Joe Perches wrote: > > On Sun, 2018-07-29 at 17:43 +0300, Georgios Tsotsos wrote: > > Fixing coding style for a few lines that were reported t

Re: [PATCH] Staging: octeon: Fixing coding style for minor notices.

2018-07-29 Thread Georgios Tsotsos
Thank you, i found a few case on this module i will try to fix them and send a new patch series. On Sun, 29 Jul 2018 at 20:33, Joe Perches wrote: > > On Sun, 2018-07-29 at 17:43 +0300, Georgios Tsotsos wrote: > > Fixing coding style for a few lines that were reported t

[PATCH v5] Staging: octeon-usb: Using defined error codes and applying coding style.

2018-07-29 Thread Georgios Tsotsos
Replaced -1 with defined error code EINVAL Signed-off-by: Georgios Tsotsos --- v2: Apply coding style to function cvmx_usb_poll_channel v3: Break down function cvmx_usb_poll_channel v4: Return defined error code and applying coding style for function calls v5: Fixing wrong patch applied before

[PATCH v5] Staging: octeon-usb: Using defined error codes and applying coding style.

2018-07-29 Thread Georgios Tsotsos
Replaced -1 with defined error code EINVAL Signed-off-by: Georgios Tsotsos --- v2: Apply coding style to function cvmx_usb_poll_channel v3: Break down function cvmx_usb_poll_channel v4: Return defined error code and applying coding style for function calls v5: Fixing wrong patch applied before

[PATCH v5] Staging: octeon-usb: Changes macro CVMX_WAIT_FOR_FIELD32 to function call

2018-07-29 Thread Georgios Tsotsos
Replacing CVMX_WAIT_FOR_FIELD32 macro with equivalent function, and used simpler approach for new function's parameters. Signed-off-by: Georgios Tsotsos --- v3: Changed CVMX_WAIT_FOR_FIELD32 macro to function according as refereed in commit message and suggested by Greg Kroah-Hartman v4: Added

[PATCH v5] Staging: octeon-usb: Changes macro CVMX_WAIT_FOR_FIELD32 to function call

2018-07-29 Thread Georgios Tsotsos
Replacing CVMX_WAIT_FOR_FIELD32 macro with equivalent function, and used simpler approach for new function's parameters. Signed-off-by: Georgios Tsotsos --- v3: Changed CVMX_WAIT_FOR_FIELD32 macro to function according as refereed in commit message and suggested by Greg Kroah-Hartman v4: Added

Re: [PATCH v4 1/1] Staging: octeon-usb: Using defined error codes and applying coding style

2018-07-29 Thread Georgios Tsotsos
Hi, Indeed there was a mix-up with patches i will send correction asap. On Sun, 29 Jul 2018 at 23:21, Aaro Koskinen wrote: > > Hi, > > On Sun, Jul 29, 2018 at 05:33:38PM +0300, Georgios Tsotsos wrote: > > diff --git a/drivers/staging/octeon-usb/octeon-hcd.c > > b/dr

Re: [PATCH v4 1/1] Staging: octeon-usb: Using defined error codes and applying coding style

2018-07-29 Thread Georgios Tsotsos
Hi, Indeed there was a mix-up with patches i will send correction asap. On Sun, 29 Jul 2018 at 23:21, Aaro Koskinen wrote: > > Hi, > > On Sun, Jul 29, 2018 at 05:33:38PM +0300, Georgios Tsotsos wrote: > > diff --git a/drivers/staging/octeon-usb/octeon-hcd.c > > b/dr

Re: [PATCH] Staging: octeon: Fixing coding style for minor notices.

2018-07-29 Thread Georgios Tsotsos
Please ignore this patch i will send series which will fix more coding style and other issues On Sun, 29 Jul 2018 at 17:44, Georgios Tsotsos wrote: > Fixing coding style for a few lines that were reported to check from > checkpatch.pl in minor cases for alignment and ending with paren

Re: [PATCH] Staging: octeon: Fixing coding style for minor notices.

2018-07-29 Thread Georgios Tsotsos
Please ignore this patch i will send series which will fix more coding style and other issues On Sun, 29 Jul 2018 at 17:44, Georgios Tsotsos wrote: > Fixing coding style for a few lines that were reported to check from > checkpatch.pl in minor cases for alignment and ending with paren

Re: [PATCH v3 1/1] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-29 Thread Georgios Tsotsos
is ok. (I hope with less versions :)) On Sun, 29 Jul 2018 at 15:43, Greg Kroah-Hartman wrote: > > On Sun, Jul 29, 2018 at 02:41:53PM +0300, Georgios Tsotsos wrote: > > In order to make this function more clear a new function created that > > controls > > channels halt on no

Re: [PATCH v3 1/1] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-29 Thread Georgios Tsotsos
is ok. (I hope with less versions :)) On Sun, 29 Jul 2018 at 15:43, Greg Kroah-Hartman wrote: > > On Sun, Jul 29, 2018 at 02:41:53PM +0300, Georgios Tsotsos wrote: > > In order to make this function more clear a new function created that > > controls > > channels halt on no

[PATCH] Staging: octeon: Fixing coding style for minor notices.

2018-07-29 Thread Georgios Tsotsos
Fixing coding style for a few lines that were reported to check from checkpatch.pl in minor cases for alignment and ending with parenthesis. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon/ethernet.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH] Staging: octeon: Fixing coding style for minor notices.

2018-07-29 Thread Georgios Tsotsos
Fixing coding style for a few lines that were reported to check from checkpatch.pl in minor cases for alignment and ending with parenthesis. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon/ethernet.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v4 1/1] Staging: octeon-usb: Using defined error codes and applying coding style

2018-07-29 Thread Georgios Tsotsos
Replaced -1 with defined error code EINVAL Signed-off-by: Georgios Tsotsos --- v2: Apply coding style to function cvmx_usb_poll_channel v3: Break down function cvmx_usb_poll_channel v4: Return defined error code and applying coding style for function calls drivers/staging/octeon-usb/octeon

[PATCH v4 1/1] Staging: octeon-usb: Using defined error codes and applying coding style

2018-07-29 Thread Georgios Tsotsos
Replaced -1 with defined error code EINVAL Signed-off-by: Georgios Tsotsos --- v2: Apply coding style to function cvmx_usb_poll_channel v3: Break down function cvmx_usb_poll_channel v4: Return defined error code and applying coding style for function calls drivers/staging/octeon-usb/octeon

[PATCH v4 2/2] Staging: octeon-usb: Changes macro CVMX_WAIT_FOR_FIELD32 to function call.

2018-07-29 Thread Georgios Tsotsos
Replacing CVMX_WAIT_FOR_FIELD32 macro with equivalent function. Signed-off-by: Georgios Tsotsos --- v2: Changed CVMX_WAIT_FOR_FIELD32 syntax to avoid checkpatch check notice and tried to make the macro more readable. v3: Changed CVMX_WAIT_FOR_FIELD32 macro to function according as refereed

[PATCH v4 1/2] Staging: octeon-usb: Change multiple calling of CVMX_USBCX_GRSTCTL

2018-07-29 Thread Georgios Tsotsos
Assign to variable the result of CVMX_USBCX_GRSTCTL instead of multiple calling a macro. Signed-off-by: Georgios Tsotsos --- v2: It wasn't exist in this or earlier versions of patch series v3: It seems a logical to avoid multiple calls of CVMX_USBCX_GRSTCTL that will also help cleaning up calls

[PATCH v4 2/2] Staging: octeon-usb: Changes macro CVMX_WAIT_FOR_FIELD32 to function call.

2018-07-29 Thread Georgios Tsotsos
Replacing CVMX_WAIT_FOR_FIELD32 macro with equivalent function. Signed-off-by: Georgios Tsotsos --- v2: Changed CVMX_WAIT_FOR_FIELD32 syntax to avoid checkpatch check notice and tried to make the macro more readable. v3: Changed CVMX_WAIT_FOR_FIELD32 macro to function according as refereed

[PATCH v4 1/2] Staging: octeon-usb: Change multiple calling of CVMX_USBCX_GRSTCTL

2018-07-29 Thread Georgios Tsotsos
Assign to variable the result of CVMX_USBCX_GRSTCTL instead of multiple calling a macro. Signed-off-by: Georgios Tsotsos --- v2: It wasn't exist in this or earlier versions of patch series v3: It seems a logical to avoid multiple calls of CVMX_USBCX_GRSTCTL that will also help cleaning up calls

[PATCH v3 0/1] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel()

2018-07-29 Thread Georgios Tsotsos
Changed the function in order to use only values instead passing unions i think its better than passing pointers there. Georgios Tsotsos (1): Staging: octeon-usb: Breaks down cvmx_usb_poll_channel(). drivers/staging/octeon-usb/octeon-hcd.c | 81 + 1 file

[PATCH v3 1/1] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-29 Thread Georgios Tsotsos
In order to make this function more clear a new function created that controls channels halt on no DMA mode. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 81 + 1 file changed, 53 insertions(+), 28 deletions(-) diff --git

[PATCH v3 0/1] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel()

2018-07-29 Thread Georgios Tsotsos
Changed the function in order to use only values instead passing unions i think its better than passing pointers there. Georgios Tsotsos (1): Staging: octeon-usb: Breaks down cvmx_usb_poll_channel(). drivers/staging/octeon-usb/octeon-hcd.c | 81 + 1 file

[PATCH v3 1/1] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-29 Thread Georgios Tsotsos
In order to make this function more clear a new function created that controls channels halt on no DMA mode. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 81 + 1 file changed, 53 insertions(+), 28 deletions(-) diff --git

[PATCH v3 2/2] Staging: octeon-usb: Changes macro CVMX_WAIT_FOR_FIELD32 to function call.

2018-07-29 Thread Georgios Tsotsos
Replacing CVMX_WAIT_FOR_FIELD32 macro with equivalent function. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 65 +++-- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers

[PATCH v3 2/2] Staging: octeon-usb: Changes macro CVMX_WAIT_FOR_FIELD32 to function call.

2018-07-29 Thread Georgios Tsotsos
Replacing CVMX_WAIT_FOR_FIELD32 macro with equivalent function. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 65 +++-- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers

[PATCH v3 1/2] Staging: octeon-usb: Change multiple calling of CVMX_USBCX_GRSTCTL

2018-07-29 Thread Georgios Tsotsos
Assign to variable the result of CVMX_USBCX_GRSTCTL instead of multiple calling a macro. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH v3 0/2] Staging: octeon-usb: Changed CVMX_WAIT_FOR_FIELD32 macro

2018-07-29 Thread Georgios Tsotsos
Replying to previous message, i changed CVMX_WAIT_FOR_FIELD32 macro to function and altered a multiple calling of CVMX_USBCX_GRSTCTL call to single call and stored to variable. Georgios Tsotsos (2): Staging: octeon-usb: Change multiple calling of CVMX_USBCX_GRSTCTL Staging: octeon-usb

[PATCH v3 0/2] Staging: octeon-usb: Changed CVMX_WAIT_FOR_FIELD32 macro

2018-07-29 Thread Georgios Tsotsos
Replying to previous message, i changed CVMX_WAIT_FOR_FIELD32 macro to function and altered a multiple calling of CVMX_USBCX_GRSTCTL call to single call and stored to variable. Georgios Tsotsos (2): Staging: octeon-usb: Change multiple calling of CVMX_USBCX_GRSTCTL Staging: octeon-usb

[PATCH v3 1/2] Staging: octeon-usb: Change multiple calling of CVMX_USBCX_GRSTCTL

2018-07-29 Thread Georgios Tsotsos
Assign to variable the result of CVMX_USBCX_GRSTCTL instead of multiple calling a macro. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c

Re: [PATCH v2 2/3] Staging: octeon-usb: Change coding style of CVMX_WAIT_FOR_FIELD32 marco.

2018-07-28 Thread Georgios Tsotsos
I will change it into function, as i checked so far i will need to change USB_SET_FIELD32 for the same reason. On Fri, 27 Jul 2018 at 18:15, Greg Kroah-Hartman wrote: > > On Thu, Jul 26, 2018 at 06:41:52PM +0300, Georgios Tsotsos wrote: > > Fixing coding style for CVMX_WAIT

Re: [PATCH v2 2/3] Staging: octeon-usb: Change coding style of CVMX_WAIT_FOR_FIELD32 marco.

2018-07-28 Thread Georgios Tsotsos
I will change it into function, as i checked so far i will need to change USB_SET_FIELD32 for the same reason. On Fri, 27 Jul 2018 at 18:15, Greg Kroah-Hartman wrote: > > On Thu, Jul 26, 2018 at 06:41:52PM +0300, Georgios Tsotsos wrote: > > Fixing coding style for CVMX_WAIT

Re: [PATCH v2 3/3] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-26 Thread Georgios Tsotsos
Indeed i should probably either use pointer or pass the values, i will do some more testing and update this. Thanks On Thu, 26 Jul 2018 at 19:31, Joe Perches wrote: > > On Thu, 2018-07-26 at 18:41 +0300, Georgios Tsotsos wrote: > > In order to make this function more clear a new func

Re: [PATCH v2 3/3] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-26 Thread Georgios Tsotsos
Indeed i should probably either use pointer or pass the values, i will do some more testing and update this. Thanks On Thu, 26 Jul 2018 at 19:31, Joe Perches wrote: > > On Thu, 2018-07-26 at 18:41 +0300, Georgios Tsotsos wrote: > > In order to make this function more clear a new func

[PATCH v2 0/3] Staging: octeon-usb fixes for coding style, SPDX and readability.

2018-07-26 Thread Georgios Tsotsos
and keeping it under 80 columns. Georgios Tsotsos (3): Staging: octeon-usb: Adding SPDX license identifier Staging: octeon-usb: Change coding style of CVMX_WAIT_FOR_FIELD32 marco. Staging: octeon-usb: Breaks down cvmx_usb_poll_channel(). drivers/staging/octeon-usb/Makefile | 1

[PATCH v2 0/3] Staging: octeon-usb fixes for coding style, SPDX and readability.

2018-07-26 Thread Georgios Tsotsos
and keeping it under 80 columns. Georgios Tsotsos (3): Staging: octeon-usb: Adding SPDX license identifier Staging: octeon-usb: Change coding style of CVMX_WAIT_FOR_FIELD32 marco. Staging: octeon-usb: Breaks down cvmx_usb_poll_channel(). drivers/staging/octeon-usb/Makefile | 1

[PATCH 2/3] Staging: octeon-usb: Change coding style of CVMX_WAIT_FOR_FIELD32 marco.

2018-07-26 Thread Georgios Tsotsos
Fixing coding style for CVMX_WAIT_FOR_FIELD32 was confusing. Also encapsulates into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git

[PATCH 1/3] Staging: octeon-usb: Adding SPDX license identifier

2018-07-26 Thread Georgios Tsotsos
Adding appropriate SPDX-License-Identifier (GPL-2) that were missing from code, header and make files. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/Makefile | 1 + drivers/staging/octeon-usb/octeon-hcd.c | 1 + drivers/staging/octeon-usb/octeon-hcd.h | 1 + 3 files changed

[PATCH 2/3] Staging: octeon-usb: Change coding style of CVMX_WAIT_FOR_FIELD32 marco.

2018-07-26 Thread Georgios Tsotsos
Fixing coding style for CVMX_WAIT_FOR_FIELD32 was confusing. Also encapsulates into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git

[PATCH 1/3] Staging: octeon-usb: Adding SPDX license identifier

2018-07-26 Thread Georgios Tsotsos
Adding appropriate SPDX-License-Identifier (GPL-2) that were missing from code, header and make files. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/Makefile | 1 + drivers/staging/octeon-usb/octeon-hcd.c | 1 + drivers/staging/octeon-usb/octeon-hcd.h | 1 + 3 files changed

[PATCH 3/3] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-26 Thread Georgios Tsotsos
In order to make this function more clear a new function created that controls channels halt on no DMA mode. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 83 + 1 file changed, 54 insertions(+), 29 deletions(-) diff --git

[PATCH 3/3] Staging: octeon-usb: Breaks down cvmx_usb_poll_channel().

2018-07-26 Thread Georgios Tsotsos
In order to make this function more clear a new function created that controls channels halt on no DMA mode. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 83 + 1 file changed, 54 insertions(+), 29 deletions(-) diff --git

[PATCH 0/4] Staging: octeon-usb: Fixes and Coding style applied.

2018-07-24 Thread Georgios Tsotsos
CVMX_WAIT_FOR_FIELD32 macro. It could improve readability and maintenance of this module if function cvmx_usb_poll_channel() break down (and probably some others too) Georgios Tsotsos (4): Staging: octeon-usb: Adds SPDX License Identifier Staging: octeon-usb: Applying coding style for column width

[PATCH 0/4] Staging: octeon-usb: Fixes and Coding style applied.

2018-07-24 Thread Georgios Tsotsos
CVMX_WAIT_FOR_FIELD32 macro. It could improve readability and maintenance of this module if function cvmx_usb_poll_channel() break down (and probably some others too) Georgios Tsotsos (4): Staging: octeon-usb: Adds SPDX License Identifier Staging: octeon-usb: Applying coding style for column width

[PATCH 3/4] Staging: octeon-usb: Change coding style for CVMX_WAIT_FOR_FIELD32 marco.

2018-07-24 Thread Georgios Tsotsos
Changes coding style and encapsulate into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b

[PATCH 1/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index cded30f145aa..cff5e790b196 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH 3/4] Staging: octeon-usb: Change coding style for CVMX_WAIT_FOR_FIELD32 marco.

2018-07-24 Thread Georgios Tsotsos
Changes coding style and encapsulate into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b

[PATCH 1/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index cded30f145aa..cff5e790b196 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier for header file

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 2/4] Staging: octeon-usb: Applying coding style for column width.

2018-07-24 Thread Georgios Tsotsos
This patch resolves the warnings as its refereed to TODO list. There are also a code style issues that could be resolved via breaking down cvmx_usb_poll_channel(). Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 10 ++ 1 file changed, 6 insertions(+), 4

[PATCH 2/4] Staging: octeon-usb: Applying coding style for column width.

2018-07-24 Thread Georgios Tsotsos
This patch resolves the warnings as its refereed to TODO list. There are also a code style issues that could be resolved via breaking down cvmx_usb_poll_channel(). Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 10 ++ 1 file changed, 6 insertions(+), 4

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier for header file

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 3/4] Staging: octeon-usb: Change coding style for CVMX_WAIT_FOR_FIELD32 marco.

2018-07-24 Thread Georgios Tsotsos
Changes coding style and encapsulate into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b

[PATCH 3/4] Staging: octeon-usb: Change coding style for CVMX_WAIT_FOR_FIELD32 marco.

2018-07-24 Thread Georgios Tsotsos
Changes coding style and encapsulate into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier for header file

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier for header file

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 1/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index cded30f145aa..cff5e790b196 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 2/4] Staging: octeon-usb: Applying coding style for column width.

2018-07-24 Thread Georgios Tsotsos
This patch resolves the warnings as its refereed to TODO list. There are also a code style issues that could be resolved via breaking down cvmx_usb_poll_channel(). Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 10 ++ 1 file changed, 6 insertions(+), 4

[PATCH 1/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index cded30f145aa..cff5e790b196 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 2/4] Staging: octeon-usb: Applying coding style for column width.

2018-07-24 Thread Georgios Tsotsos
This patch resolves the warnings as its refereed to TODO list. There are also a code style issues that could be resolved via breaking down cvmx_usb_poll_channel(). Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 10 ++ 1 file changed, 6 insertions(+), 4

[no subject]

2018-07-24 Thread Georgios Tsotsos
are resolved,also a notice about CVMX_WAIT_FOR_FIELD32 macro. It could improve readability and maintenance of this module if function cvmx_usb_poll_channel() break down (and probably some others too) Georgios Tsotsos (4): Staging: octeon-usb: Adds SPDX License Identifier Staging: octeon-usb

[no subject]

2018-07-24 Thread Georgios Tsotsos
are resolved,also a notice about CVMX_WAIT_FOR_FIELD32 macro. It could improve readability and maintenance of this module if function cvmx_usb_poll_channel() break down (and probably some others too) Georgios Tsotsos (4): Staging: octeon-usb: Adds SPDX License Identifier Staging: octeon-usb

[PATCH] Staging: octeon: Apply Licence and resolves warnings according to TODO list. There are also a few "checks" that probably should revised but i think most of them could be resolved by breaking d

2018-07-23 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 55 ++--- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon

[PATCH] Staging: octeon: Apply Licence and resolves warnings according to TODO list. There are also a few "checks" that probably should revised but i think most of them could be resolved by breaking d

2018-07-23 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 55 ++--- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon