* [PATCH] tpm/st33zp24: fix spelling mistake "drescription" -> "description"
@ 2020-06-05 3:34 Binbin Zhou
2020-06-16 21:00 ` Jarkko Sakkinen
0 siblings, 1 reply; 3+ messages in thread
From: Binbin Zhou @ 2020-06-05 3:34 UTC (permalink / raw)
To: peterhuewe, jarkko.sakkinen, jgg
Cc: linux-integrity, christophe.ricard, zhoubb.aaron, Binbin Zhou
Trivial fix, the spelling of "drescription" is incorrect in function comment.
Fix this.
Signed-off-by: Binbin Zhou <zhoubinbin@uniontech.com>
---
drivers/char/tpm/st33zp24/i2c.c | 2 +-
drivers/char/tpm/st33zp24/spi.c | 4 ++--
drivers/char/tpm/st33zp24/st33zp24.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/char/tpm/st33zp24/i2c.c b/drivers/char/tpm/st33zp24/i2c.c
index 35333b65acd1..7c617edff4ca 100644
--- a/drivers/char/tpm/st33zp24/i2c.c
+++ b/drivers/char/tpm/st33zp24/i2c.c
@@ -210,7 +210,7 @@ static int st33zp24_i2c_request_resources(struct i2c_client *client)
/*
* st33zp24_i2c_probe initialize the TPM device
- * @param: client, the i2c_client drescription (TPM I2C description).
+ * @param: client, the i2c_client description (TPM I2C description).
* @param: id, the i2c_device_id struct.
* @return: 0 in case of success.
* -1 in other case.
diff --git a/drivers/char/tpm/st33zp24/spi.c b/drivers/char/tpm/st33zp24/spi.c
index 26e09de50f1e..a75dafd39445 100644
--- a/drivers/char/tpm/st33zp24/spi.c
+++ b/drivers/char/tpm/st33zp24/spi.c
@@ -329,7 +329,7 @@ static int st33zp24_spi_request_resources(struct spi_device *dev)
/*
* st33zp24_spi_probe initialize the TPM device
- * @param: dev, the spi_device drescription (TPM SPI description).
+ * @param: dev, the spi_device description (TPM SPI description).
* @return: 0 in case of success.
* or a negative value describing the error.
*/
@@ -378,7 +378,7 @@ static int st33zp24_spi_probe(struct spi_device *dev)
/*
* st33zp24_spi_remove remove the TPM device
- * @param: client, the spi_device drescription (TPM SPI description).
+ * @param: client, the spi_device description (TPM SPI description).
* @return: 0 in case of success.
*/
static int st33zp24_spi_remove(struct spi_device *dev)
diff --git a/drivers/char/tpm/st33zp24/st33zp24.c b/drivers/char/tpm/st33zp24/st33zp24.c
index 37bb13f516be..4ec10ab5e576 100644
--- a/drivers/char/tpm/st33zp24/st33zp24.c
+++ b/drivers/char/tpm/st33zp24/st33zp24.c
@@ -502,7 +502,7 @@ static const struct tpm_class_ops st33zp24_tpm = {
/*
* st33zp24_probe initialize the TPM device
- * @param: client, the i2c_client drescription (TPM I2C description).
+ * @param: client, the i2c_client description (TPM I2C description).
* @param: id, the i2c_device_id struct.
* @return: 0 in case of success.
* -1 in other case.
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] tpm/st33zp24: fix spelling mistake "drescription" -> "description"
2020-06-05 3:34 [PATCH] tpm/st33zp24: fix spelling mistake "drescription" -> "description" Binbin Zhou
@ 2020-06-16 21:00 ` Jarkko Sakkinen
2020-06-16 21:03 ` Jarkko Sakkinen
0 siblings, 1 reply; 3+ messages in thread
From: Jarkko Sakkinen @ 2020-06-16 21:00 UTC (permalink / raw)
To: Binbin Zhou
Cc: peterhuewe, jgg, linux-integrity, christophe.ricard, zhoubb.aaron
On Fri, Jun 05, 2020 at 11:34:15AM +0800, Binbin Zhou wrote:
> Trivial fix, the spelling of "drescription" is incorrect in function comment.
> Fix this.
>
> Signed-off-by: Binbin Zhou <zhoubinbin@uniontech.com>
Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
/Jarkko
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tpm/st33zp24: fix spelling mistake "drescription" -> "description"
2020-06-16 21:00 ` Jarkko Sakkinen
@ 2020-06-16 21:03 ` Jarkko Sakkinen
0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Sakkinen @ 2020-06-16 21:03 UTC (permalink / raw)
To: Binbin Zhou
Cc: peterhuewe, jgg, linux-integrity, christophe.ricard, zhoubb.aaron
On Wed, Jun 17, 2020 at 12:00:46AM +0300, Jarkko Sakkinen wrote:
> On Fri, Jun 05, 2020 at 11:34:15AM +0800, Binbin Zhou wrote:
> > Trivial fix, the spelling of "drescription" is incorrect in function comment.
> > Fix this.
> >
> > Signed-off-by: Binbin Zhou <zhoubinbin@uniontech.com>
>
> Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Please run your patch with scripts/checkpatch.pl before sending:
» scripts/checkpatch.pl
0001-tpm-st33zp24-fix-spelling-mistake-drescription-descr.patch
WARNING: Possible unwrapped commit description (prefer a maximum 75
chars per line)
#7:
Trivial fix, the spelling of "drescription" is incorrect in function
comment.
total: 0 errors, 1 warnings, 32 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or
--fix-inplace.
0001-tpm-st33zp24-fix-spelling-mistake-drescription-descr.patch
has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Fix the checkpatch issue and send v2. Thanks.
/Jarkko
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-16 21:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 3:34 [PATCH] tpm/st33zp24: fix spelling mistake "drescription" -> "description" Binbin Zhou
2020-06-16 21:00 ` Jarkko Sakkinen
2020-06-16 21:03 ` Jarkko Sakkinen
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).