From nobody Thu Feb 16 11:56:40 2023 X-Original-To: dev-commits-src-branches@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 4PHYMF2vxJz3q5xR; Thu, 16 Feb 2023 11:56:41 +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 4PHYMF0wFWz4Cdh; Thu, 16 Feb 2023 11:56:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548601; 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=dwiX1AOKUeWkWWU8vfhzrK3bI69XptA7L8Ka1/mJasU=; b=pk1qqWMBk+/xGqZBghIQT0mF1Dsg0nv+Y2P00oJFpZvhHkmIheV/EdycAA8+YSRP8RCQr2 DBhmmENZ/2M++FaMfGWQ9YLg72Ju227ZWOD63rSBSd6syrZ9h/Jahir2fqEnG4HwcuLRyf MA4UZloVQHZC0jK05AIoi4lMEXYZu3Bp1uzWJvSVoGkVdo1X+DGCuigm131pr0A2QX212a xjV1ZI64J801diw0s3h2RLWl7agWVPJBZ2XM3oii1IMnCxbF1xch1RYTBGYa67ne2oWt5a qRbWJhlZ2r5STtGmqvIW6sOxSJ+xC95m70hOmgjlKvJu/1+S3aGnHTrhzUPpUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548601; 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=dwiX1AOKUeWkWWU8vfhzrK3bI69XptA7L8Ka1/mJasU=; b=bam0c0q9fdb2fpXTmpwqgUaqaAKLFdNV5S0obECYAp/9FiHtJ1Wrz8vGLtBE3zfPzPgabJ 3I2TM1yfuRUVQX31y9AIASoeOzWEqlNIP/mNVpp3xNwy99hR/3ZjnytJ1cIeek0sN717E+ fjyJratyPV707Kr44Sh/tGlI2g6wGcWRpsdlOdDdFgrDKlslpC0OFAUe3l/cTpks7LuiK/ LnSS7gNKWeiAPKhmA9qAV5EZ3bHGS3ZW8AYdDQ11+Wlp5PUikmy05nR1vDroUZpJPIfUFI ap0PchgNypPWbMRi6tXYd1YcrX7x7MNNsHU9VS+dvCc27YmDlCdFVWunm+H6iQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548601; a=rsa-sha256; cv=none; b=hJaR3xFoqvg/h7+RbVA4AaWWlfRIAII6GZ61S4ZmhqFskowKsh2irkzFGQfyc+8Tkqnw8w RlaeNG4a25Yt3d2ZG8rIjejvIoqybzmVVw1hkLcBkKjTcPo0F/0rsXzWcNZSmQH8AwjDvv +qgmFUIzHilBNjhI+RpECj1tjK/iiQ0wvPkkhgxnLZ8UwaYJoNQqNP8vEsl8P0LIldDVOA jVGCWh6jbeN/gmvp3RHUJl9HB36AG0UyVXNJ7lVwnv0O4/2PlfpyTPdME2ahw73D7xZsWZ 7FRythU3gkkxtrhKX9E7TcKkCB0iAtAO1Z/vGS0kopRM0WV0Ff4lnkhXKV6hsQ== 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 4PHYMF00FFz12WC; Thu, 16 Feb 2023 11:56:41 +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 31GBueJE056550; Thu, 16 Feb 2023 11:56:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBueVJ056549; Thu, 16 Feb 2023 11:56:40 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:56:40 GMT Message-Id: <202302161156.31GBueVJ056549@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 431a3c0b2b52 - stable/13 - linuxkpi: Define `debugfs_initialized()` List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 431a3c0b2b526b1264660fd7e06fa307fe3c9fb4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=431a3c0b2b526b1264660fd7e06fa307fe3c9fb4 commit 431a3c0b2b526b1264660fd7e06fa307fe3c9fb4 Author: Jean-Sébastien Pédron AuthorDate: 2023-02-14 23:38:59 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:21 +0000 linuxkpi: Define `debugfs_initialized()` It always return true on FreeBSD, at least for now, because all DRM drivers using it depend on lindebugfs. Reviewed by: manu Approved by: manu (cherry picked from commit 4dac88cd150b444cf67a09f7c0c8af795e9c1bd6) --- sys/compat/linuxkpi/common/include/linux/debugfs.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/debugfs.h b/sys/compat/linuxkpi/common/include/linux/debugfs.h index abda2d149582..734682cd7013 100644 --- a/sys/compat/linuxkpi/common/include/linux/debugfs.h +++ b/sys/compat/linuxkpi/common/include/linux/debugfs.h @@ -52,6 +52,13 @@ struct debugfs_blob_wrapper { size_t size; }; +static inline bool +debugfs_initialized(void) +{ + + return (true); +} + struct dentry *debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops);