[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YFtW3XxE9mjl0n1+@google.com>
Date: Wed, 24 Mar 2021 08:12:29 -0700
From: Minchan Kim <minchan@...nel.org>
To: Dmitry Osipenko <digetx@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-mm <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>, gregkh@...uxfoundation.org,
surenb@...gle.com, joaodias@...gle.com, jhubbard@...dia.com,
willy@...radead.org
Subject: Re: [PATCH v6] mm: cma: support sysfs
On Wed, Mar 24, 2021 at 03:33:07PM +0300, Dmitry Osipenko wrote:
> 24.03.2021 04:05, Minchan Kim пишет:
> > +static struct kobject *cma_kobj_root;
>
> This should be a local variable.
Sure.
>
> > +static struct kobj_type cma_ktype = {
> > + .release = cma_kobj_release,
> > + .sysfs_ops = &kobj_sysfs_ops,
> > + .default_groups = cma_groups
>
> I'd add a comma to the end, for consistency.
Yub.
Powered by blists - more mailing lists