From: Dan Williams <dan.j.williams@intel.com>
To: Jori Koolstra <jkoolstra@xs4all.nl>, <thomas.weissschuh@linutronix.de>
Cc: Jori Koolstra <jkoolstra@xs4all.nl>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Dan Williams <dan.j.williams@intel.com>,
"Alexey Kardashevskiy" <aik@amd.com>,
Bjorn Helgaas <bhelgaas@google.com>,
"Jonathan Cameron" <jonathan.cameron@huawei.com>,
Xu Yilun <yilun.xu@linux.intel.com>, Kees Cook <kees@kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] virt: coco: change tsm_class to a const struct
Date: Wed, 1 Apr 2026 15:26:14 -0700 [thread overview]
Message-ID: <69cd9b86c1625_1b0cc6100d6@dwillia2-mobl4.notmuch> (raw)
In-Reply-To: <20260306183325.245254-1-jkoolstra@xs4all.nl>
Jori Koolstra wrote:
> The class_create() call has been deprecated in favor of class_register()
> as the driver core now allows for a struct class to be in read-only
> memory. Change tsm_class to be a const struct class and drop the
> class_create() call. Compile tested only.
>
> Link: https://lore.kernel.org/all/2023040244-duffel-pushpin-f738@gregkh/
>
> Changes with v1:
> - Removed redundant int err variable.
>
> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
> Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Missed this earlier, will get it pushed out for v7.1, thanks!
prev parent reply other threads:[~2026-04-01 22:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 18:33 Jori Koolstra
2026-04-01 22:26 ` Dan Williams [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69cd9b86c1625_1b0cc6100d6@dwillia2-mobl4.notmuch \
--to=dan.j.williams@intel.com \
--cc=aik@amd.com \
--cc=bhelgaas@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=jkoolstra@xs4all.nl \
--cc=jonathan.cameron@huawei.com \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas.weissschuh@linutronix.de \
--cc=yilun.xu@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®