From nobody Sat Oct 01 19:03:56 2022 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 4MfxMx0yf9z4dmMJ; Sat, 1 Oct 2022 19:03:57 +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 4MfxMx0Wd3z4MjC; Sat, 1 Oct 2022 19:03:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664651037; 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=8qRTREMm/ya3KPoYjwvzNY1EWIj6RBf3iIawJ8GrkuE=; b=EWvil7pemp7kDTvdNMhaic0V7FqHnOrksAqw9ZSyl33Ca6CgL3RHRNxYpbSRmLNce+LCbk HWwLPr4OQbCW0C8au3cUO+8T+UvByj0qC+vDOi5LomFES2VelU3SQLZJkkKzwlFyZkrrZ6 Kc4Yu+Wuogs37pGkwbTAx7lUO83f2q3LY+2cKoSOzVqpCEU9016OlHZfOPJzGC+6Olw162 Tqh9JB6D8bM5BDBBaJYfZUWWq/KV1BC6ubRzni7sn6NrUw8UaN71s3vGVfypiV31K2I+7I lShYaj8AnHF8ijZ5XvE5jJyUQ31VCwH5pz2M8VKCmTW0Cfq4kkSwj3ECpC+JSw== 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 4MfxMw6h3mzd1j; Sat, 1 Oct 2022 19:03:56 +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 291J3uDk060656; Sat, 1 Oct 2022 19:03:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 291J3uHC060655; Sat, 1 Oct 2022 19:03:56 GMT (envelope-from git) Date: Sat, 1 Oct 2022 19:03:56 GMT Message-Id: <202210011903.291J3uHC060655@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: c90bff3fa7c1 - main - netlink: fix debugging on 32-bit platforms 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: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c90bff3fa7c1c3ba3773759d243aad7b29b643a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664651037; 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=8qRTREMm/ya3KPoYjwvzNY1EWIj6RBf3iIawJ8GrkuE=; b=qmPFdlmnBKtyoy8dXTteRrDSxgti9/rxp1CPZ2oayFsRHgSPZPkwy+AtgiwN00YJI6+pO1 7IZN5NdkbJbczo49tuO42aYxwnwXkESDhg2SWPna3X44507C7pJIee9tUYN3nBCrCU3gqc qnecKHTrXFLKMvcZJZDm6HJqP7In5UnFtoRYF/nzfWXv00ZPuM3JvfeV00O06/RbWja6my TlH67wH7OaUjLVUkdaVfknpVmxFuPB6P/YOKe7h3GVll+VqEf3S5v3lYByzgAgoDfMD6XK rn1EhWTYYoVNC9ri73L8APJZf/hgKlgNb2UXriaj3jo9BS3RRA9NIrtsnbK0QA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664651037; a=rsa-sha256; cv=none; b=IQXs/GrOFgHDJukHy1vrMA0ekuMVGdxl+7NHKsxaKIvUrnyWnTyk/WMderFzlXb+YTQNdV nGuT9+FryoCfTJSzuNAL/FJ/EpgjlsL4AYGSjMesb+mAmTsRn9E5/KcnyQwttWiQq6W9MC MqsEkxe9nYpdbyerMTQ1oSbD2SlGr2nWKZvBQZRpt4jsVfv51R/sdQTHKmFWVPuMDSIA/8 zPlrO83E7dj/i3HP8GvfsYCEicWNlFqDcp0gJnYffChWcrSUV0KjkXU+9i36XOTMHRsG74 STTb75Huj9egtc/n3KN+E8gcol8mY7ctg7ptoaN7Ve8P+32Vu8VHWLdyczOdiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=c90bff3fa7c1c3ba3773759d243aad7b29b643a3 commit c90bff3fa7c1c3ba3773759d243aad7b29b643a3 Author: Alexander V. Chernikov AuthorDate: 2022-10-01 19:03:28 +0000 Commit: Alexander V. Chernikov CommitDate: 2022-10-01 19:03:35 +0000 netlink: fix debugging on 32-bit platforms --- sys/netlink/netlink_domain.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/netlink/netlink_domain.c b/sys/netlink/netlink_domain.c index 159dfd03724d..032fded987df 100644 --- a/sys/netlink/netlink_domain.c +++ b/sys/netlink/netlink_domain.c @@ -98,8 +98,8 @@ static void nl_update_groups_locked(struct nlpcb *nlp, uint64_t nl_groups) { /* Update group mask */ - NL_LOG(LOG_DEBUG2, "socket %p, groups 0x%lX -> 0x%lX", - nlp->nl_socket, nlp->nl_groups, nl_groups); + NL_LOG(LOG_DEBUG2, "socket %p, groups 0x%X -> 0x%X", + nlp->nl_socket, (uint32_t)nlp->nl_groups, (uint32_t)nl_groups); nlp->nl_groups = nl_groups; } @@ -577,7 +577,8 @@ nl_ctloutput(struct socket *so, struct sockopt *sopt) break; } group_mask = (uint64_t)1 << (optval - 1); - NL_LOG(LOG_DEBUG2, "ADD/DEL group %d mask (%lX)", optval, group_mask); + NL_LOG(LOG_DEBUG2, "ADD/DEL group %d mask (%X)", + (uint32_t)optval, (uint32_t)group_mask); NLCTL_WLOCK(ctl); if (sopt->sopt_name == NETLINK_ADD_MEMBERSHIP)