From c24d87bda04d7f1615e5ea8ff76d0dd818d430cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Fri, 18 Oct 2024 10:55:32 +0200 Subject: [PATCH] doc: migration-guide: mention change of socket service callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mention change of callback function for the socket service. Signed-off-by: Fin Maaß --- doc/releases/migration-guide-4.0.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/releases/migration-guide-4.0.rst b/doc/releases/migration-guide-4.0.rst index a233b3277225038..c57ec140decd6f5 100644 --- a/doc/releases/migration-guide-4.0.rst +++ b/doc/releases/migration-guide-4.0.rst @@ -496,6 +496,10 @@ Networking * The ``work_q`` parameter to ``NET_SOCKET_SERVICE_SYNC_DEFINE`` and ``NET_SOCKET_SERVICE_SYNC_DEFINE_STATIC`` has been removed as it was always ignored. (:github:`79446`) +* The callback function for the socket service has changed. The + ``struct k_work *work`` parameter has been replaced with a pointer to the + ``struct net_socket_service_event *pev`` parameter. (:github:`80041`) + * Deprecated the :kconfig:option:`CONFIG_NET_SOCKETS_POLL_MAX` option in favour of :kconfig:option:`CONFIG_ZVFS_POLL_MAX`.