diff mbox series

ndtest: fix typo class_regster -> class_register

Message ID 20231127040026.362729-1-yi.zhang@redhat.com (mailing list archive)
State Handled Elsewhere
Delegated to: Ira Weiny
Headers show
Series ndtest: fix typo class_regster -> class_register | expand

Commit Message

Yi Zhang Nov. 27, 2023, 4 a.m. UTC
Fixes: dd6cad2dcb58 ("testing: nvdimm: make struct class structures constant")
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
---
 tools/testing/nvdimm/test/ndtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Greg KH Nov. 27, 2023, 8:28 a.m. UTC | #1
On Mon, Nov 27, 2023 at 12:00:26PM +0800, Yi Zhang wrote:
> Fixes: dd6cad2dcb58 ("testing: nvdimm: make struct class structures constant")
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
> ---
>  tools/testing/nvdimm/test/ndtest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- You did not specify a description of why the patch is needed, or
  possibly, any description at all, in the email body.  Please read the
  section entitled "The canonical patch format" in the kernel file,
  Documentation/process/submitting-patches.rst for what is needed in
  order to properly describe the change.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot
Dave Jiang Nov. 27, 2023, 5 p.m. UTC | #2
On 11/26/23 21:00, Yi Zhang wrote:
> Fixes: dd6cad2dcb58 ("testing: nvdimm: make struct class structures constant")
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
> ---
>  tools/testing/nvdimm/test/ndtest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/nvdimm/test/ndtest.c
> index fd26189d53be..b8419f460368 100644
> --- a/tools/testing/nvdimm/test/ndtest.c
> +++ b/tools/testing/nvdimm/test/ndtest.c
> @@ -924,7 +924,7 @@ static __init int ndtest_init(void)
>  
>  	nfit_test_setup(ndtest_resource_lookup, NULL);
>  
> -	rc = class_regster(&ndtest_dimm_class);
> +	rc = class_register(&ndtest_dimm_class);
>  	if (rc)
>  		goto err_register;
>
Greg KH Nov. 27, 2023, 6:07 p.m. UTC | #3
On Mon, Nov 27, 2023 at 10:00:14AM -0700, Dave Jiang wrote:
> 
> 
> On 11/26/23 21:00, Yi Zhang wrote:
> > Fixes: dd6cad2dcb58 ("testing: nvdimm: make struct class structures constant")
> > Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
> 
> Reviewed-by: Dave Jiang <dave.jiang@intel.com>
> > ---
> >  tools/testing/nvdimm/test/ndtest.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/nvdimm/test/ndtest.c
> > index fd26189d53be..b8419f460368 100644
> > --- a/tools/testing/nvdimm/test/ndtest.c
> > +++ b/tools/testing/nvdimm/test/ndtest.c
> > @@ -924,7 +924,7 @@ static __init int ndtest_init(void)
> >  
> >  	nfit_test_setup(ndtest_resource_lookup, NULL);
> >  
> > -	rc = class_regster(&ndtest_dimm_class);
> > +	rc = class_register(&ndtest_dimm_class);
> >  	if (rc)
> >  		goto err_register;
> >  

Ick, sorry about that, obviously this test isn't actually built by any
bots :(

I'll go queue this up now,

greg k-h
Ira Weiny Nov. 27, 2023, 6:24 p.m. UTC | #4
Greg KH wrote:
> On Mon, Nov 27, 2023 at 10:00:14AM -0700, Dave Jiang wrote:
> > 
> > 

[snip]

> Ick, sorry about that, obviously this test isn't actually built by any
> bots :(

Indeed.  I'm looking through the tests I ran now.

> 
> I'll go queue this up now,

Thanks,
Ira
diff mbox series

Patch

diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/nvdimm/test/ndtest.c
index fd26189d53be..b8419f460368 100644
--- a/tools/testing/nvdimm/test/ndtest.c
+++ b/tools/testing/nvdimm/test/ndtest.c
@@ -924,7 +924,7 @@  static __init int ndtest_init(void)
 
 	nfit_test_setup(ndtest_resource_lookup, NULL);
 
-	rc = class_regster(&ndtest_dimm_class);
+	rc = class_register(&ndtest_dimm_class);
 	if (rc)
 		goto err_register;