Commit b1921141 authored by Randy Dunlap's avatar Randy Dunlap Committed by Ira Weiny
Browse files

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: default avatarRandy 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: default avatarIra Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20231207210545.24056-1-rdunlap@infradead.org


Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
parent 9aa6543e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1545,7 +1545,7 @@ static void btt_blk_cleanup(struct btt *btt)
 * @rawsize:	raw size in bytes of the backing device
 * @lbasize:	lba size of the backing device
 * @uuid:	A uuid for the backing device - this is stored on media
 * @maxlane:	maximum number of parallel requests the device can handle
 * @nd_region:	&struct nd_region for the REGION device
 *
 * Initialize a Block Translation Table on a backing device to provide
 * single sector power fail atomicity.