From nobody Wed Sep 7 15:10:14 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 4MN5KL477fz4bPH0; Wed, 7 Sep 2022 15:10:14 +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 4MN5KL3d24z3YF2; Wed, 7 Sep 2022 15:10:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563414; 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=WPcBttUidKHuKfhqEFIKis0YCyXxwybck9x2KUcHaFY=; b=pqiGYc6EFnuWXuBvX2BHSNXaynyOZ6TKxP/DsVAW1T4dQg/gXR/lsco8baBBmecIGmmaS6 qPEOnxCSv6Li9zV7B9v1mNXlPVmABV/EbU6P6MYfw1+kaFuExoDhL5xA4BP+K2Q5/96nH/ sCbTwxHZuqjR0DfLSQ+pOB7Vq9kJmppxflLVgh7LREWRct1gPmPbjT2cZy4mBB8kjRNX4t cvhkCNgugpL4mX0VwAn9Mfz7cQ8owiQt0cCjrnrnoSQuI9e794l3q//xoEHH8BO3FKk1nj HiP5/w1EN4F3uv1kRwcl2F4fhyuzj7tB0rbl3I7z5SjZ2aqdADaLQ/9hazrgIw== 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 4MN5KL2kkdzZ8n; Wed, 7 Sep 2022 15:10:14 +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 287FAEKM022358; Wed, 7 Sep 2022 15:10:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287FAEcu022351; Wed, 7 Sep 2022 15:10:14 GMT (envelope-from git) Date: Wed, 7 Sep 2022 15:10:14 GMT Message-Id: <202209071510.287FAEcu022351@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: d3d30e4d2f79 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: d3d30e4d2f79015b07c42c2286d52e0254ec8c00 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563414; 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=WPcBttUidKHuKfhqEFIKis0YCyXxwybck9x2KUcHaFY=; b=P7WnLHmNJ4ACFjm7Ekmp6mXGA7tkDILSeqGIDUxfABi/SNrcpRY3MuvawVeD2G4kGxoJjr 0ckc7LI2lAv/W9vxsm3f4uP9e7tw6OxsJzJZnK9Ke1FDdBe2mjqQAuOsmTXqTlZAtHLLMe ai3jI9C3dywLTS4qY6/F6eyukyDJy4TI48nCIHXLZg/XmW7thL9KaIxOqD7PVqUnfQtsaP fukTpNXpGSoKFLtX0MYrsgcpTo+J3bq7pWBNYwiqZjBC5voHwpCXKeClqXqqBD1Eq63CqW DEHUHgfzpPc71CwK8/lzGzmX4MbofRpJckmk4vcW1Jb1O7JBSW7cDo6hHUBJLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662563414; a=rsa-sha256; cv=none; b=RwLBnvrAC/vsXPBlTsveDWHrsYYvU8x4WOC1nBYUVuP+0pv/L3nnyNOkmDCDZYiCt6TbNk 0ls9J3gbdyiVbiNRerrLCFWrkTwiaCbb+m4OM+hd7+zfEjSlzfpJieqoGh07tTz/zKV8ia 2ux6m1hunbzxWNL1vHeVSn0pYSHzXXSSX8oM2rfxLeMtI70YrKbO4M2MlGvYoB1Johxgvo 9mhEPt799B3IWf85/Tc1QrtiyW9iBADii2zUjJVY61ThAKGqu8wOm4SYTdNZcZ4p+hA+Eh 4VZ32zTAEQOwUmJ0kfF2a6ibgKrF/FDR0XUY1F0pJ7C2swq2opHCpt8W4w3nWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=d3d30e4d2f79015b07c42c2286d52e0254ec8c00 commit d3d30e4d2f79015b07c42c2286d52e0254ec8c00 Author: Emmanuel Vadot AuthorDate: 2022-07-27 07:55:06 +0000 Commit: Emmanuel Vadot CommitDate: 2022-09-07 15:09:04 +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 (cherry picked from commit 7d2702a1983945210a1daa30b6e09ea7eb7b24d3) --- 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,