[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200410073211.GA1668699@kroah.com>
Date: Fri, 10 Apr 2020 09:32:11 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: R Veera Kumar <vkor@...en.in>
Cc: devel@...verdev.osuosl.org, Todd Kjos <tkjos@...roid.com>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linaro-mm-sig@...ts.linaro.org,
Arve Hjønnevåg <arve@...roid.com>,
Joel Fernandes <joel@...lfernandes.org>,
Laura Abbott <labbott@...hat.com>,
Martijn Coenen <maco@...roid.com>,
Sumit Semwal <sumit.semwal@...aro.org>,
Christian Brauner <christian@...uner.io>
Subject: Re: [PATCH v2] staging: android: ion: use macro
DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops
On Thu, Apr 09, 2020 at 10:43:18PM +0530, R Veera Kumar wrote:
> It is more clear to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs file
> operation rather than DEFINE_SIMPLE_ATTRIBUTE.
No, it is not "more clear", the two defines are not the same thing, they
do different things. If they were just identical, we would not need
them both :)
So please be very explicit as to _why_ you want to change this, and show
how you have verified that changing this is the correct thing to do, and
how you tested. Because the user-visible change can be quite different
with this type of kernel change.
thanks,
greg k-h
Powered by blists - more mailing lists