From nobody Mon Jan 17 00:02:11 2022 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 A4AB31962226; Mon, 17 Jan 2022 00:02: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JcXC73xn9z4bsy; Mon, 17 Jan 2022 00:02:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642377731; 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=I8EibaqAwXy9VFDvXcQ1O1pyd3GIjwaw4TbJEVfdDHU=; b=hxKCUaZmKf4ETvxvo5CqgTL/p2CF1FbUaTxTDlQ5fN3mC3JMfEFdlQPwGBiL+qYuOygSum 2TyG3qdGvaijT7fGjBNSkLLyRtlZQqC+NTRVZrSYTOLsZJGey+VgwiMGntbNZiObo0V1rS /NiCJS8d1NjXhDLcsKiBM0Bz8bCrl4iBcQX4zV5YERcNC1H6JrIDXpUHyj5X9cpwcQdn/p H6u96z8X8iO6CO7dcgBIw/cbPWA+aOXkO3OMnpc7ZwEbpr88F0av7BQ80uEA9NdEmcOrz4 hccjZ46G2NXVN4VZYjjjXfcYcES0xOCVMnzVoHGzhOMRja6yBcir6IjbJ4oLgA== 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 6867F239ED; Mon, 17 Jan 2022 00:02:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20H02BvR008325; Mon, 17 Jan 2022 00:02:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20H02B3R008324; Mon, 17 Jan 2022 00:02:11 GMT (envelope-from git) Date: Mon, 17 Jan 2022 00:02:11 GMT Message-Id: <202201170002.20H02B3R008324@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: c3db9d4a1439 - main - net80211: ieee80211_dump_node() cosmetics 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c3db9d4a1439e0144415e007599a94dde4bee01b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642377731; 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=I8EibaqAwXy9VFDvXcQ1O1pyd3GIjwaw4TbJEVfdDHU=; b=s44LuB44+3sn2JLltoDwMkbhSsfDcQg8no+QV9ZyIzShB24tqBLTUdYqLvST5FATSsJhpb h2z+WmIXy0FVTflKctvd2iVhyBpYYhngOUBlsT3luXE/OUE/xaZnZ9qGwjEHpClEtjNKXp 4noUN43P0XiUCB74y5BS23reaEif8BSGtk43AtrznbY8iPyy1TxMPA8pHMxIJksrYNjIZr DnUYwQgkrTQ+BIe4jAcPBrDIi+7axPn+ffgcBqeJpVNCmWyzGjys4jbqSDHTrfcMhJh/rF aJi2FOb+9J1x0tuYX+3kTZj0+3stuLR6msOfFcabcCYk93fNNb/Zh+tR3wV3Lw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642377731; a=rsa-sha256; cv=none; b=BNMyGOUGq3nlwvw+CeXBCAqTMFxct9Xe08W8YrdmNHS+510kFpGuO7OWBRFcinLXPt+Ckx jeybVZRujMXmj4eFyeVr9ebEz4goOWim1drpmyjKON0WXGy2kGN5KdvvMC50eFiwSnQgtv tywpCIhr3ouHhKqh7vzgMLuj168D36kHSdpIATHdkqtn9LocBe8+705jDgl/UeC1Jkk+MK t/n8EuM9zdgbjd1MkS0I8JbJK1bn2Oo1Kb3UrSYJiLKxtuu1qUEPxjKSXjWT5OKwdGXpqX DDRnAdgu111ukUpNoStQEc8WXGUguhzBlfoRLPvugb5cSyQ8Av3Hb+/a/EOZDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=c3db9d4a1439e0144415e007599a94dde4bee01b commit c3db9d4a1439e0144415e007599a94dde4bee01b Author: Bjoern A. Zeeb AuthorDate: 2022-01-16 23:52:39 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-01-17 00:01:46 +0000 net80211: ieee80211_dump_node() cosmetics Printing %p does not need the 0x prefix and while here mark the ieee80211_node_table argument unused given we do not need it in the current incarnation of the function. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/net80211/ieee80211_node.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index 80694c650ed4..3ee46df2a570 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -2619,9 +2619,10 @@ ieee80211_iterate_nodes(struct ieee80211_node_table *nt, } void -ieee80211_dump_node(struct ieee80211_node_table *nt, struct ieee80211_node *ni) +ieee80211_dump_node(struct ieee80211_node_table *nt __unused, + struct ieee80211_node *ni) { - printf("0x%p: mac %s refcnt %d\n", ni, + printf("%p: mac %s refcnt %d\n", ni, ether_sprintf(ni->ni_macaddr), ieee80211_node_refcnt(ni)); printf("\tauthmode %u flags 0x%x\n", ni->ni_authmode, ni->ni_flags);