[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210614093502.16797-1-sjpark@amazon.de>
Date: Mon, 14 Jun 2021 09:35:02 +0000
From: SeongJae Park <sj38.park@...il.com>
To: sieberf@...zon.com
Cc: sj38.park@...il.com, Jonathan.Cameron@...wei.com, acme@...nel.org,
akpm@...ux-foundation.org, alexander.shishkin@...ux.intel.com,
amit@...nel.org, benh@...nel.crashing.org,
brendanhiggins@...gle.com, corbet@....net, david@...hat.com,
dwmw@...zon.com, elver@...gle.com, fan.du@...el.com,
foersleo@...zon.de, greg@...ah.com, gthelen@...gle.com,
guoju.fgj@...baba-inc.com, linux-damon@...zon.com,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, mgorman@...e.de, minchan@...nel.org,
mingo@...hat.com, namhyung@...nel.org, peterz@...radead.org,
riel@...riel.com, rientjes@...gle.com, rostedt@...dmis.org,
rppt@...nel.org, shakeelb@...gle.com, shuah@...nel.org,
sjpark@...zon.de, snu@...zon.de, vbabka@...e.cz,
vdavydov.dev@...il.com, zgf574564920@...il.com
Subject: Re: [PATCH v29 09/13] mm/damon/dbgfs: Support multiple contexts
From: SeongJae Park <sjpark@...zon.de>
On Mon, 14 Jun 2021 11:30:12 +0200 <sieberf@...zon.com> wrote:
> + new_dir = debugfs_create_dir(name, root);
> + dbgfs_dirs[dbgfs_nr_ctxs] = new_dir;
>
> debugfs_create_dir might return ERR_PTR, should this be checked?
Greg, the maintainer of debugfs, recommended to just ignore that:
https://lore.kernel.org/linux-mm/YB1kZaD%2F7omxXztF@kroah.com/
Thanks,
SeongJae Park
Powered by blists - more mailing lists