From nobody Sat Nov 30 19:09:10 2024 X-Original-To: dev-commits-src-all@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 4Y102v28l7z5fVf1; Sat, 30 Nov 2024 19:09:11 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y102v0q2Dz4FcC; Sat, 30 Nov 2024 19:09:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993751; 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=JdUIRoaTlABuNrngLJ2ePtaWIFZ8ApUmFk7jwLJLHl8=; b=LAheheNSGtzMXign8jGtB3G/IenDDXpiDn9//+ShsV0yMPGaiNo1NHj9whaDg/XXt7oNeb HrAFXtTJSyYNspyYxjgWbP+FyrwDEKpm3+TxHlmf4K4RAesmqjt6vYGR43Z/rPBJG1icsy icUV+b4udi9yYZ8n1Y65CIW6x7edS9o5WdDso0XsTQVaf3relPYvdiTrNgzx9B975u5xf2 R4M9neepncXXZHejkkHfvzVCaXB1NZcr5PTWaNAp1DqtLotpXQr3QYydmed30EgcPsp4e3 slXqADjcUQpvAq9fbPHZQv5cnrtVpU7JK5udKQ99ybb6BwjU5F2o9GIzwXgJzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993751; 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=JdUIRoaTlABuNrngLJ2ePtaWIFZ8ApUmFk7jwLJLHl8=; b=MAtYeqaxnLvx39D2AbnvJBGbjbhaOqHV48dhs9aDnDXPCywPJYh2UjNMO/8+55Y2T7w9lp LkTMFPT0YlVMze2PaSg8802y4Vak6Fn3yI1oUghfpWgnOnfERsut0smLFnWf86Mhm8urrH yrt+z6RF+9++hK/iw4BKYU7Gtve0xOQYrpmr0nt8re9nbWxxHwZfO0RvFaxGkDmQRjUKEi X2sTDTXLMdu/uEAyCq0gXX6IzetMYg2CrTfZQ9V2bRTvUwWRHE0CjPA69LT0+9YZbN1E5r B/+xwy3JzgBg7eB4SQQhv6J1o1T7neHOSzFgx4dlCKKnpgK9tn+mdS+zDmRjKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732993751; a=rsa-sha256; cv=none; b=gMdiyc4ZbiZCF9YxMQU9+xOcT6ufXBZRMX+jWREAuKuO1B3D7n7UUyetUazVvAv2H6D60o j8zUSjTz+vRzyzJVr0UGkAuxsXQCS4WO4cRLz6IGycqggEWHBpNcvdsPdIWvUaUgKKL4fx AoNfFHJQvbFpN0KQTTV3OtDxvPsQKRDMttBdkuGEpPIIQ7bFNBx86CBQeVopKyHHXRCWzu vKvaIiTNvnPZ6svJiWxm8+ivoWl7xBzDCS8XQThpTJOnKMO/FmSYNUxq/7Y/dyXe2vguG9 H5s2PgkLNOr/RiAHwFn8atjYL7WLMh0bBrFNj7ZPw3zhbVqw64YhwAy0xlNZaw== 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 4Y102v0RKtzL1G; Sat, 30 Nov 2024 19:09:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AUJ9APP097396; Sat, 30 Nov 2024 19:09:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AUJ9Ar1097393; Sat, 30 Nov 2024 19:09:10 GMT (envelope-from git) Date: Sat, 30 Nov 2024 19:09:10 GMT Message-Id: <202411301909.4AUJ9Ar1097393@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: 801be06b9006 - stable/13 - snmp_wlan: Fix a couple of type mismatches in function prototypes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/13 X-Git-Reftype: branch X-Git-Commit: 801be06b90066772c7e1091ee2c0b877ce1bdd22 Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=801be06b90066772c7e1091ee2c0b877ce1bdd22 commit 801be06b90066772c7e1091ee2c0b877ce1bdd22 Author: John Baldwin AuthorDate: 2023-11-15 02:36:03 +0000 Commit: John Baldwin CommitDate: 2024-11-30 18:57:59 +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);