Re: [PATCH v29 09/13] mm/damon/dbgfs: Support multiple contexts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: SeongJae Park <sjpark@xxxxxxxxx>

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


Thanks,
SeongJae Park



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux