Thread (35 messages) 35 messages, 8 authors, 2021-06-15

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

From: Greg KH <hidden>
Date: 2021-06-14 09:44:27
Also in: linux-mm, lkml

On Mon, Jun 14, 2021 at 11:30:12AM +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?
No.  Why do you care, the logic will keep on working afterward even if
that were to happen.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help