aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorYi Zhang <yi.zhang@redhat.com>2023-11-27 12:00:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-27 18:08:02 +0000
commit76cab6f4fd63129e852eb15e14d6d359b57e797f (patch)
tree11a85eb54cdb464a069c7f5178cdae8da8292fba
parentmisc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write (diff)
downloadwireguard-linux-76cab6f4fd63129e852eb15e14d6d359b57e797f.tar.xz
wireguard-linux-76cab6f4fd63129e852eb15e14d6d359b57e797f.zip
ndtest: fix typo class_regster -> class_register
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> Link: https://lore.kernel.org/r/20231127040026.362729-1-yi.zhang@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--tools/testing/nvdimm/test/ndtest.c2
1 files changed, 1 insertions, 1 deletions
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;