From 6f23cb9fdb59a8369780c19a06c0739e1c2c8c09 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Wed, 17 Sep 2025 08:41:42 +0200 Subject: dhcp: Fix coding style violations in dhcp() function The dhcp() function wasn't following the inverted Christmas tree variable declaration ordering convention. Signed-off-by: Laurent Vivier Reviewed-by: David Gibson Signed-off-by: Stefano Brivio --- dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhcp.c b/dhcp.c index 012cec6..6b9c2e3 100644 --- a/dhcp.c +++ b/dhcp.c @@ -311,10 +311,10 @@ int dhcp(const struct ctx *c, struct iov_tail *data) const struct ethhdr *eh; const struct iphdr *iph; const struct udphdr *uh; + struct msg m_storage; struct msg const *m; struct msg reply; unsigned int i; - struct msg m_storage; eh = IOV_REMOVE_HEADER(data, eh_storage); iph = IOV_PEEK_HEADER(data, iph_storage); -- cgit v1.2.3