From: Jasmin Jessich <jasmin@xxxxxx> Fixed all: WARNING: Missing a blank line after declarations Signed-off-by: Jasmin Jessich <jasmin@xxxxxx> --- drivers/media/dvb-core/dvb_ca_en50221.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c index eb7f692..5a0b35d 100644 --- a/drivers/media/dvb-core/dvb_ca_en50221.c +++ b/drivers/media/dvb-core/dvb_ca_en50221.c @@ -178,7 +178,9 @@ static void dvb_ca_private_free(struct dvb_ca_private *ca) static void dvb_ca_private_release(struct kref *ref) { - struct dvb_ca_private *ca = container_of(ref, struct dvb_ca_private, refcount); + struct dvb_ca_private *ca = container_of(ref, struct dvb_ca_private, + refcount); + dvb_ca_private_free(ca); } @@ -298,7 +300,9 @@ static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot, timeout = jiffies + timeout_hz; while (1) { /* read the status and check for error */ - int res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); + int res = ca->pub->read_cam_control(ca->pub, slot, + CTRLIF_STATUS); + if (res < 0) return -EIO; -- 2.7.4