Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5680764imu; Sun, 2 Dec 2018 00:46:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/XDsQWsAdndpIUFD7/VALKj2iTnZg3MfRvEMrBUQXNCEEoMz2eRyDjeAOEevuXJoF1VKwX6 X-Received: by 2002:a62:61c3:: with SMTP id v186mr276693pfb.55.1543740406753; Sun, 02 Dec 2018 00:46:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543740406; cv=none; d=google.com; s=arc-20160816; b=rQVji1WLy8Ml9SoB2JWNtaLIDZnk/IGlj5VwXCwpXm/n+zavxhHjowahZ9xc7dPXTU UBhk/jlptpPgGBzMv3jrspGyBY6DIC1yhBiCudsxyJy5ZelR+eNKuv/17b9+fYmqst/7 ryfd5AmVYX2BVYn2wQkNk2ejgOD4PDjLcCMQ4ug0jVgHooLFJaWYFoDlv2F5Cf4njfL7 HKMCx9OVUyPmEXwSY+QIkOjZzUrEjvSTc3DRvrZj5Qn2RUYYo153iO1eS0gAtIaJhuN4 sqQNJmpAFxRNUoi3+jCHCoQyewaX0jAhyyP17YZBw8PzD4Fem+7UhHUToB9ikuaHqzBi bYRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3bWKE5JSALxoJQI1liVvsuuMJC0VzlUP/kNW2jboTMw=; b=fe7iHnWauK2viTX6NUl/5OLK/Z0DAtHJ+1DlPyqzERKUQWvj5arkmKJFEhTL1Y1bL9 PZUqY1EzhWppZkb7h2GaiLLJu0jvwym0jQRKiDr6myJ9zca/stqWkdCEMxBh7ir587Zx Dr594BKahag9gOh/Hb8zOvytTviONvANkh9w4CwT6JUmd2fx43i5kc82KGsLCOpdAziC EQJRRilQ9WFlld25+06eeSY/14AuSNxlWA4zmvjvWyzY5HUlykw1mh/2WZMb2FN5gP5Z zGtuCI+X+QmfXMzjjuVFMCQPoyKvyrFMGs962LFnXEKFV6su41lUv54d1bX9xpmMbr3r 7k7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qhshaSvj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18si9489500pls.115.2018.12.02.00.46.31; Sun, 02 Dec 2018 00:46:46 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qhshaSvj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725793AbeLBIp7 (ORCPT + 99 others); Sun, 2 Dec 2018 03:45:59 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:35504 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbeLBIp7 (ORCPT ); Sun, 2 Dec 2018 03:45:59 -0500 Received: by mail-it1-f195.google.com with SMTP id p197so4442525itp.0 for ; Sun, 02 Dec 2018 00:45:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3bWKE5JSALxoJQI1liVvsuuMJC0VzlUP/kNW2jboTMw=; b=qhshaSvjY82dhjjMS4YeVV252/5UOPwD6v6GWBRDYsxhcjhZradz9m/ZRkho43FLj9 pGV2h98XNv/s42d1J2irEMEPhThp5GvGTWgSH7gYqOLfc2L8lGvJb8llHJ20+NpYZmev X2xboe3D//Cpig90yCcecIv6sZ/Vbii49IR94D7qS9MRVKFFQ1PgbFRzM2H08OuCwr4+ DD2osoZR8c2Q91fFkehXxApkGoZMZ+ckTCZCbzB5gUAzSaa2lz0kCyFhF9UinHyXDeSe jnBa3r6GgVKDJG8bcS65LVPqWlnOWBGtHUrBbX/FmK1Acss7iCiz/MtPKAxLBlIyWJkd g7OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3bWKE5JSALxoJQI1liVvsuuMJC0VzlUP/kNW2jboTMw=; b=kZZ4Awr9MhRbcJ6UC08CdHV6k8O9s5Rst9W/Nu7SXOJH6fGzf6Rx0w2HA8P+p3Aeca WLJdO4pNjKQLV3WUdkRDkSg5NkVHPg2bVpnOb0SXa4UZ5g2oDc9c9J1COrZu4RbgfCyi wqt0DKKuwm4GYgTeyxydNqWgUcoeX+tDAR0jyCO7BQt4YWCopuwZYGV7h+dFcgorM1fP D0sTqk7Isa9OnqugVOLq0/RvQENPLqHiCsWm6ePXZI5r4b2y/svYIi/i1LVQhLLUkmo6 SsRXCOTJUAn2G07vEnS9zQdTFBqDUwSp6z042ePwkWariNJDs8NnMawXSl8I/m27AYvl ZWeg== X-Gm-Message-State: AA+aEWYexbd2BuGtnm3cc0dVK/GdNsQzGA8nGDpCsbeShunYyj26U9b+ O/8/WVheSZDUl154BHYsevKc2uD+H8Xk4WFHTFk= X-Received: by 2002:a05:660c:250:: with SMTP id t16mr4204632itk.78.1543740351623; Sun, 02 Dec 2018 00:45:51 -0800 (PST) MIME-Version: 1.0 References: <20181202083358.10896-1-tiny.windzz@gmail.com> <20181202093958.6419fd24@bbrezillon> In-Reply-To: <20181202093958.6419fd24@bbrezillon> From: Frank Lee Date: Sun, 2 Dec 2018 16:45:28 +0800 Message-ID: Subject: Re: [PATCH] mtd: use DEFINE_SHOW_ATTRIBUTE() instead of open-coding it To: boris.brezillon@bootlin.com Cc: robert.jarzmik@free.fr, David Woodhouse , Brian Norris , =?UTF-8?B?TWFyZWsgVmHFoXV0?= , richard@nod.at, miquel.raynal@bootlin.com, Kees Cook , Shreeya Patel , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 2, 2018 at 4:40 PM Boris Brezillon wrote: > > Should be [PATCH v4] > > On Sun, 2 Dec 2018 03:33:58 -0500 > Yangtao Li wrote: > > > DEFINE_SHOW_ATTRIBUTE macro can help us simplify the code,so change > > to it.And change the DEBUGFS_RO_ATTR macro defined in some file to a > > standard macro. > > You still don't put spaces after commas or periods > > > > > Signed-off-by: Yangtao Li > > --- > > and you miss a changelog here. --- Changes in v2: -Remove a missing DEBUGFS_RO_ATTR Changes in v3: -remove the blank line between the function definition and DEFINE_SHOW_ATTRIBUTE() Changes in v4: -update subject and changelog --- Yours, Yangtao > > Anyway, no need to send a new version, I'll fix the commit message when > applying the patch. > > Thanks, > > Boris