Clean up the code in rtsx_reset_chip function defining two new helper
functions rtsx_reset_aspm and rtsx_enable_pcie_intr.
Specifically, the following checkpatch warnings are corrected:
* PARENTHESIS_ALIGNMENT at rows 271, 302, 343 and 346
* LONG_LINE at rows 294, 313 and 315
* BRACES at rowa 320
Define the helper function rtsx_reset_aspm to shorten the
rtsx_reset_chip code and get rid of the LONG_LINE checkpatch warnings.
Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com
---
drivers/staging/rts5208/rtsx_chip.c | 72 -
1 file changed, 39
Define the helper function rtsx_enable_pcie_intr to shorten the
rtsx_reset_chip code and get rid of the LONG_LINE checkpatch warnings.
Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com
---
drivers/staging/rts5208/rtsx_chip.c | 96 ++---
1 file changed, 48
On 2014.10.19 12:55, Fabio Falzoi wrote:
Clean up the code in rtsx_reset_chip function defining two new helper
functions rtsx_reset_aspm and rtsx_enable_pcie_intr.
Specifically, the following checkpatch warnings are corrected:
* PARENTHESIS_ALIGNMENT at rows 271, 302, 343 and 346
* LONG_LINE
Remove code style error form ft1000/ft1000-pcmcia/ft1000_hw.c:
ERROR: foo * bar should be foo *bar
Signed-off-by: Chen Weixiang weixiang.c...@gmail.com
---
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Remove code style error from ft1000/ft1000-usb/ft1000_debug.c:
ERROR: (foo*) should be (foo *)
Signed-off-by: Chen Weixiang weixiang.c...@gmail.com
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Remove following checkpatch.pl error from ft1000/ft1000-usb/ft1000_debug.c
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Chen Weixiang weixiang.c...@gmail.com
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Remove code style error from ft1000/ft1000-pcmcia/ft1000_hw.c:
ERROR: space prohibited after that open parenthesis '('
ERROR: space prohibited before that close parenthesis ')'
ERROR: space prohibited after that '' (ctx:WxW)
Signed-off-by: Chen Weixiang weixiang.c...@gmail.com
---
Remove code style error from ft1000/ft1000-usb/ft1000_debug.c:
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Chen Weixiang weixiang.c...@gmail.com
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff
Remove code style error from ft1000/ft1000-pcmcia/ft1000_hw.c:
ERROR: else should follow close brace '}'
Signed-off-by: Chen Weixiang weixiang.c...@gmail.com
---
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git
This patches remove following code style errors from drivers/staging/ft1000:
ERROR: do not initialise statics to 0 or NULL
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: spaces required around that '' (ctx:VxV)
ERROR: spaces required around that '==' (ctx:VxV)
ERROR: space required after
Remove code style errors from ft1000/ft1000-usb/ft1000_debug.c
and ft1000/ft1000-pcmcia/ft1000_hw.c:
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: spaces required around that '' (ctx:VxV)
ERROR: spaces required around that '==' (ctx:VxV)
Signed-off-by: Chen Weixiang
On 10/19, Chen Weixiang wrote:
Remove code style error from ft1000/ft1000-usb/ft1000_debug.c:
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Chen Weixiang weixiang.c...@gmail.com
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 18 +-
1 file changed, 9
On Sun, Oct 19, 2014 at 02:37:28AM +0530, Devendra Naga wrote:
The error_handling for class_create, device_create are taken care
by the respective goto statements. The failure code from class_create and
device_create are assigned to the variable rc to return a proper value.
Also removed the
Replaced EXTRA_CFLAGS which is deprecated with ccflags-y
Signed-off-by: Abel Moyo abelmoyo...@gmail.com
---
drivers/staging/dgnc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/Makefile b/drivers/staging/dgnc/Makefile
index b69f7b6..d70323e
On Sun, Oct 19, 2014 at 06:28:16PM +0200, Abel Moyo wrote:
Replaced EXTRA_CFLAGS which is deprecated with ccflags-y
Signed-off-by: Abel Moyo abelmoyo...@gmail.com
---
drivers/staging/dgnc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Clean up the code in rtsx_reset_chip function defining two new helper
functions rtsx_reset_aspm and rtsx_enable_pcie_intr.
Specifically, the following checkpatch warnings are corrected:
* PARENTHESIS_ALIGNMENT at rows 271, 302, 343 and 346
* LONG_LINE at rows 294, 313 and 315
* BRACES at rowa 320
Define the helper function rtsx_reset_aspm to shorten the
rtsx_reset_chip code and get rid of the LONG_LINE checkpatch warnings.
Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com
---
drivers/staging/rts5208/rtsx_chip.c | 70 +
1 file changed, 39
Define the helper function rtsx_enable_pcie_intr to shorten the
rtsx_reset_chip code and get rid of the LONG_LINE checkpatch warnings.
Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com
---
drivers/staging/rts5208/rtsx_chip.c | 95 +++--
1 file changed, 48
On Sat, Oct 18, 2014 at 10:36:30PM +0100, One Thousand Gnomes wrote:
Do we really need someone to do more work that has been done on it in
the past as an official maintainer? I'll be glad to do it, as I doubt
it will require any time at all.
Well every time in the past that Al Viro
On Fri, Oct 17, 2014 at 02:43:29AM -0700, Christoph Hellwig wrote:
On Thu, Oct 16, 2014 at 02:47:41PM +0200, Greg Kroah-Hartman wrote:
From: Greg Kroah-Hartman gre...@linuxfoundation.org
The Android binder code has been stable for many years now. No matter
what comes in the future, we
On Fri, Oct 17, 2014 at 12:26:01PM +0300, Dan Carpenter wrote:
The code isn't very beautiful and there are lots of details wrong like
the error codes.
Really, what is wrong with the existing error code usages?
Al had some critical things to say about it but it looks like most of
those issues
On Sun, Oct 12, 2014 at 10:09:04AM +0200, Jes Sorensen wrote:
Greg KH gre...@linuxfoundation.org writes:
On Fri, Oct 10, 2014 at 09:41:23PM +0200, jes.soren...@redhat.com wrote:
From: Jes Sorensen jes.soren...@redhat.com
Hi,
Please find attached a couple of fixes and cleanups for
23 matches
Mail list logo