lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YMck7uUlSvqFqJZH@kroah.com>
Date:   Mon, 14 Jun 2021 11:44:14 +0200
From:   Greg KH <greg@...ah.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, 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

On Mon, Jun 14, 2021 at 11:30:12AM +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?

No.  Why do you care, the logic will keep on working afterward even if
that were to happen.

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ