From nobody Sat Mar 05 11:34:20 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 58B1819E8405; Sat, 5 Mar 2022 11:34: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K9jL46DzTz3rwW; Sat, 5 Mar 2022 11:34:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646480061; 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=qZCTew/BPCYrDTMPpFHc/2WLUsbsEqGhv/FzrNccYtg=; b=DVikJtDm1tmEORdwGBLMrO182XCatn13cc+wfNDWhKJajQuxIexzy/NFPNg0kIWGJbmfZv VIZ94Jh65lH5RY7CRgQW6XAyR87oHT9CoURjl2QObQxVtApWh+6lqQ+6kpxc21/hp1Gv8f dmwiYZtLtrTw/nAkV84BKLK7CSz5WHa6zxm1KB8P9WwzMPLEuHSjbgoxAVF/yYUswVqTQq N+9O+8ghQPx8Oybx2iocluWIJx6RSHmotBln6AFQF8I2WYx46R+kbMTLFgFzD3h7nlATDH Py0+rAfSbsk+8smR77Yz9y7RB1m9WUsCwBW5Uk53riGVDBqvryS1XPTBc4urWw== 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 6BF511F77A; Sat, 5 Mar 2022 11:34:20 +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 225BYKan046596; Sat, 5 Mar 2022 11:34:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 225BYKSK046595; Sat, 5 Mar 2022 11:34:20 GMT (envelope-from git) Date: Sat, 5 Mar 2022 11:34:20 GMT Message-Id: <202203051134.225BYKSK046595@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: 3d148ca784d4 - stable/13 - linuxkpi: Add dev_emerg 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: 3d148ca784d4996ece9c933810ba686fed4e1370 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646480061; 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=qZCTew/BPCYrDTMPpFHc/2WLUsbsEqGhv/FzrNccYtg=; b=B0K76zrK+MECnWi2o26TyPtEshN4M8OxZMhjOD+Bb9jF29E0Lgtx+xvWv9VUzTf+jLEBtP 2A4HI9nvqi03w2G9+YPjrXfwii+9M9FYYVWeZw7X8OL02qNVvmDU5FL2hMHh6qZfrxWoM+ 9qYS5A0VygY9f1wq+RBeyMV2rv/yBnkFZWXezczDaYtBeyLU3PANiqSz8ilja1Dsmv1nKD 90LRcntDulq9R7dh6FX1W8nBDfPX5jUM0jD+vq0Fr1iahNN3MYkalwHDhTMmed2tc5gDrE tX7MiNoGsdYebYPxvwbBj6T7c1AaBOH5sjZzOcqTnXGR1LBEpmWi2F4zprJWYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646480061; a=rsa-sha256; cv=none; b=FrKE+sKqyaMw/NGHEFlQrsaTPn+hyvTF94Vc12suxHh3O9zJ9wB1uwLGXhsf5V3+PjEgwD aitGr0cCaKp+WD6ajskYOxUcG0zYtUagmv5A8+sMcUbOh17fY8VvrWnMkyI1dlrwpJEZFD 8JhCyPDtcHxKMtFas2sfdWAZyyIr5a56nItSt0p+G/FfoKIBNp2EnY4HPEBsqQHltHsrSD 6EJWkGw5oS23WlWqiFZXTIGVcMUXjwNg2RWtKJHI4SO5KNQw0jXGYxv5QiFMMpYp9ePY8j O+kexxvRVhG+NMMvjWz/UiTCUG2q7we2HEUtnOzr8brLuwekTh6QjTn8uAvZFw== 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=3d148ca784d4996ece9c933810ba686fed4e1370 commit 3d148ca784d4996ece9c933810ba686fed4e1370 Author: Emmanuel Vadot AuthorDate: 2022-02-15 11:05:56 +0000 Commit: Emmanuel Vadot CommitDate: 2022-03-05 11:12:44 +0000 linuxkpi: Add dev_emerg Needed by drm-kmod v5.8 Reviewed by: bz MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D34286 (cherry picked from commit e3f1af9b33e95b549ccc7363bd963cc50cd5b9d7) --- sys/compat/linuxkpi/common/include/linux/device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h index 5550768c4e4d..5bd57a581f4e 100644 --- a/sys/compat/linuxkpi/common/include/linux/device.h +++ b/sys/compat/linuxkpi/common/include/linux/device.h @@ -188,6 +188,7 @@ show_class_attr_string(struct class *class, #define dev_warn(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) #define dev_info(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) #define dev_notice(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) +#define dev_emerg(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) #define dev_dbg(dev, fmt, ...) do { } while (0) #define dev_printk(lvl, dev, fmt, ...) \ device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)