linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: zhong jiang <zhongjiang@huawei.com>
Cc: <huyue2@yulong.com>, <gregkh@linuxfoundation.org>, <linux-mm@kvack.org>
Subject: Re: [PATCH] mm/cma_debug: Use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops
Date: Tue, 29 Oct 2019 14:36:36 -0700	[thread overview]
Message-ID: <20191029143636.6ef9390992ffd1879ac9ad3b@linux-foundation.org> (raw)
In-Reply-To: <1572348687-9951-1-git-send-email-zhongjiang@huawei.com>

On Tue, 29 Oct 2019 19:31:27 +0800 zhong jiang <zhongjiang@huawei.com> wrote:

> It is more clear to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs
> file operation rather than DEFINE_SIMPLE_ATTRIBUTE.

hm, they do appear to be identical.

Perhaps DEFINE_DEBUGFS_ATTRIBUTE shouldn't exist, or should be #defined
onto DEFINE_SIMPLE_ATTRIBUTE?



  reply	other threads:[~2019-10-29 21:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 11:31 zhong jiang
2019-10-29 21:36 ` Andrew Morton [this message]
2019-10-30  2:42   ` zhong jiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191029143636.6ef9390992ffd1879ac9ad3b@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=huyue2@yulong.com \
    --cc=linux-mm@kvack.org \
    --cc=zhongjiang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox