mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
net: pktgen: fix code style (WARNING: quoted string split across lines)
Fix checkpatch code style warnings: WARNING: quoted string split across lines #480: FILE: net/core/pktgen.c:480: + "Packet Generator for packet performance testing. " + "Version: " VERSION "\n"; WARNING: quoted string split across lines #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 <ps.report@gmx.net> Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
dceae3e82f
commit
08fcb1f242
|
|
@ -476,8 +476,7 @@ struct pktgen_thread {
|
|||
#define FIND 0
|
||||
|
||||
static const char version[] =
|
||||
"Packet Generator for packet performance testing. "
|
||||
"Version: " VERSION "\n";
|
||||
"Packet Generator for packet performance testing. Version: " VERSION "\n";
|
||||
|
||||
static int pktgen_remove_device(struct pktgen_thread *t, struct pktgen_dev *i);
|
||||
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)
|
|||
seq_printf(seq, "%pM\n", pkt_dev->dst_mac);
|
||||
|
||||
seq_printf(seq,
|
||||
" udp_src_min: %d udp_src_max: %d"
|
||||
" udp_dst_min: %d udp_dst_max: %d\n",
|
||||
" udp_src_min: %d udp_src_max: %d udp_dst_min: %d udp_dst_max: %d\n",
|
||||
pkt_dev->udp_src_min, pkt_dev->udp_src_max,
|
||||
pkt_dev->udp_dst_min, pkt_dev->udp_dst_max);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user