This patch replaces call to printk with appropriate pr_*
function thus addressing the following warning generated by the
checkpatch script:
Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then
dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ...
Signed-off-by: Harman Kalra
This patch resolves the following error caught by checkpatch.pl:
ERROR: that open brace { should be on the previous line
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/icn/icn.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/i4l/icn/icn.c b/drivers
This patch resolves the following error caught by checkpatch.pl:
ERROR: that open brace { should be on the previous line
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/icn/icn.h |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/i4l/icn/icn.h b/drivers
...:w
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/act2000/act2000_isa.c | 25 +++--
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/i4l/act2000/act2000_isa.c
b/drivers/staging/i4l/act2000/act2000_isa.c
index ad7a039..76195b9 100644
-
This patch resolves all the following CHECKs caught by checkpatch.pl
CHECK: Alignment should match open parenthesis
Signed-off-by: Harman Kalra
---
drivers/staging/fbtft/fb_ili9325.c |9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/fbtft/fb_ili9325
G ...
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/act2000/act2000_isa.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/i4l/act2000/act2000_isa.c
b/drivers/staging/i4l/act2000/act2000_isa.c
index ad7a039..1a91b52 100644
--- a
Errors "open brace { should be on the previous line" caught by checkpatch.pl
fixed.
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/icn/icn.h |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/i4l/icn/icn.h b/drivers/staging/i4l/icn/icn.h
ind
Warning "Prefer "pr_debug over printk(KERN_DEBUG... " and "few line more than
80 character" fixed
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/icn/icn.h |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/i4l/icn/icn.h b/driv
Error "open brace { should be on the previous line" caught by checkpatch.pl
fixed.
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/icn/icn.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/i4l/icn/icn.c b/drivers/staging/i4l/icn/icn.c
ind
2 errors "open brace { should be on the previous line" are fixed.
Warning "Prefer "pr_debug over printk(KERN_DEBUG... " fixed
Few line more tahn 80 character warnings fixed
Signed-off-by: Harman Kalra
---
drivers/staging/i4l/icn/icn.c |3 +--
drivers/staging/i4l/ic
Removing warnings caught by checkpatch.pl
Signed-off-by: Harman Kalra
---
drivers/staging/media/omap4iss/iss_video.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/media/omap4iss/iss_video.c
b/drivers/staging/media/omap4iss/iss_video.c
index
Removed "line over 80 characters" Warnings using checkpatch.pl
Signed-off-by: Harman Kalra
---
drivers/staging/fbtft/fbtft.h | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h
ind
Replace BUG() with BUG_ON().
Caught by coccinelle.
Signed-off-by: Harman Kalra
---
drivers/ata/pata_octeon_cf.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c
index 2724595..475a006 100644
--- a/drivers/ata
Signed-off-by: Harman Kalra
---
drivers/ata/pata_at91.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/ata/pata_at91.c b/drivers/ata/pata_at91.c
index 9f27b14..1611e0e 100644
--- a/drivers/ata/pata_at91.c
+++ b/drivers/ata/pata_at91.c
@@ -347,10 +347,8
14 matches
Mail list logo