From nobody Wed Jan 03 17:50:05 2024 X-Original-To: dev-commits-src-branches@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 4T4y0t0LGwz56MS3; Wed, 3 Jan 2024 17:50:06 +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 4T4y0s627Zz4rv8; Wed, 3 Jan 2024 17:50:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304205; 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=E79WuL3y9labEkJ5HeBpSyKKtcZYXbz4I3CT1p01eNM=; b=hwwdTAzM/Z7shCcKNuJhPRuaPqZZBy2DoqPOtdGpw1Vc329N0jUvwLZD9ESEs7kC2WoYgP dwdgeROWesNM+IxgEiYoDqDsEMs/b1HiPGUMa4vvnVbVI4XVnXQ+YxeMQi3CcTt0Yv8TSh 9iy+fXHe3aLmPhAMbzOktuE5yTxjva60yZ7+RzcUj/zfBeKe7CR15QOy9n2zIsF45YWtoN PTp5/HRtsHXASwUEjQMZ9GJnDUfaOz4kTgaSKM0+Leb7ADJQz4fukJT0cKU/JdwWdXixmu MKvj60F2r/FFA9axpUHPOvkES36Ya2KmjKUu5pdgw0ySHyDE5HAg4cJ5IIf9hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304205; 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=E79WuL3y9labEkJ5HeBpSyKKtcZYXbz4I3CT1p01eNM=; b=RIwrwX8LoWbdQE8eHs/wjSQ/fJOwkih5ubRuFlB9IvKO5yjhCQ4CQqKY507djAAKgL8ZMr taMDIxFZCgDDh1iIxyDEr5XuwPn1M1jYwE7Ba3p8yO1I2AxvCQJXJEAejbXxslGmu7/S51 kb0G4fpK3aHT0cYWISYkfKWmEWImJJSY0rKjS9gv4Dcz/zfybGVcbq/yWu2sOUA6Z9gMzO vKnaJQmeLKM82tR3zyZc+wN66DqG1/BcW0yXwVPlUS7TOHn8LxFm/vCKZfvwoLvsvr4W/q 02iTBDBC2WK0eMYqgwX5DYe/LqBrtA1A70jX2WFP2s7dVFJpjpxxUR0BxEq1MQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704304205; a=rsa-sha256; cv=none; b=TV+T3Kz0lLBuSuoUwTAjwV5/kDSaPDaikfxsmJj/ThM8+6OimPeAJ1Rf36pQg26rTdCa/Q vJ7Zxo2oMHpc1ZZLSrQbs7BYFV5itUXwQdcKUoe7kO98U99Bb1tn7CWmQJuV1y0i0/F97V hG1fjcD0pXVIOWjPqtH0WydEmZCb+zQthZJytwZwujzz8/Fy9z/hvSWvsEc7e1Qta3Gkkg TM3hdgGQ2apRml5ATK/pUEc953tlyFrViDsCf+XuX3EZ41ByQQAYY1IOVbIcEzSWlcEkgV JBTmrnbIoWKlfyDMRpvLZARiJS6/bLLQN+iefU5dATehcMysdlMdltl2AWzfgw== 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 4T4y0s58Tjztsc; Wed, 3 Jan 2024 17:50:05 +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 403Ho5Q1037789; Wed, 3 Jan 2024 17:50:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 403Ho5KL037785; Wed, 3 Jan 2024 17:50:05 GMT (envelope-from git) Date: Wed, 3 Jan 2024 17:50:05 GMT Message-Id: <202401031750.403Ho5KL037785@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 1d491430732e - stable/14 - snmp_wlan: Fix a couple of type mismatches in function prototypes List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 1d491430732e7d171fd6b19ae3492111c5544a47 Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1d491430732e7d171fd6b19ae3492111c5544a47 commit 1d491430732e7d171fd6b19ae3492111c5544a47 Author: John Baldwin AuthorDate: 2023-11-15 02:36:03 +0000 Commit: John Baldwin CommitDate: 2024-01-03 17:43:48 +0000 snmp_wlan: Fix a couple of type mismatches in function prototypes Reported by: GCC 13 via -Wenum-int-mismatch Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D42582 (cherry picked from commit cc61bf9eccd46592704f3e7bc189c94ccae8f524) --- usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c b/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c index e5a6e0653b39..b129e42b9d85 100644 --- a/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c +++ b/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c @@ -68,8 +68,8 @@ static uint32_t wlan_cryptocaps_to_snmp(uint32_t); static uint32_t wlan_htcaps_to_snmp(uint32_t); static uint32_t wlan_peerstate_to_snmp(uint32_t); static uint32_t wlan_peercaps_to_snmp(uint32_t ); -static uint32_t wlan_channel_flags_to_snmp_phy(uint32_t); -static uint32_t wlan_regdomain_to_snmp(int); +static enum WlanIfPhyMode wlan_channel_flags_to_snmp_phy(uint32_t); +static enum WlanRegDomainCode wlan_regdomain_to_snmp(int); static uint32_t wlan_snmp_to_scan_flags(int); static int wlan_config_snmp2ioctl(int); static int wlan_snmp_to_regdomain(enum WlanRegDomainCode);