Skip to content

Commit 26cc8d6

Browse files
pseidererNipaLocal
authored andcommitted
net: pktgen: fix code style (WARNING: quoted string split across lines)
Fix checkpatch code style warnings: WARNING: quoted string split across lines torvalds#480: FILE: net/core/pktgen.c:480: + "Packet Generator for packet performance testing. " + "Version: " VERSION "\n"; WARNING: quoted string split across lines torvalds#632: FILE: net/core/pktgen.c:632: + " udp_src_min: %d udp_src_max: %d" + " udp_dst_min: %d udp_dst_max: %d\n", Signed-off-by: Peter Seiderer <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 1d444b5 commit 26cc8d6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

net/core/pktgen.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,7 @@ struct pktgen_thread {
476476
#define FIND 0
477477

478478
static const char version[] =
479-
"Packet Generator for packet performance testing. "
480-
"Version: " VERSION "\n";
479+
"Packet Generator for packet performance testing. Version: " VERSION "\n";
481480

482481
static int pktgen_remove_device(struct pktgen_thread *t, struct pktgen_dev *i);
483482
static int pktgen_add_device(struct pktgen_thread *t, const char *ifname);
@@ -628,8 +627,7 @@ static int pktgen_if_show(struct seq_file *seq, void *v)
628627
seq_printf(seq, "%pM\n", pkt_dev->dst_mac);
629628

630629
seq_printf(seq,
631-
" udp_src_min: %d udp_src_max: %d"
632-
" udp_dst_min: %d udp_dst_max: %d\n",
630+
" udp_src_min: %d udp_src_max: %d udp_dst_min: %d udp_dst_max: %d\n",
633631
pkt_dev->udp_src_min, pkt_dev->udp_src_max,
634632
pkt_dev->udp_dst_min, pkt_dev->udp_dst_max);
635633

0 commit comments

Comments
 (0)