lkml.org 
[lkml]   [2021]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v29 09/13] mm/damon/dbgfs: Support multiple contexts
Date
From: SeongJae Park <sjpark@amazon.de>

On Mon, 14 Jun 2021 11:30:12 +0200 <sieberf@amazon.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

\
 
 \ /
  Last update: 2021-06-14 11:36    [W:0.087 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site