Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2215181pxu; Mon, 7 Dec 2020 00:01:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxb+X8Q1zF79LpqU/UH2zr6/7P/p94+pJIQyT6c4uTzMFLdVJPUgdJUPKkNFIaglPiAWgD8 X-Received: by 2002:a17:906:5c43:: with SMTP id c3mr18208521ejr.390.1607328080272; Mon, 07 Dec 2020 00:01:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607328080; cv=none; d=google.com; s=arc-20160816; b=cueQ+Xkesk+GTGSXm308+ButWZ7H4qsIdVfjeRP9UL5Kja0C5/g3tcp5Y8zVp0t7GY d8bzAnNyVtHHBpiZ3tWEwKbP1XQalSNLHZPROF4IsINoNKi0vUJvxxem9K9Sebi15CQF sBQTmljTNOCIc1PlLzcYwST3UvimPAcL3R9+6NgJ4Br7wqNARD9wLNuYDjIQpuxWVO0z vJSiH+3osKAUXITOb8OnssQ+BYAVdwrzNIlm+KlfR4DukyVa420EUZJU7E1hNBkcbDkO PjJigkuItTkFmZbNBh9TqmnLOykqYlH1txyifzFTEJKlmJ6Z5c0i41SGn9gzYiJ28XLm Olsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=vNLLZH18v1W4DivKX4rkrDi4YoO+UFnOuxmD6bxT0Dw=; b=kWI0LsJBDDzNu+8IWFODWlT6zkV0BnCVKJE60pnrrhI1htUl6HU9WTyKR1/RuEXsw2 Ey+2iBL+0omYcuxEUxtB1lkMWXQcvkpcKnwAe7I7u4cVuqT0SBwGD06jWArLyfBGQL84 D5+fmaAtvyr6oOCosGFdDNdGflbIGtN/UVvPiGsLGYy6z+NfFbgWRnSxE76ZqJstVbjA ycRT4Efw0zmd0wX9TNJfx07MB+4qwzYc2qCbaY74BlAgtA61w1difGUN+YS0Rj/3pITo 2L3XWy1PjrVdbeWt4mSJkHsWiBnJ8O6LXN72CIjYTObsPNUFyksVqxWdTVu9ViC/jaNS Nurg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn30si5975187ejc.481.2020.12.07.00.00.57; Mon, 07 Dec 2020 00:01:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726146AbgLGH4u convert rfc822-to-8bit (ORCPT + 99 others); Mon, 7 Dec 2020 02:56:50 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:51079 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbgLGH4t (ORCPT ); Mon, 7 Dec 2020 02:56:49 -0500 Received: from xps13 (lfbn-tou-1-1617-103.w109-220.abo.wanadoo.fr [109.220.208.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id B2731240006; Mon, 7 Dec 2020 07:56:05 +0000 (UTC) Date: Mon, 7 Dec 2020 08:56:04 +0100 From: Miquel Raynal To: Guohua Zhong Cc: , , , , , , , , , Subject: Re: [PATCH v2] phram: Allow the user to set the erase page size. Message-ID: <20201207085604.57a37f69@xps13> In-Reply-To: <20201207070715.15016-1-zhongguohua1@huawei.com> References: <20201207070715.15016-1-zhongguohua1@huawei.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guohua, Guohua Zhong wrote on Mon, 7 Dec 2020 15:07:15 +0800: > On Mon, Dec 7, 2020 at 14:56 AM Guohua Zhong wrote: > > > >> Permit the user to specify the erase page size as a parameter. > >> This solves two problems: > > > >> - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't > >> create images with erase sizes less than 8KiB; many architectures > >> define PAGE_SIZE as 4KiB. > > > >> - Allows more effective use of small capacity devices. JFFS2 > >> needs somewhere between 2 and 5 empty pages for garbage collection; > >> and for an NVRAM part with only 32KiB of space, a smaller erase page > >> allows much better utilization in applications where garbage collection > >> is important. > > > >> Signed-off-by: Patrick O'Grady > >> Reviewed-by: Joern Engel > >> Link: https://lore.kernel.org/lkml/CAJ7m5OqYv_=JB9NhHsqBsa8YU0DFRoP7C+W10PY22wonAGJK=A@mail.gmail.com/ > >> [Guohua Zhong: fix token array index out of bounds and update patch for kernel master branch] > >> Signed-off-by: Guohua Zhong > >> Reported-by: kernel test robot > > > > Looks good to me, except the authorship. > > If I understand correctly, you took this old patch and resend it. > > Please make sure that the "From:"-Line contains the original author. > > You can fix this up using git commit --amend --author=. > > The git format-patch will create a correct patch. > > Sorry, I am not clear this rule before. But I found the same issue independently. It looks good > after changging the erase size for phram driver. Then when I try to send the patch, I found that > Patrick O'Grady has already send a patch which has not been merged as the link below > https://lore.kernel.org/lkml/CAJ7m5OqYv_=JB9NhHsqBsa8YU0DFRoP7C+W10PY22wonAGJK=A@mail.gmail.com/ > > So I resend a patch with some change and fix for mainline kernel with the old patch link of Patrick O'Grady. > > If I need to change the authorship, I will resend this patch for V3 with authorship of Patrick O'Grady. Yes please. Also please drop the reference to kernel test robot as you are not fixing an issue in the kernel that the robot reported (perhaps you had a warning from the robot about the patch itself, this is called a review and we usually don't get credited for that, at least not with a misleading reported-by tag). Thanks, Miquèl