Re: [PATCH] net/vmw_vsock/af_vsock.c: drop unneeded semicolon

From: David Miller
Date: Mon Aug 05 2013 - 14:08:49 EST


From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Mon, 5 Aug 2013 16:47:38 +0200

> From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> Drop the semicolon at the end of the list_for_each_entry loop header.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> ---
> Not tested, but I can't imagine how the current code could work, since vsk
> should end up pointing to a dummy value.

This bug has been there since the code was first checked in, and indeed
it's going to work on garbage since it's going to pass in the list
head transformed into a vsock structure.

Applied, thanks Julia.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/