Skip to content

Commit b192114

Browse files
rddunlapweiny2
authored andcommitted
nvdimm/btt: fix btt_blk_cleanup() kernel-doc
Correct the function parameters to prevent kernel-doc warnings: btt.c:1567: warning: Function parameter or member 'nd_region' not described in 'btt_init' btt.c:1567: warning: Excess function parameter 'maxlane' description in 'btt_init' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Vishal Verma <vishal.l.verma@intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Ira Weiny <ira.weiny@intel.com> Cc: <nvdimm@lists.linux.dev> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Link: https://lore.kernel.org/r/20231207210545.24056-1-rdunlap@infradead.org Signed-off-by: Ira Weiny <ira.weiny@intel.com>
1 parent 9aa6543 commit b192114

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/nvdimm/btt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ static void btt_blk_cleanup(struct btt *btt)
15451545
* @rawsize: raw size in bytes of the backing device
15461546
* @lbasize: lba size of the backing device
15471547
* @uuid: A uuid for the backing device - this is stored on media
1548-
* @maxlane: maximum number of parallel requests the device can handle
1548+
* @nd_region: &struct nd_region for the REGION device
15491549
*
15501550
* Initialize a Block Translation Table on a backing device to provide
15511551
* single sector power fail atomicity.

0 commit comments

Comments
 (0)