diff mbox

[1/2,OPW,kernel] staging: media: cxd2099: Add blank line after declaration

Message ID 56b2f05ba4af8540cd545daccaa64dbebab5d558.1411266245.git.tapaswenipathak@gmail.com
State New, archived
Headers show

Commit Message

Tapasweni Pathak Sept. 21, 2014, 2:36 a.m. UTC
This patch fixes checkpatch.pl warning in file cxd2099.c
WARNING : Missing a blank line after declarations

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
---
 drivers/staging/media/cxd2099/cxd2099.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

--
1.7.0.4

Comments

Greg Kroah-Hartman Sept. 23, 2014, 6:11 p.m. UTC | #1
On Sun, Sep 21, 2014 at 08:06:36AM +0530, Tapasweni Pathak wrote:
> This patch fixes checkpatch.pl warning in file cxd2099.c
> WARNING : Missing a blank line after declarations
> 
> Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
> ---
>  drivers/staging/media/cxd2099/cxd2099.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

This doesn't apply to my tree, sorry.

greg k-h
diff mbox

Patch

diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c
index a2a5182..73e7b2c 100644
--- a/drivers/staging/media/cxd2099/cxd2099.c
+++ b/drivers/staging/media/cxd2099/cxd2099.c
@@ -152,6 +152,7 @@  static int write_pccard(struct cxd *ci, u16 address, u8 *data, u8 n)
 	status = i2c_write(ci->i2c, ci->cfg.adr, addr, 3);
 	if (!status) {
 		u8 buf[256] = {3};
+
 		memcpy(buf+1, data, n);
 		status = i2c_write(ci->i2c, ci->cfg.adr, buf, n+1);
 	}
@@ -201,6 +202,7 @@  static int write_io_data(struct cxd *ci, u8 *data, u8 n)
 	status = i2c_write(ci->i2c, ci->cfg.adr, addr, 3);
 	if (!status) {
 		u8 buf[256] = {3};
+
 		memcpy(buf+1, data, n);
 		status = i2c_write(ci->i2c, ci->cfg.adr, buf, n + 1);
 	}
@@ -448,6 +450,7 @@  static int read_attribute_mem(struct dvb_ca_en50221 *ca,
 	return ci->amem[address];
 #else
 	u8 val;
+
 	mutex_lock(&ci->lock);
 	set_mode(ci, 1);
 	read_pccard(ci, address, &val, 1);