Skip to content

Commit ec4d922

Browse files
Ilia Sergachevgregkh
authored andcommitted
staging: ks7010: remove line continuations in quoted strings
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>
1 parent b1711c1 commit ec4d922

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

drivers/staging/ks7010/ks_hostif.c

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,21 @@ int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info_t *ap_info)
191191
wireless_send_event(netdev, SIOCGIWAP, &wrqu, NULL);
192192
}
193193
DPRINTK(4, "\n Link AP\n");
194-
DPRINTK(4, " bssid=%02X:%02X:%02X:%02X:%02X:%02X\n \
195-
essid=%s\n rate_set=%02X,%02X,%02X,%02X,%02X,%02X,%02X,%02X\n channel=%d\n \
196-
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);
194+
DPRINTK(4, " bssid=%02X:%02X:%02X:%02X:%02X:%02X\n"
195+
" essid=%s\n"
196+
" rate_set=%02X,%02X,%02X,%02X,%02X,%02X,%02X,%02X\n"
197+
" channel=%d\n"
198+
" rssi=%d\n"
199+
" sq=%d\n"
200+
" capability=%04X\n",
201+
ap->bssid[0], ap->bssid[1], ap->bssid[2],
202+
ap->bssid[3], ap->bssid[4], ap->bssid[5],
203+
&(ap->ssid.body[0]),
204+
ap->rate_set.body[0], ap->rate_set.body[1],
205+
ap->rate_set.body[2], ap->rate_set.body[3],
206+
ap->rate_set.body[4], ap->rate_set.body[5],
207+
ap->rate_set.body[6], ap->rate_set.body[7],
208+
ap->channel, ap->rssi, ap->sq, ap->capability);
197209
DPRINTK(4, "\n Link AP\n rsn.mode=%d\n rsn.size=%d\n",
198210
ap_info->rsn_mode, ap_info->rsn.size);
199211
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)
10031015
wstats->qual.noise = 0; /* invalid noise value */
10041016
wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM;
10051017

1006-
DPRINTK(3, "\n rssi=%u\n signal=%u\n LinkSpeed=%ux500Kbps\n \
1007-
TransmittedFrameCount=%u\n ReceivedFragmentCount=%u\n FailedCount=%u\n \
1008-
FCSErrorCount=%u\n", rssi, signal, LinkSpeed, TransmittedFrameCount, ReceivedFragmentCount, FailedCount, FCSErrorCount);
1018+
DPRINTK(3, "\n rssi=%u\n"
1019+
" signal=%u\n"
1020+
" LinkSpeed=%ux500Kbps\n"
1021+
" TransmittedFrameCount=%u\n"
1022+
" ReceivedFragmentCount=%u\n"
1023+
" FailedCount=%u\n"
1024+
" FCSErrorCount=%u\n",
1025+
rssi, signal, LinkSpeed, TransmittedFrameCount,
1026+
ReceivedFragmentCount, FailedCount, FCSErrorCount);
10091027

10101028
/* wake_up_interruptible_all(&priv->confirm_wait); */
10111029
complete(&priv->confirm_wait);

0 commit comments

Comments
 (0)