From: Eugeniu Rosca Date: Fri, 14 Jun 2019 10:41:53 +0200 Subject: [U-Boot] [PATCH v3 2/3] fastboot: getvar: Refactor fastboot_*_get_part_info() usage In-Reply-To: <20190613181109.6917-3-semen.protsenko@linaro.org> References: <20190613181109.6917-1-semen.protsenko@linaro.org> <20190613181109.6917-3-semen.protsenko@linaro.org> Message-ID: <20190614084153.GA10264@vmlxhi-102.adit-jv.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 13, 2019 at 09:11:08PM +0300, Sam Protsenko wrote: [..] > + * Get partition number and size for any storage type. [..] > + * @return Partition number or negative value on error [..] I think the word 'number' should be blacklisted in the vocabulary of software development. It can be aliased with 'count' or 'index' depending on context. [1] https://marc.info/?l=linux-kernel&m=132388598809954&w=2 [2] https://patchwork.ozlabs.org/patch/1044151/#2108815 -- Best Regards, Eugeniu.