]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: ks7010: remove line continuations in quoted strings
authorIlia Sergachev <ilia.sergachev@unibas.ch>
Fri, 28 Apr 2017 15:30:55 +0000 (17:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Apr 2017 15:51:39 +0000 (17:51 +0200)
Checkpatch emits WARNING: Avoid line continuations in quoted strings.

Remove line continuations - split strings using quotes.

Signed-off-by: Ilia Sergachev <ilia.sergachev@unibas.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c

index a8d334a8e52cf2252365dcc2420de2ea3b0872da..49e95426ac30a6d9e48725f6c4eda48cb3277654 100644 (file)
@@ -191,9 +191,21 @@ int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info_t *ap_info)
                wireless_send_event(netdev, SIOCGIWAP, &wrqu, NULL);
        }
        DPRINTK(4, "\n    Link AP\n");
-       DPRINTK(4, "    bssid=%02X:%02X:%02X:%02X:%02X:%02X\n \
-   essid=%s\n    rate_set=%02X,%02X,%02X,%02X,%02X,%02X,%02X,%02X\n    channel=%d\n \
-   rssi=%d\n    sq=%d\n    capability=%04X\n", ap->bssid[0], ap->bssid[1], ap->bssid[2], ap->bssid[3], ap->bssid[4], ap->bssid[5], &(ap->ssid.body[0]), ap->rate_set.body[0], ap->rate_set.body[1], ap->rate_set.body[2], ap->rate_set.body[3], ap->rate_set.body[4], ap->rate_set.body[5], ap->rate_set.body[6], ap->rate_set.body[7], ap->channel, ap->rssi, ap->sq, ap->capability);
+       DPRINTK(4, "    bssid=%02X:%02X:%02X:%02X:%02X:%02X\n"
+                  "    essid=%s\n"
+                  "    rate_set=%02X,%02X,%02X,%02X,%02X,%02X,%02X,%02X\n"
+                  "    channel=%d\n"
+                  "    rssi=%d\n"
+                  "    sq=%d\n"
+                  "    capability=%04X\n",
+               ap->bssid[0], ap->bssid[1], ap->bssid[2],
+               ap->bssid[3], ap->bssid[4], ap->bssid[5],
+               &(ap->ssid.body[0]),
+               ap->rate_set.body[0], ap->rate_set.body[1],
+               ap->rate_set.body[2], ap->rate_set.body[3],
+               ap->rate_set.body[4], ap->rate_set.body[5],
+               ap->rate_set.body[6], ap->rate_set.body[7],
+               ap->channel, ap->rssi, ap->sq, ap->capability);
        DPRINTK(4, "\n    Link AP\n    rsn.mode=%d\n    rsn.size=%d\n",
                ap_info->rsn_mode, ap_info->rsn.size);
        DPRINTK(4, "\n    ext_rate_set_size=%d\n    rate_set_size=%d\n",
@@ -1003,9 +1015,15 @@ void hostif_phy_information_confirm(struct ks_wlan_private *priv)
        wstats->qual.noise = 0; /* invalid noise value */
        wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM;
 
-       DPRINTK(3, "\n    rssi=%u\n    signal=%u\n    LinkSpeed=%ux500Kbps\n \
-   TransmittedFrameCount=%u\n    ReceivedFragmentCount=%u\n    FailedCount=%u\n \
-   FCSErrorCount=%u\n", rssi, signal, LinkSpeed, TransmittedFrameCount, ReceivedFragmentCount, FailedCount, FCSErrorCount);
+       DPRINTK(3, "\n    rssi=%u\n"
+                  "    signal=%u\n"
+                  "    LinkSpeed=%ux500Kbps\n"
+                  "    TransmittedFrameCount=%u\n"
+                  "    ReceivedFragmentCount=%u\n"
+                  "    FailedCount=%u\n"
+                  "    FCSErrorCount=%u\n",
+               rssi, signal, LinkSpeed, TransmittedFrameCount,
+               ReceivedFragmentCount, FailedCount, FCSErrorCount);
 
        /* wake_up_interruptible_all(&priv->confirm_wait); */
        complete(&priv->confirm_wait);