From nobody Mon Aug 08 14:04:23 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 4M1dHC54JKz4Y4Yh; Mon, 8 Aug 2022 14:04:23 +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 4M1dHC4Vrxz3vps; Mon, 8 Aug 2022 14:04:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659967463; 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=VrrvdQ7NR2V3qabMBeH6jouZASBLc4OwkNXcq1buP9k=; b=opX/sBKV/F8Ms6glHGTNbtdF8i0wWxaP8iKwFjv0eeANInd/1pd906l/vHkK8TXqDebhc+ PRwRz8zSxjMapzxqae2VEcSQ+rTKPXpQ0hNAnMdWC4N3tbMFvftV7hY2Rh/jdtvTb2ogrK 3RlwRY0UP6CQZ0a8jAwXDsYq6xx/HQs14pFXSl4heFt0jU510oHFnBW1RxACUrGFnJ3duE v/95gb7iONhqZTVQDxS7oUy1soSDOAeXs/asc31dxDHFfB3+wa+/+LCd1qm8aVFqknZagi msuHQlQ+gu0SpmC7yoLEGwrwI+ZRvPry4eMqoz9Sb/g5nI2Tsbok6K09+oBOoQ== 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 4M1dHC3ZJFztcL; Mon, 8 Aug 2022 14:04:23 +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 278E4NK3088941; Mon, 8 Aug 2022 14:04:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 278E4NlU088940; Mon, 8 Aug 2022 14:04:23 GMT (envelope-from git) Date: Mon, 8 Aug 2022 14:04:23 GMT Message-Id: <202208081404.278E4NlU088940@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 7d2702a19839 - main - linuxkpi: Add more notifier defines 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d2702a1983945210a1daa30b6e09ea7eb7b24d3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659967463; 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=VrrvdQ7NR2V3qabMBeH6jouZASBLc4OwkNXcq1buP9k=; b=r5pHzEqtm9NXZAgq9aNLgWiuApfthpkoTTRJFpc4/seFTJdwiO24ZdFD+fwqswNZKo7Icm mL/vICPVlyNFUZ7T5QihH/hc+WETlbsRUpvOUbea1wcqZFsJSYIrk9/dhnNc9ZD4ZXU4Xa vN6l4HN07zGgWf/Cc7rK0QEkbt2E/DebZbhURz2OlAcDE1FzaxUKE3npI2plXeqZcVmRn7 2+kj1HzYcuItQLNPgv2K13IKY8cxuQJyT+/ycoJjrbCXMD7E7aHxJ1qSR+E4z9Doqcbco0 auvnxlm/jhF7sbQwOBqIwOOERDzC1nDv4yPhOSuQd7yxueZX//RJv8NhpPdlcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659967463; a=rsa-sha256; cv=none; b=bxs591HnUeXGrGkrk1JAnWj2TIRvKjLaJYedKpPLDwzkyMU0Gx7+jNOdpE5wnhz+D4Q8P9 Ipt6mW47CJRo4wd+EEndkHlM09f3Lp2qQ+nVQEwdSwoQ3YfjtGmuRU7GhW734ME8kxu0Ao wMJzrACNkIxaq6C15KlNjL+86BFuIA/jEEntsoq/a+l578cyFG3yhNSJ5BD9Z+0W4dq6zu KrIJtw4GfX6MQ0MLT/SfA+h3A1RLpHTIvIzRjCNMSPANulkGcbimbMe8PT/zvEUPz7r7TG 6GWMMrC6Mp5yr6Y92Mkl67vQ9rLPVSIUzyqTtcM4th327chcZWmfVbWOxAYHAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=7d2702a1983945210a1daa30b6e09ea7eb7b24d3 commit 7d2702a1983945210a1daa30b6e09ea7eb7b24d3 Author: Emmanuel Vadot AuthorDate: 2022-07-27 07:55:06 +0000 Commit: Emmanuel Vadot CommitDate: 2022-08-08 13:22:35 +0000 linuxkpi: Add more notifier defines Needded by drm-kmod. Reviewed by: bz, emaste, hselasky Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36018 --- sys/compat/linuxkpi/common/include/linux/notifier.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/notifier.h b/sys/compat/linuxkpi/common/include/linux/notifier.h index cafbb64f3f3e..bd822d73d5e3 100644 --- a/sys/compat/linuxkpi/common/include/linux/notifier.h +++ b/sys/compat/linuxkpi/common/include/linux/notifier.h @@ -34,7 +34,10 @@ #include #include -#define NOTIFY_DONE 0 +#define NOTIFY_DONE 0 +#define NOTIFY_OK 0x0001 +#define NOTIFY_STOP_MASK 0x8000 +#define NOTIFY_BAD (NOTIFY_STOP_MASK | 0x0002) enum { NETDEV_CHANGE,