mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-18 05:04:04 +00:00
Fix ERROR:do not initialise statics to 0 in af_vsock.c
Found by scripts/checkpatch.pl Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9dde6da512
commit
a22d325142
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ out:
|
|||
static int __vsock_bind_stream(struct vsock_sock *vsk,
|
||||
struct sockaddr_vm *addr)
|
||||
{
|
||||
static u32 port = 0;
|
||||
static u32 port;
|
||||
struct sockaddr_vm new_addr;
|
||||
|
||||
if (!port)
|
||||
|
|
Loading…
Add table
Reference in a new issue