]> git.itanic.dy.fi Git - linux-stable/commit
nvdimm/namespace: fix kernel-doc for function params
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 7 Dec 2023 21:05:45 +0000 (13:05 -0800)
committerIra Weiny <ira.weiny@intel.com>
Wed, 3 Jan 2024 20:21:36 +0000 (12:21 -0800)
commitfd045e5f99723db573d671d0484543f61dc496f5
tree7f48f9599a6d0ab0ffb517aab68ad5ad1d3d3801
parent0e2b3d54d826da9def1ab627b50c123bc34250fa
nvdimm/namespace: fix kernel-doc for function params

Adjust kernel-doc notation to prevent warnings when using -Wall.

namespace_devs.c:76: warning: No description found for return value of 'nd_is_uuid_unique'
namespace_devs.c:343: warning: No description found for return value of 'shrink_dpa_allocation'
namespace_devs.c:668: warning: No description found for return value of 'grow_dpa_allocation'
namespace_devs.c:958: warning: No description found for return value of 'namespace_update_uuid'
namespace_devs.c:1665: warning: Function parameter or member 'nd_mapping' not described in 'create_namespace_pmem'
namespace_devs.c:1665: warning: Excess function parameter 'nspm' description in 'create_namespace_pmem'
namespace_devs.c:1665: warning: No description found for return value of 'create_namespace_pmem'

[iweiny: s/-errno/ERR_PTR(-errno)/]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vishal Verma <vishal.l.verma@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-3-rdunlap@infradead.org
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
drivers/nvdimm/namespace_devs.c