From nobody Fri Sep 20 10:10:21 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 4X97Rx4fgzz5VcL0; Fri, 20 Sep 2024 10:10:21 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X97Rx4BX9z4TKv; Fri, 20 Sep 2024 10:10:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726827021; 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=p3EtI/r0h2WMuF7HoRbTn866wQyZ05voHoPvmqsAyv4=; b=IpO2cPrygVUKmkPzJL2JPO/UfxI99zp8nECmtuqjSRLnQd/48lTy6dvEGzRuW6YQ5D3HT+ Fd3ejE9p/N5Om4/yrUjCUUDWIOViPIHiTSxZQYGobd41QM8+bmqvhCDEyyDLVK0NV8GOL+ wHsyDduM2j3MdGVgrA9FO2AWgP768O2B/E1gklMhgVWXEyT627pD93MJOv57WIg4tXlkCq qhs7uhVSsjRVwN1BiNsiBa1as1by09V55IeMg/dOYZubTNH2RXv9KV5UpnB79mRtl+F6Zp v0K5Ab7YccHxZFnAC9hWMXsr+ejeDn1toC6Lzhcc3AwiDxsK4lbgChDDfz3gPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726827021; a=rsa-sha256; cv=none; b=NoQ7s1kVKtQjhZFVkRRh16/HGDC82j5O+nH9QMP/57whINI8BzSe2SQsRH7DZTuxj4AO14 /KUcjdkHm5BXKI9L0gxUN8lNBRiJc8k0Q1P8Jw4JJkBauNtPthe/UM9Kv/WmdZRFaU8bGh vP0fw8F5+9sbAzjZaPrwQukVoLqfxHm5MunQi16CJ1+MhwYvmkUPGMOw1dfkcykDJbIjXl M/u9Mob0Oq0TwaZkyzluZmXoni84QquoQlcBAwBW3WIpTI46fY4EJI9hWUQVQ9gkLTK7km 9EfMzK6z2QnnarRt8bBrUhGnE3qoJ/UUzyrazD+t9zdcky4ON/ohnANTBIKctQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726827021; 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=p3EtI/r0h2WMuF7HoRbTn866wQyZ05voHoPvmqsAyv4=; b=lDTzEMu41nBH5GzMTSVwTIJnV4+1i3CJDM4FfnN1bJIrarLkto1JQa93d8uf4p4bLzwiG7 rUIGOSDW4Q70tyGjhJqhT6icAzeJSshfd+IQPjOiOniem/rvgGQvxyASZX1mklzFRWb7Y7 P6TqwD+clAOfHDocC+qut7PpCvx/TX2sGA4cILRv5SB5iuC4oFfdGqoKW8rga504vnLnDf wBLaZ+QJAEg6N9ay2jkkhc23GS0id9pGpdhhHyYUBsa/ofYE+0uiQKj+aCr3CuQEXeW7Lu YFasoIAnXU/cDGjJarV9st1RayUfNOVQlfSzc5lta9uXLaGy7JFmfVyCopPCsQ== 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 4X97Rx3QG9zlny; Fri, 20 Sep 2024 10:10:21 +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 48KAALsP060256; Fri, 20 Sep 2024 10:10:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48KAALkS060253; Fri, 20 Sep 2024 10:10:21 GMT (envelope-from git) Date: Fri, 20 Sep 2024 10:10:21 GMT Message-Id: <202409201010.48KAALkS060253@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: e30b58846003 - main - bpf: Add a comment on the large `#ifdef _KERNEL` block 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e30b58846003a54df028686363b5abed59897779 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=e30b58846003a54df028686363b5abed59897779 commit e30b58846003a54df028686363b5abed59897779 Author: Zhenlei Huang AuthorDate: 2024-09-20 10:06:22 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-20 10:06:22 +0000 bpf: Add a comment on the large `#ifdef _KERNEL` block This improves readability a little. MFC after: 3 days --- sys/net/bpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/bpf.h b/sys/net/bpf.h index e44a7cd2359d..2c227bb2f09d 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -448,7 +448,7 @@ bpf_peers_present(struct bpf_if *bpf) bpf_mtap_if((_ifp), (_m)) #define BPF_MTAP2(_ifp,_data,_dlen,_m) \ bpf_mtap2_if((_ifp), (_data), (_dlen), (_m)) -#endif +#endif /* _KERNEL */ /* * Number of scratch memory words (for BPF_LD|BPF_MEM and BPF_ST).