This patch fixes below errors reported by checkpath
ERROR: Macros with complex values should be enclosed in parentheses
CHECK: Prefer using the BIT macro
ERROR: trailing statements should be on next line
ERROR: trailing statements should be on next line
Signed-off-by: Vandana BN
---
v2 - split
This patch resolves warnings to use __func__ insted of funtion name.
WARNING: Prefer using '"%s...", __func__' to using 'setup_dma_engine', this
function's name, in a string
Signed-off-by: Vandana BN
---
v2 - split changes to multiple patches
v3 - edit com
This Patch resolves unnecessary cast warning and const file_operations
reported by checkpath.pl
WARNING: unnecessary cast may hide bugs
WARNING: struct file_operations should normally be const
Signed-off-by: Vandana BN
---
v2 - split changes to multiple patches
v3 - edit commit message, subject
ff-by: Vandana BN
---
v2 - split changes to multiple patches
v3 - edit commit message, subject line
v4 - edit commit message
drivers/staging/kpc2000/kpc_dma/dma.c| 8 +---
drivers/staging/kpc2000/kpc_dma/fileops.c| 11 ++-
drivers/staging/kpc2000/kpc_dma/kpc_dma_dri
This patch resolves below errors reported by checkpath
ERROR: space required before the open brace '{'
ERROR: space prohibited after that '!' (ctx:BxW)
ERROR: space prohibited after that open parenthesis '('
Signed-off-by: Vandana BN
---
v2 - split changes to mul
This patch fixes code indentaion error reported by checkpath
ERROR: switch and case should be at the same indent
ERROR: trailing statements should be on next line
Signed-off-by: Vandana BN
---
v2 - split changes to multiple patches
v3 - edit commit message, subject line
v4 - edit commit message
Resolve trailing whitespace error from checkpatch.pl
ERROR: trailing whitespace
Signed-off-by: Vandana BN
---
v2 - split changes to multiple patches
v3 - edit commit message, subject line
v4 - edit commit message
drivers/staging/kpc2000/kpc_dma/dma.c | 86 ++---
drivers
This patch resolves below errors reported by checkpatch
ERROR: "(foo*)" should be "(foo *)"
ERROR: "foo * bar" should be "foo *bar"
ERROR: "foo __init bar" should be "foo __init bar"
ERROR: "foo __exit bar" should be "foo
oh ok.. thanks i will correct it.
On 13/05/19 4:19 PM, Dan Carpenter wrote:
> The Signed off by has to be before the first --- cut off line.
> Everything after the cut off is removed from the commit message.
___
devel mailing list
de...@linuxdriverprojec
On 13/05/19 2:12 PM, Greg KH wrote:
> On Mon, May 13, 2019 at 05:09:54AM +0530, Vandana BN wrote:
>> This patch resolves below errors reported by checkpatch
>> ERROR: "(foo*)" should be "(foo *)"
>> ERROR: "foo * bar" should be "foo *ba
This Patch resolves unnecessary cast warning and const file_operations
reported by checkpath.pl
WARNING: unnecessary cast may hide bugs
WARNING: struct file_operations should normally be const
---
v2 - split changes to multiple patches
v3 - edit commit message
---
Signed-off-by: Vandana BN
This patch fixes code indentaion error reported by checkpath
ERROR: switch and case should be at the same indent
ERROR: trailing statements should be on next line
---
v2 - split changes to multiple patches
v3 - edit commit message
---
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000
mit message
---
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/dma.c | 28 +-
drivers/staging/kpc2000/kpc_dma/fileops.c | 56 +--
.../staging/kpc2000/kpc_dma/kpc_dma_driver.c | 20 +++
3 files changed, 52 insertions(+), 52 deletions(-)
diff -
This patch resolves warnings to use __func__ insted of funtion name.
WARNING: Prefer using '"%s...", __func__' to using 'setup_dma_engine', this
function's name, in a string
---
v2 - split changes to multiple patches
v3 - edit commit message
---
Signed-off-b
foo __exit bar"
---
v2 - split changes to multiple patches
v3 - edit commit message
---
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/dma.c| 8
drivers/staging/kpc2000/kpc_dma/fileops.c| 2 +-
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c |
split changes to multiple patches
v3 - edit commit message
---
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/dma.c| 8 +---
drivers/staging/kpc2000/kpc_dma/fileops.c| 11 ++-
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c | 15 ---
dr
v3 - edit commit message
---
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
index
Resolve trailing whitespace error from checkpatch.pl
ERROR: trailing whitespace
---
v2-split changes to multiple patches
v3 - edit commit message
---
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/dma.c | 86 ++---
drivers/staging/kpc2000/kpc_dma/fileops.c
Resolve trailing whitespace error from checkpatch.pl
ERROR: trailing whitespace
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/dma.c | 86 ++---
drivers/staging/kpc2000/kpc_dma/fileops.c | 114 +-
.../staging/kpc2000/kpc_dma/kpc_dma_driver.c
This patch resolves warnings to use __func__ insted of funtion name.
WARNING: Prefer using '"%s...", __func__' to using 'setup_dma_engine', this
function's name, in a string
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/dma.c | 6 ++-
This patch resolves below errors reported by checkpatch
ERROR: "(foo*)" should be "(foo *)"
ERROR: "foo * bar" should be "foo *bar"
ERROR: "foo __init bar" should be "foo __init bar"
ERROR: "foo __exit bar" should be &qu
This patch fixes below errors reported by checkpath
ERROR: Macros with complex values should be enclosed in parentheses
CHECK: Prefer using the BIT macro
ERROR: trailing statements should be on next line
ERROR: trailing statements should be on next line
Signed-off-by: Vandana BN
---
drivers
This Patch resolves unnecessary cast warning and const file_operations
WARNING: unnecessary cast may hide bugs
WARNING: struct file_operations should normally be const
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/fileops.c| 4 ++--
drivers/staging/kpc2000/kpc_dma
ff-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/dma.c| 8 +---
drivers/staging/kpc2000/kpc_dma/fileops.c| 11 ++-
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c | 15 ---
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h | 8 ++--
4 files change
This patch resolves below errors reported by checkpath
ERROR: space required before the open brace '{'
ERROR: space prohibited after that '!' (ctx:BxW)
ERROR: space prohibited after that open parenthesis '('
Signed-off-by: Vandana BN
---
drivers/staging/kpc2
This patch fixes code indentaion error reported by checkpath
ERROR: switch and case should be at the same indent
ERROR: trailing statements should be on next line
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_dma/fileops.c | 12
1 file changed, 8 insertions(+), 4
On 11/05/19 2:04 AM, Lukas Bulwahn wrote:
> On Fri, May 10, 2019 at 9:39 PM Vandana BN wrote:
>> This patch resolves coding style errors and warnings reported by chechpatch
>>
> I did not look at the patch in detail, but you might want to also
> consider to replace the Caml
are not necessary for any arm of this statement
WARNING: unnecessary cast may hide bugs
WARNING: braces {} are not necessary for single statement
WARNING: struct file_operations should normally be const
WARNING: labels should not be indented
Signed-off-by: Vandana BN
---
drivers/staging/kpc2000/kpc_d
7; (ctx:VxV)
ERROR: spaces required around that '=' (ctx:VxW)
ERROR: space required before the open parenthesis '('
ERROR: spaces required around that '?' (ctx:VxE)
ERROR: spaces required around that ':' (ctx:VxE)
ERROR: spaces required around that '==
This patch resolves coding style brace warning and constant on right warning.
WARNING: Comparisons should place the constant on the right side of the test
WARNING: braces {} are not necessary for single statement blocks
CHECK: Comparison to NULL could be written "!pbuf"
Signed-off-by:
30 matches
Mail list logo