Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp480721rdb; Thu, 21 Dec 2023 15:36:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFatcmxhhnrXfpbLxfpCLuhi014Q4ck+GkM50IFkB7ZfIzSf0At+l+pHpfsjw7lfiVBEkaW X-Received: by 2002:a50:cd14:0:b0:553:7303:96e5 with SMTP id z20-20020a50cd14000000b00553730396e5mr179481edi.24.1703201761311; Thu, 21 Dec 2023 15:36:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703201761; cv=none; d=google.com; s=arc-20160816; b=to/zPd4pzJwH7ID0/WxVL/Jklow2IdBONky3T939U+36ffWOtjBKzjQ1boIRHiXTxI 5DL7l2SO7SXmV1vh2hHX9v26jex3xz7MmIMNRV7tMqfenxk07e18BAo6gHyUOI7z4B/h JYhplPBY1mn83DlV22t/GrPgQquHiOSPMK5TURKFnx397zW/HjO4IxpGqrL/X7j1/qAF sx5PWcvlvucl/LIAsQWGNF5lQJPcUsypPU+yVT3zzResGdMZSRAgkCm5FAQXwCJVJP5X Gpmt9LrAtx4fStbGyDtMdXLYZiN8eYKDIGVWhMXGAi762CRwF8ZPwurjoXbD7eeNtbh3 QUAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=8FYhv/qb+6/MBCl737xyFJbR/0xxh2L787E/+trTVXo=; fh=OYLNdICi2gaTxTn7A7CULYh3NM5ccrsA7Z2Ow5kt+hQ=; b=mSwoeJwr5LPYqYAXFeY1vh4hEtEi3EW8jdu9yFX3YAUX3w640JqIUyqy9T7lwaWcL+ s07WHiI3crk7+xHAClr7rH8IGB1CmmNRb1vq1QkWHBTPXfX6DLRWiAb1opP3D8O8NEm3 YXFrX7TAVJA4/8Zj1ejL4l2ULpx0ZFmweKEU20qo37AFQnmhAZjDu0SP+PyFFSz8FeF2 /yLswHPGNfu/HLImKkZ1vMSYHNRwQKF6Z8BYYghKuZPHoccFWYvCo1vOObXtR8CTYDZy 8qldKf0sVD3LVLX3JpyDmHDejs//wsN9VcBzqvujZaOfy1053yAJITpPjIfSp6TfduN0 4ODA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=kvP9wjFW; spf=pass (google.com: domain of linux-kernel+bounces-9178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9178-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q17-20020a056402519100b00550db4d6ec5si1374516edd.340.2023.12.21.15.36.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 15:36:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=kvP9wjFW; spf=pass (google.com: domain of linux-kernel+bounces-9178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9178-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BC8FF1F26C69 for ; Thu, 21 Dec 2023 23:26:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C18977948F; Thu, 21 Dec 2023 23:26:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="kvP9wjFW" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3356676DC3; Thu, 21 Dec 2023 23:26:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=8FYhv/qb+6/MBCl737xyFJbR/0xxh2L787E/+trTVXo=; b=kvP9wjFWyiraV1SOjfOPVNjTjS oqlBA+ejSgPpDEbhyNjpSGI+/CfpCQOz7/briNvxNOhMAqiz1Strqjm9jwG6C8kaIJ63SPChOt7xr 4GW0jDHKWYE6Gh0uUvhRTGDqOEHBQt+az6dl5nWfOZVbYglDtQ9oJqr306rVExdqBke/lbVf857SB 5Y8B/GV/nGqHgs3slEolu4B4EpernRodgCifB1uSCA2qC/ISBcXn/D7PjFIowDmP/TICdxfsQkt9j 4JWMOf9LDtZimdw74lRIvu1md4PAnFI91qoEVi18cNKu1RsFi21Xtfvc8DUwGV6U27Bm0OzyCN/kH 3aG0aCrQ==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGSQW-004Qlx-1J; Thu, 21 Dec 2023 23:26:04 +0000 Message-ID: Date: Thu, 21 Dec 2023 15:26:04 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] nvdimm/namespace: fix kernel-doc for function params Content-Language: en-US To: Ira Weiny , linux-kernel@vger.kernel.org Cc: Dan Williams , Vishal Verma , Dave Jiang , nvdimm@lists.linux.dev References: <20231207210545.24056-1-rdunlap@infradead.org> <20231207210545.24056-3-rdunlap@infradead.org> <6584bce9d01cc_55802294dc@iweiny-mobl.notmuch> From: Randy Dunlap In-Reply-To: <6584bce9d01cc_55802294dc@iweiny-mobl.notmuch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/21/23 14:32, Ira Weiny wrote: > Randy Dunlap wrote: > > [snip] > >> @@ -1656,8 +1664,10 @@ static int select_pmem_id(struct nd_regi >> /** >> * create_namespace_pmem - validate interleave set labelling, retrieve label0 >> * @nd_region: region with mappings to validate >> - * @nspm: target namespace to create >> + * @nd_mapping: container of dpa-resource-root + labels >> * @nd_label: target pmem namespace label to evaluate >> + * >> + * Returns: the created &struct device on success or -errno on error > > NIT: should this be ERR_PTR(-errno) on error? Oh, for sure. Thanks for catching that. > Generally good to me though. > > Reviewed-by: Ira Weiny > >> */ >> static struct device *create_namespace_pmem(struct nd_region *nd_region, >> struct nd_mapping *nd_mapping, -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html