mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 02:34:10 -04:00
net: pktgen: fix code style (ERROR: else should follow close brace '}')
Fix checkpatch code style errors: ERROR: else should follow close brace '}' #1317: FILE: net/core/pktgen.c:1317: + } + else And checkpatch follow up code style check: CHECK: Unbalanced braces around else statement #1316: FILE: net/core/pktgen.c:1316: + } else Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250415112916.113455-2-ps.report@gmx.net Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
committed by
Paolo Abeni
parent
4a1f69b941
commit
3bc1ca7e17
@@ -1313,9 +1313,9 @@ static ssize_t pktgen_if_write(struct file *file,
|
||||
put_page(pkt_dev->page);
|
||||
pkt_dev->page = NULL;
|
||||
}
|
||||
}
|
||||
else
|
||||
} else {
|
||||
sprintf(pg_result, "ERROR: node not possible");
|
||||
}
|
||||
return count;
|
||||
}
|
||||
if (!strcmp(name, "xmit_mode")) {
|
||||
|
||||
Reference in New Issue
Block a user