]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: visorchannel: Adjust lines to contain a maximum of 80 characters
authorBryan Thompson <bryan.thompson@unisys.com>
Thu, 6 Nov 2014 19:13:09 +0000 (14:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:22:01 +0000 (09:22 -0800)
Split multiple logging lines to get them closer to 80 characters per line.

Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchannel/visorchannel_funcs.c

index 29efd4dd0e824f525614ee59bccf9f60e6cd84e6..b9dd77b508b012fedbaf229d081cf6b661136821 100644 (file)
@@ -334,7 +334,8 @@ sig_read_header(VISORCHANNEL *channel, u32 queue,
                                 sizeof(struct signal_queue_header)) < 0) {
                ERRDRV("queue=%d SIG_QUEUE_OFFSET=%d",
                       queue, (int)SIG_QUEUE_OFFSET(&channel->chan_hdr, queue));
-               ERRDRV("visor_memregion_read of signal queue failed: (status=%d)\n", rc);
+               ERRDRV("visor_memregion_read of signal queue failed: (status=%d)\n",
+                      rc);
                goto Away;
        }
        rc = TRUE;
@@ -354,13 +355,15 @@ sig_do_data(VISORCHANNEL *channel, u32 queue,
                if (visor_memregion_write(channel->memregion,
                                          signal_data_offset,
                                          data, sig_hdr->signal_size) < 0) {
-                       ERRDRV("visor_memregion_write of signal data failed: (status=%d)\n", rc);
+                       ERRDRV("visor_memregion_write of signal data failed: (status=%d)\n",
+                              rc);
                        goto Away;
                }
        } else {
                if (visor_memregion_read(channel->memregion, signal_data_offset,
                                         data, sig_hdr->signal_size) < 0) {
-                       ERRDRV("visor_memregion_read of signal data failed: (status=%d)\n", rc);
+                       ERRDRV("visor_memregion_read of signal data failed: (status=%d)\n",
+                              rc);
                        goto Away;
                }
        }
@@ -439,7 +442,8 @@ visorchannel_signalremove(VISORCHANNEL *channel, u32 queue, void *msg)
                goto Away;
        }
        if (!SIG_WRITE_FIELD(channel, queue, &sig_hdr, num_received)) {
-               ERRDRV("visor_memregion_write of NumSignalsReceived failed: (status=%d)\n", rc);
+               ERRDRV("visor_memregion_write of NumSignalsReceived failed: (status=%d)\n",
+                      rc);
                goto Away;
        }
        rc = TRUE;
@@ -469,7 +473,8 @@ visorchannel_signalinsert(VISORCHANNEL *channel, u32 queue, void *msg)
        if (sig_hdr.head == sig_hdr.tail) {
                sig_hdr.num_overflows++;
                if (!SIG_WRITE_FIELD(channel, queue, &sig_hdr, num_overflows)) {
-                       ERRDRV("visor_memregion_write of NumOverflows failed: (status=%d)\n", rc);
+                       ERRDRV("visor_memregion_write of NumOverflows failed: (status=%d)\n",
+                              rc);
                        goto Away;
                }
                rc = FALSE;
@@ -492,7 +497,8 @@ visorchannel_signalinsert(VISORCHANNEL *channel, u32 queue, void *msg)
                goto Away;
        }
        if (!SIG_WRITE_FIELD(channel, queue, &sig_hdr, num_sent)) {
-               ERRDRV("visor_memregion_write of NumSignalsSent failed: (status=%d)\n", rc);
+               ERRDRV("visor_memregion_write of NumSignalsSent failed: (status=%d)\n",
+                      rc);
                goto Away;
        }
        rc = TRUE;