From nobody Tue Nov 28 13:38:39 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sfk7N5Svvz52GNF; Tue, 28 Nov 2023 13:38:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sfk7M5ms8z4Twc; Tue, 28 Nov 2023 13:38:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701178719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a10ehYGckQjrS+CI/YzXq0jRGPBc2PIQlaKH4Ss+8mU=; b=sqWYSY4PP8w8Pr1FRT4rz0fBveb/6uNmyP8ztjvWv+c+tXfaSUWZ+pGS+ELqUvr6Gyb37e e16UfLn9nAaCOhXE5dothwQKE4JoS2zWm7IP7YvR/mtu1+Da6SVVKmqmkS9m7zOutkRkBS qt+JyWuIdzvK/intlxJItp9G7IW7zVlUqXkfGCz6BJPWj3kNBeZz2klM8ovwd2wJl5MNIx aAYWsJxZrnrwCUn5ePEdBfCGxm30C/knO2kG3BkEeR1AS5oNk383d26GTcvCt07iQUlDQL jU2f5x0vs+8UV86ReYHaDNMhxthYRPNknmsWTPR6x3u/iLTY5vmYuo/fvMZJ7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701178719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a10ehYGckQjrS+CI/YzXq0jRGPBc2PIQlaKH4Ss+8mU=; b=wXD2RJINmfaiNmxJHVqhmXsCVkqoq7v6Ur9ZMT2p2lTMx3RL3Mhv2efnOVIB/3Kpsq1MDj W4Lj1xi9azlUP8HfmLVoZyhXJ9h+i2Oj5ACHvNAUs9VY0zerKDIN+fSIMfbmbvUHFSJOKS VtZQkWLZOUBfhCg0MInrc4CnKU6sy/52GX/OZntcnp4Xla1Pw/l/FBeaxYP+C8HBbHwJy8 a39gexetvNy12mpGQvFLHrhiKF0xojjd96wsYkgC0TVu7ZtbwWkP7e2+nPik1AtOT3nXOX LvGhac1ovL1jj14On3Gh3m+yn3dk5azDBj+MqezneRMPDwoVkSlWs9lAzQLDYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701178719; a=rsa-sha256; cv=none; b=UVHDec0kZZjZ1D6WJp/GdsOyocZJyLUFq6i0byPOhzq2oTuzROKAB8BUthb+ZCNB8H4HR2 vY4DuEGmnHrnZN57tFhPHMdWV7l4Xd4g1lE+h06WbFctiInzLlQLO7NKBjcrGMgLeAeOs8 wJCPjBoJk8yJwKtANyDtv0GYi1cIJlJ3TBVVB3mvpgfIFAmkgiI5Z+DluSozBB5Ank36N1 MvpZZHMbcXOdUm1nVOTNFRjvVKThYv45Ib5Sm2LDyggZzzpD9wnO1iGCBwhUEckRO7F36W LS2qMTzYdJskcBdHrgXgo8AfYJ65139q9XuTk5ZaeOH38RxnxXKv1wL3g7qicA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sfk7M4gP5z8DL; Tue, 28 Nov 2023 13:38:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ASDcdOY025526; Tue, 28 Nov 2023 13:38:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ASDcdkB025523; Tue, 28 Nov 2023 13:38:39 GMT (envelope-from git) Date: Tue, 28 Nov 2023 13:38:39 GMT Message-Id: <202311281338.3ASDcdkB025523@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Roger Pau =?utf-8?Q?Monn=C3=A9?= Subject: git: 3e5e0e2f1678 - main - xen/dev: switch to DEVMETHOD_END List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: royger X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e5e0e2f16785210d796ea6ece4b69d35a03fe47 Auto-Submitted: auto-generated The branch main has been updated by royger: URL: https://cgit.FreeBSD.org/src/commit/?id=3e5e0e2f16785210d796ea6ece4b69d35a03fe47 commit 3e5e0e2f16785210d796ea6ece4b69d35a03fe47 Author: Elliott Mitchell AuthorDate: 2023-09-11 21:37:20 +0000 Commit: Roger Pau Monné CommitDate: 2023-11-28 12:31:47 +0000 xen/dev: switch to DEVMETHOD_END Switch to the preferred end of the device method table. These hadn't been updated previously. Reviewed by: royger --- sys/dev/xen/blkback/blkback.c | 3 ++- sys/dev/xen/blkfront/blkfront.c | 2 +- sys/dev/xen/netback/netback.c | 3 ++- sys/dev/xen/xenpci/xenpci.c | 3 ++- sys/xen/xenbus/xenbusb_back.c | 3 ++- sys/xen/xenbus/xenbusb_front.c | 3 ++- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/sys/dev/xen/blkback/blkback.c b/sys/dev/xen/blkback/blkback.c index 43d2134ca5b3..3717264256f3 100644 --- a/sys/dev/xen/blkback/blkback.c +++ b/sys/dev/xen/blkback/blkback.c @@ -3777,7 +3777,8 @@ static device_method_t xbb_methods[] = { /* Xenbus interface */ DEVMETHOD(xenbus_otherend_changed, xbb_frontend_changed), - { 0, 0 } + + DEVMETHOD_END }; static driver_t xbb_driver = { diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c index f1014d4e2a24..2c5862232b41 100644 --- a/sys/dev/xen/blkfront/blkfront.c +++ b/sys/dev/xen/blkfront/blkfront.c @@ -1633,7 +1633,7 @@ static device_method_t xbd_methods[] = { /* Xenbus interface */ DEVMETHOD(xenbus_otherend_changed, xbd_backend_changed), - { 0, 0 } + DEVMETHOD_END }; static driver_t xbd_driver = { diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c index 85e181e005f1..1d0795959efb 100644 --- a/sys/dev/xen/netback/netback.c +++ b/sys/dev/xen/netback/netback.c @@ -2485,7 +2485,8 @@ static device_method_t xnb_methods[] = { /* Xenbus interface */ DEVMETHOD(xenbus_otherend_changed, xnb_frontend_changed), - { 0, 0 } + + DEVMETHOD_END }; static driver_t xnb_driver = { diff --git a/sys/dev/xen/xenpci/xenpci.c b/sys/dev/xen/xenpci/xenpci.c index ecf50e6a5d3d..b7a810bf9e15 100644 --- a/sys/dev/xen/xenpci/xenpci.c +++ b/sys/dev/xen/xenpci/xenpci.c @@ -212,7 +212,8 @@ static device_method_t xenpci_methods[] = { DEVMETHOD(device_attach, xenpci_attach), DEVMETHOD(device_detach, xenpci_detach), DEVMETHOD(device_resume, xenpci_resume), - { 0, 0 } + + DEVMETHOD_END }; static driver_t xenpci_driver = { diff --git a/sys/xen/xenbus/xenbusb_back.c b/sys/xen/xenbus/xenbusb_back.c index fad2da5d6fd8..7b0d7bd0c0a8 100644 --- a/sys/xen/xenbus/xenbusb_back.c +++ b/sys/xen/xenbus/xenbusb_back.c @@ -305,7 +305,8 @@ static device_method_t xenbusb_back_methods[] = { DEVMETHOD(xenbusb_get_otherend_node, xenbusb_back_get_otherend_node), DEVMETHOD(xenbusb_otherend_changed, xenbusb_back_otherend_changed), DEVMETHOD(xenbusb_localend_changed, xenbusb_back_localend_changed), - { 0, 0 } + + DEVMETHOD_END }; DEFINE_CLASS_0(xenbusb_back, xenbusb_back_driver, xenbusb_back_methods, diff --git a/sys/xen/xenbus/xenbusb_front.c b/sys/xen/xenbus/xenbusb_front.c index 5007c4509e4e..393d9ff87f25 100644 --- a/sys/xen/xenbus/xenbusb_front.c +++ b/sys/xen/xenbus/xenbusb_front.c @@ -182,7 +182,8 @@ static device_method_t xenbusb_front_methods[] = { /* XenBus Bus Interface */ DEVMETHOD(xenbusb_enumerate_type, xenbusb_front_enumerate_type), DEVMETHOD(xenbusb_get_otherend_node, xenbusb_front_get_otherend_node), - { 0, 0 } + + DEVMETHOD_END }; DEFINE_CLASS_0(xenbusb_front, xenbusb_front_driver, xenbusb_front_methods,