[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250514122900.1e77d62d@canb.auug.org.au>
Date: Wed, 14 May 2025 12:29:00 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Miller <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Networking <netdev@...r.kernel.org>, Cosmin Ratiu <cratiu@...dia.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
Mailing List <linux-next@...r.kernel.org>, Mina Almasry
<almasrymina@...gle.com>, Stanislav Fomichev <sdf@...ichev.me>
Subject: linux-next: manual merge of the net-next tree with the net tree
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
tools/testing/selftests/drivers/net/hw/ncdevmem.c
between commit:
97c4e094a4b2 ("tests/ncdevmem: Fix double-free of queue array")
from the net tree and commit:
2f1a805f32ba ("selftests: ncdevmem: Implement devmem TCP TX")
from the net-next tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc tools/testing/selftests/drivers/net/hw/ncdevmem.c
index 9d48004ff1a1,f801a1b3545f..000000000000
--- a/tools/testing/selftests/drivers/net/hw/ncdevmem.c
+++ b/tools/testing/selftests/drivers/net/hw/ncdevmem.c
@@@ -431,23 -507,7 +507,23 @@@ static int parse_address(const char *st
return 0;
}
+static struct netdev_queue_id *create_queues(void)
+{
+ struct netdev_queue_id *queues;
+ size_t i = 0;
+
+ queues = calloc(num_queues, sizeof(*queues));
+ for (i = 0; i < num_queues; i++) {
+ queues[i]._present.type = 1;
+ queues[i]._present.id = 1;
+ queues[i].type = NETDEV_QUEUE_TYPE_RX;
+ queues[i].id = start_queue + i;
+ }
+
+ return queues;
+}
+
- int do_server(struct memory_buffer *mem)
+ static int do_server(struct memory_buffer *mem)
{
char ctrl_data[sizeof(int) * 20000];
struct netdev_queue_id *queues;
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists