[PATCH] crypto: ccp: Fix typo in psp_populate_hsti function name

Yunseong Kim posted 1 patch 1 month, 2 weeks ago
drivers/crypto/ccp/hsti.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] crypto: ccp: Fix typo in psp_populate_hsti function name
Posted by Yunseong Kim 1 month, 2 weeks ago
The function "psp_poulate_hsti" was misspelled. This patch corrects
the typo to "psp_populate_hsti" in both the function definition and
its call site within psp_init_hsti().

Signed-off-by: Yunseong Kim <ysk@kzalloc.com>
---
 drivers/crypto/ccp/hsti.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/ccp/hsti.c b/drivers/crypto/ccp/hsti.c
index 1b39a4fb55c0..2e23ff7f3b18 100644
--- a/drivers/crypto/ccp/hsti.c
+++ b/drivers/crypto/ccp/hsti.c
@@ -74,7 +74,7 @@ struct attribute_group psp_security_attr_group = {
 	.is_visible = psp_security_is_visible,
 };
 
-static int psp_poulate_hsti(struct psp_device *psp)
+static int psp_populate_hsti(struct psp_device *psp)
 {
 	struct hsti_request *req;
 	int ret;
@@ -114,7 +114,7 @@ int psp_init_hsti(struct psp_device *psp)
 	int ret;
 
 	if (PSP_FEATURE(psp, HSTI)) {
-		ret = psp_poulate_hsti(psp);
+		ret = psp_populate_hsti(psp);
 		if (ret)
 			return ret;
 	}
-- 
2.50.0
Re: [PATCH] crypto: ccp: Fix typo in psp_populate_hsti function name
Posted by Herbert Xu 1 month, 1 week ago
On Sat, Aug 16, 2025 at 02:30:29PM +0000, Yunseong Kim wrote:
> The function "psp_poulate_hsti" was misspelled. This patch corrects
> the typo to "psp_populate_hsti" in both the function definition and
> its call site within psp_init_hsti().
> 
> Signed-off-by: Yunseong Kim <ysk@kzalloc.com>
> ---
>  drivers/crypto/ccp/hsti.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [PATCH] crypto: ccp: Fix typo in psp_populate_hsti function name
Posted by Limonciello, Mario 1 month, 2 weeks ago
On 8/16/25 9:30 AM, Yunseong Kim wrote:
> The function "psp_poulate_hsti" was misspelled. This patch corrects
> the typo to "psp_populate_hsti" in both the function definition and
> its call site within psp_init_hsti().
> 
> Signed-off-by: Yunseong Kim <ysk@kzalloc.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>> ---
>   drivers/crypto/ccp/hsti.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/crypto/ccp/hsti.c b/drivers/crypto/ccp/hsti.c
> index 1b39a4fb55c0..2e23ff7f3b18 100644
> --- a/drivers/crypto/ccp/hsti.c
> +++ b/drivers/crypto/ccp/hsti.c
> @@ -74,7 +74,7 @@ struct attribute_group psp_security_attr_group = {
>   	.is_visible = psp_security_is_visible,
>   };
>   
> -static int psp_poulate_hsti(struct psp_device *psp)
> +static int psp_populate_hsti(struct psp_device *psp)
>   {
>   	struct hsti_request *req;
>   	int ret;
> @@ -114,7 +114,7 @@ int psp_init_hsti(struct psp_device *psp)
>   	int ret;
>   
>   	if (PSP_FEATURE(psp, HSTI)) {
> -		ret = psp_poulate_hsti(psp);
> +		ret = psp_populate_hsti(psp);
>   		if (ret)
>   			return ret;
>   	}