[PATCH 1/4] net/gve: fix comma operator compiler warning

Jasper Tran O'Leary
2026-03-27T00:19:31Z

The gve_adminq_create_rx_queue function initialized the admin queue
command using commas rather than semicolons after two fields'
initializations in the GQI queue format branch. Change these commas
to semicolons to remove the warning.

Signed-off-by: Jasper Tran O'Leary <jtranoleary@google.com>
Reviewed-by: Joshua Washington <joshwash@google.com>
---
drivers/net/gve/base/gve_adminq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/gve/base/gve_adminq.c b/drivers/net/gve/base/gve_adminq.c
index 9a94591..bcfc789 100644
--- a/drivers/net/gve/base/gve_adminq.c
+++ b/drivers/net/gve/base/gve_adminq.c
@@ -721,9 +721,9 @@ static int gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_index)
GVE_RAW_ADDRESSING_QPL_ID : rxq->qpl->id;

cmd.create_rx_queue.rx_desc_ring_addr =
- cpu_to_be64(rxq->mz->iova),
+ cpu_to_be64(rxq->mz->iova);
cmd.create_rx_queue.rx_data_ring_addr =
- cpu_to_be64(rxq->data_mz->iova),
+ cpu_to_be64(rxq->data_mz->iova);
cmd.create_rx_queue.index = cpu_to_be32(queue_index);
cmd.create_rx_queue.queue_page_list_id = cpu_to_be32(qpl_id);
cmd.create_rx_queue.packet_buffer_size = cpu_to_be16(rxq->rx_buf_len);
--
2.53.0.1118.gaef5881109-goog