From nobody Tue Dec 10 18:13:02 2024 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 4Y76KW0DFJz5gRYP; Tue, 10 Dec 2024 18:13:03 +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 4Y76KV63Lnz44t5; Tue, 10 Dec 2024 18:13:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733854382; 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=tAEBOX8oMacwdwobmpL4SNn6GPs0mOzx1HGi/kUapiE=; b=jnxgP0i/hM+97ZCQTZ9Ot46dEtZIxnRLTCuZl7d56y2/3U4nh2z5KOsLzJgh1oJnnJemIo EKVWmoRpA6d+HMS3NONh1OuBXB5HbmxPJClrhigJqRepENPm7ldIVklFLy9pZAMPNDxA2W zGIjcY4XtwYnkS1VVeEnw8VyosgWzrcJoGlMybB4Kpd/3Zm72hE4Z2XWUzSbxUfk+UXnCF gjjs5aHkVu2M+Q1wRwCu/z6Q+tNaSHdkWNhluYT6kuDIXX0faYDaWnOQvTxVro8Neelbpa g9VNE/ZgEdZF0HJ4aJTTNPj6d5hUEFB8SRKaF3Q0QNz6agvUcsoKHHlxDcQXfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733854382; 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=tAEBOX8oMacwdwobmpL4SNn6GPs0mOzx1HGi/kUapiE=; b=LLmUj/+N9dmgkA5bzcZ6VuQ9wqd1jpLhmlQS/WlJxDXIjXF+Fl2pQ72D2oetb/sd52r/4n kJqFg9obD6iQUUN+3sXUQsaNG8LVXLw3d0LUUvHw7zgph8iglJ46FHP8k6TXoHY1suo0Rf UPx44F2+Ds8xrq6hI3g+RitM3ONCsKIpNLxahxf3EbGWP2hKcEo4oT2hLjD15uCzTTsId2 BT0E/3rWpWd7nPT4FugpRnSMCcGGk7zlPsP7OtUixPmZvjpa4wQj1eI8NU82FyIWGKKwpb iisuzab39b0Qt7svEVA8m84jVJ5lzB1G/rKE+fWe9d0eBOgMeJJDLeEUqGVn/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733854382; a=rsa-sha256; cv=none; b=o60z93DIHOn12geqhxt95F+C51GkK8D2FlO0spdQa936FJINK8eeLtqeymUPAbLHUQIo1D 6R1kXSBwdwc4+uX4S5mOIPMhzEjoiH4s0Rq9NAE2LZdXUjtn2zPYcIo2X0ceMwu29iuTjn JATaInVR6toWywYglz/WhmMwU6wFKeaXRXIVdBLlP8lwtKQAXv38D3KGmSjymijfDmjBc0 ORrLxc0J0pR+B0TeqoHvJVKmOnEXWbvgCowmRJ1yBo8IRDnP8HsebUTBKETQH45D0MIAtv 6BsP2fO1bs5cgu41qdg+YmpvXpK3rR39cWXOhe9tjy4S3o1+Dk9F0/4RuTZzjA== 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 4Y76KV5CQVzZQ1; Tue, 10 Dec 2024 18:13:02 +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 4BAID2V5022848; Tue, 10 Dec 2024 18:13:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BAID2pI022845; Tue, 10 Dec 2024 18:13:02 GMT (envelope-from git) Date: Tue, 10 Dec 2024 18:13:02 GMT Message-Id: <202412101813.4BAID2pI022845@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Popov Subject: git: 33c670c373c0 - main - netlink.h: Align macro declarations with tabs 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 33c670c373c065064dd8d8a0cc1623db7e556c5a Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/src/commit/?id=33c670c373c065064dd8d8a0cc1623db7e556c5a commit 33c670c373c065064dd8d8a0cc1623db7e556c5a Author: Gleb Popov AuthorDate: 2024-10-31 16:56:51 +0000 Commit: Gleb Popov CommitDate: 2024-12-10 18:12:38 +0000 netlink.h: Align macro declarations with tabs Sponsored by: Future Crew, LLC Approved by: melifaro Differential Revision: https://reviews.freebsd.org/D47333 --- sys/netlink/netlink.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/netlink/netlink.h b/sys/netlink/netlink.h index d8cf1401fcd0..2395726e7455 100644 --- a/sys/netlink/netlink.h +++ b/sys/netlink/netlink.h @@ -206,15 +206,15 @@ enum nlmsginfo_attrs { ((_len) -= _LEN_MACRO(_ptr), NL_ITEM_NEXT(_ptr, _LEN_MACRO)) /* part of netlink(3) API */ -#define NLMSG_ALIGNTO NL_ITEM_ALIGN_SIZE -#define NLMSG_ALIGN(_len) NL_ITEM_ALIGN(_len) +#define NLMSG_ALIGNTO NL_ITEM_ALIGN_SIZE +#define NLMSG_ALIGN(_len) NL_ITEM_ALIGN(_len) #ifndef _KERNEL /* part of netlink(3) API */ -#define NLMSG_HDRLEN (sizeof(struct nlmsghdr)) -#define NLMSG_LENGTH(_len) ((_len) + NLMSG_HDRLEN) -#define NLMSG_SPACE(_len) NLMSG_ALIGN(NLMSG_LENGTH(_len)) -#define NLMSG_DATA(_hdr) NL_ITEM_DATA(_hdr, NLMSG_HDRLEN) +#define NLMSG_HDRLEN (sizeof(struct nlmsghdr)) +#define NLMSG_LENGTH(_len) ((_len) + NLMSG_HDRLEN) +#define NLMSG_SPACE(_len) NLMSG_ALIGN(NLMSG_LENGTH(_len)) +#define NLMSG_DATA(_hdr) NL_ITEM_DATA(_hdr, NLMSG_HDRLEN) #define _NLMSG_LEN(_hdr) ((_hdr)->nlmsg_len) #define _NLMSG_ALIGNED_LEN(_hdr) NLMSG_ALIGN(_NLMSG_LEN(_hdr)) #define NLMSG_OK(_hdr, _len) NL_ITEM_OK(_hdr, _len, NLMSG_HDRLEN, _NLMSG_LEN) @@ -222,7 +222,7 @@ enum nlmsginfo_attrs { #define NLMSG_NEXT(_hdr, _len) NL_ITEM_ITER(_hdr, _len, _NLMSG_ALIGNED_LEN) #else -#define NLMSG_HDRLEN (NLMSG_ALIGN(sizeof(struct nlmsghdr))) +#define NLMSG_HDRLEN (NLMSG_ALIGN(sizeof(struct nlmsghdr))) #endif /*