From: Jarkko Sakkinen <jarkko@kernel.org>
To: Qunqin Zhao <zhaoqunqin@loongson.cn>
Cc: lee@kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net,
peterhuewe@gmx.de, linux-kernel@vger.kernel.org,
loongarch@lists.linux.dev, linux-crypto@vger.kernel.org,
jgg@ziepe.ca, linux-integrity@vger.kernel.org,
Yinggang Gu <guyinggang@loongson.cn>
Subject: Re: [PATCH V3 5/6] tpm: Add a driver for Loongson TPM device
Date: Thu, 20 Feb 2025 16:12:39 +0200 [thread overview]
Message-ID: <Z7c4V3vW5BV5XbdC@kernel.org> (raw)
In-Reply-To: <4e0a3b40-07b8-06bf-8814-a121308ebf69@loongson.cn>
On Thu, Feb 20, 2025 at 07:23:42PM +0800, Qunqin Zhao wrote:
>
> 在 2025/2/19 下午9:44, Jarkko Sakkinen 写道:
> > > +
> > > +static const struct tpm_class_ops lsse_tpm_ops = {
> > > + .flags = TPM_OPS_AUTO_STARTUP,
> > > + .recv = tpm_ls_recv,
> > > + .send = tpm_ls_send,
> > > +};
> > > +
> > > +static int lsse_tpm_probe(struct platform_device *pdev)
> > tpm_lsse_
> OK.
> > +
> > +static struct platform_driver lsse_tpm_driver = {
> > + .probe = lsse_tpm_probe,
> > + .driver = {
> > + .name = "ls6000se-tpm",
> > + },
> > +};
> > +module_platform_driver(lsse_tpm_driver);
> > +
> > +MODULE_ALIAS("platform:ls6000se-tpm");
> > +MODULE_LICENSE("GPL");
> > +MODULE_AUTHOR("Yinggang Gu <guyinggang@loongson.cn>");
> > +MODULE_AUTHOR("Qunqin Zhao <zhaoqunqin@loongson.cn>");
> > Remove MODULE_AUTHOR fields. Git encodes this already.
>
> Do you mean that "modinfo" will still show the author after removing
> MODULE_AUTHOR fields?
What is the utility of showing that? Nobody ever updates those in real
life, so you really can't trust them anyhow. We're better of not showing
anything at all.
>
> >
> > > +MODULE_DESCRIPTION("Loongson TPM driver");
> > > --
> > > 2.43.0
> > >
> > Prefix all with tpm_lsse instead of tpm
>
> OK, thanks for your comments.
>
> BR, Qunqin.
>
> >
> > BR, Jarkko
>
BR, Jarkko
next prev parent reply other threads:[~2025-02-20 14:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-19 7:33 [PATCH V3 0/6] Drivers for Loongson security engine Qunqin Zhao
2025-02-19 7:33 ` [PATCH V3 5/6] tpm: Add a driver for Loongson TPM device Qunqin Zhao
2025-02-19 13:44 ` Jarkko Sakkinen
2025-02-20 11:23 ` Qunqin Zhao
2025-02-20 14:12 ` Jarkko Sakkinen [this message]
2025-02-19 7:33 ` [PATCH V3 6/6] MAINTAINERS: Add tpm_lsse.c to LOONGSON CRYPTO DRIVER entry Qunqin Zhao
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=Z7c4V3vW5BV5XbdC@kernel.org \
--to=jarkko@kernel.org \
--cc=davem@davemloft.net \
--cc=guyinggang@loongson.cn \
--cc=herbert@gondor.apana.org.au \
--cc=jgg@ziepe.ca \
--cc=lee@kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=peterhuewe@gmx.de \
--cc=zhaoqunqin@loongson.cn \
/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;
as well as URLs for NNTP newsgroup(s).