Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4224472imm; Mon, 17 Sep 2018 10:08:32 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZzZbzGZQpxQEgh07nXotiC0ZEpK8D7GDYd1UMKQNhM1XLaIj37fuD4jmg2uO2yvLyKrvHs X-Received: by 2002:a63:5143:: with SMTP id r3-v6mr24385062pgl.11.1537204112007; Mon, 17 Sep 2018 10:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537204111; cv=none; d=google.com; s=arc-20160816; b=xapr19p2yWRFhtrgLaFRtL3AaouBMyUT3tPAYhmsWO/Rrpieky+xf+hgNG4fzPuFZH Z15Iai0598ZHhoPY28l0pfON2Lw5LRGFDZc94AIyfPIa+BqnaE5dHoKVxpGB8UFs/Rq4 IyKj8rFiZgp6xIV4/0ettt0FIcIZuQRfGaPek61TXfBhbrMdbBw8wsgfcsPfjPQayGE+ snzJFkHOytqQOm1WlwR5BfIxIDEmClLLyWpnYOyJ6h/CncnjUf9NJ7F8CYC+Wrv2MAA/ Vno08nseZApmxBA1omESefiKs0WqZQdgW6nM0YEcfqekvIdRhc+uFPyQrCPFrwZNDlAc Aiag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=9llDvj+MGhoQ/swlpNHTD1X/Ok4jKxcp0PMG0rJEJdE=; b=wqy2+yMROgpIym6Slhm4CMGMFcVMlkTjpt2obO6LGmGH9M1WE0opIR1f9IhQtSBm5L IYqr5T6Iz78FtTofaU7VBzk3jKva7wNGQeJjTXgJY1cXBs+f1zjsWi60iIUKQ2GcaSUS mdpaKyFTUh2zEafmmU3BkIT8/EL9QTgIZCm31JJHK9EzEHHOZPHUa1IZ906JrwtVZrX1 pDRO2W4h7bAXq793oL+tgMkoTtZN1y5fYRUbtFWfhBNmLa2wBsH4l+s0bJCjccp9Qet8 3TT93dBMfWlONleQOl+Yngrf1LSxOYe7AV31m4hYYYqutO4m8mkG23sguxmUcD5VNxGH QklQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a93-v6si16781563pla.277.2018.09.17.10.08.10; Mon, 17 Sep 2018 10:08:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728189AbeIQWbh (ORCPT + 99 others); Mon, 17 Sep 2018 18:31:37 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:24947 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbeIQWbh (ORCPT ); Mon, 17 Sep 2018 18:31:37 -0400 X-IronPort-AV: E=Sophos;i="5.53,386,1531810800"; d="scan'208";a="17300667" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Sep 2018 10:03:24 -0700 Received: from localhost.localdomain (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Mon, 17 Sep 2018 10:03:23 -0700 Subject: Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories To: CC: , , , , , , , , , References: <20180911154007.17195-1-tudor.ambarus@microchip.com> <20180911154007.17195-2-tudor.ambarus@microchip.com> From: Tudor Ambarus Message-ID: <9953d6e5-1049-5645-31e3-7c05071c09aa@microchip.com> Date: Mon, 17 Sep 2018 20:03:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180911154007.17195-2-tudor.ambarus@microchip.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Boris, On 09/11/2018 06:40 PM, Tudor Ambarus wrote: > diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c [cut] > /* I missed to use the opening comment mark for kernel-doc comments: "/**". This observation applies to all newly introduced function descriptions, in this patch and in the next as well. > + * spi_nor_div_by_erase_size() - calculate remainder and update new dividend > + * @erase: pointer to a structure that describes a SPI NOR erase type > + * @dividend: dividend value > + * @remainder: pointer to u32 remainder (will be updated) > + * > + * Returns two values: remainder and the new dividend I should have used "Return: describe the return value" in order to be aligned with the example from kernel-doc. This also applies to most of the function descriptions. [cut] > +/* > + *spi_nor_init_uniform_erase_map() - Initialize uniform erase map add a space after that "*" I will gladly submit a new version if there are no other comments. Please let me know. Cheers, ta