diff options
author | Zhu Wang <wangzhu9@huawei.com> | 2023-07-31 13:29:42 +0200 |
---|---|---|
committer | Ira Weiny <ira.weiny@intel.com> | 2023-10-18 18:48:05 +0200 |
commit | 9ea459e477dc09370cdd8ee13b61aefe8cd1f20a (patch) | |
tree | 69f7ae3fb67b7e549ce2b15adc58e648550a8932 /drivers/nvdimm | |
parent | testing: nvdimm: make struct class structures constant (diff) | |
download | linux-9ea459e477dc09370cdd8ee13b61aefe8cd1f20a.tar.xz linux-9ea459e477dc09370cdd8ee13b61aefe8cd1f20a.zip |
libnvdimm: remove kernel-doc warnings:
Remove kernel-doc warnings:
drivers/nvdimm/badrange.c:271: warning: Function parameter or member
'nd_region' not described in 'nvdimm_badblocks_populate'
drivers/nvdimm/badrange.c:271: warning: Function parameter or member
'range' not described in 'nvdimm_badblocks_populate'
drivers/nvdimm/badrange.c:271: warning: Excess function parameter 'region'
description in 'nvdimm_badblocks_populate'
drivers/nvdimm/badrange.c:271: warning: Excess function parameter 'res'
description in 'nvdimm_badblocks_populate'
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
Link: https://lore.kernel.org/r/20230731112942.215135-1-wangzhu9@huawei.com
Tested-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Diffstat (limited to 'drivers/nvdimm')
-rw-r--r-- | drivers/nvdimm/badrange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvdimm/badrange.c b/drivers/nvdimm/badrange.c index aaf6e215a8c6..a002ea6fdd84 100644 --- a/drivers/nvdimm/badrange.c +++ b/drivers/nvdimm/badrange.c @@ -257,9 +257,9 @@ static void badblocks_populate(struct badrange *badrange, /** * nvdimm_badblocks_populate() - Convert a list of badranges to badblocks - * @region: parent region of the range to interrogate + * @nd_region: parent region of the range to interrogate * @bb: badblocks instance to populate - * @res: resource range to consider + * @range: resource range to consider * * The badrange list generated during bus initialization may contain * multiple, possibly overlapping physical address ranges. Compare each |