[9610] drivers: modem_if: Fix checkpatch issue
authorJiyoung Jeong <ji_0.jeong@samsung.com>
Fri, 15 Jun 2018 01:35:09 +0000 (10:35 +0900)
committerjungi.lee <jungilsi.lee@samsung.com>
Tue, 17 Jul 2018 11:55:20 +0000 (20:55 +0900)
Change-Id: I26c04dba9830942b8a97aaf98df14d876ce91358
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
drivers/misc/modem_if/modem_io_device.c

index 3974525e2f80a24dce892fa3dbe50e6357e08d03..4d083269b0aa011758f4ae18b54292b045fda3ab 100644 (file)
@@ -619,9 +619,9 @@ static int rx_frame_done(struct io_device *iod, struct link_device *ld,
        mif_debug("%s->%s: frame length = %d\n", ld->name, iod->name, skb->len);
 
        err = rx_demux(ld, skb);
-       if(err < 0) {
-               mif_err_limited("%s->%s: ERR! recv_frame_from_skb fail"
-                       "(err %d)\n", ld->name, iod->name, err);
+       if (err < 0) {
+               mif_err_limited("%s->%s: ERR! recv_frame_from_skb fail(err %d)\n",
+                               ld->name, iod->name, err);
                rx_drain(skb);
        }
 
@@ -801,9 +801,9 @@ static int io_dev_recv_skb_from_link_dev(struct io_device *iod,
        mif_debug("%s->%s: frame length = %d\n", ld->name, iod->name, skb->len);
 
        err = rx_demux(ld, skb);
-       if(err < 0) {
-               mif_err_limited("%s->%s: ERR! recv_frame_from_skb fail"
-                       "(err %d)\n", ld->name, iod->name, err);
+       if (err < 0) {
+               mif_err_limited("%s->%s: ERR! recv_frame_from_skb fail(err %d)\n",
+                               ld->name, iod->name, err);
                rx_drain(skb);
        }
 
@@ -822,9 +822,9 @@ static int io_dev_recv_skb_single_from_link_dev(struct io_device *iod,
                skb_trim(skb, exynos_get_frame_len(skb->data));
 
        err = rx_demux(ld, skb);
-       if(err < 0) {
-               mif_err_limited("%s->%s: ERR! recv_frame_from_skb fail"
-                       "(err %d)\n", ld->name, iod->name, err);
+       if (err < 0) {
+               mif_err_limited("%s->%s: ERR! recv_frame_from_skb fail(err %d)\n",
+                               ld->name, iod->name, err);
                rx_drain(skb);
        }