Thread (10 messages) 10 messages, 2 authors, 2021-04-01

Re: [PATCH v5 2/5] powercap/drivers/dtpm: Create a registering system

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-03-31 18:07:36
Also in: lkml

On Wed, Mar 31, 2021 at 01:00:45PM +0200, Daniel Lezcano wrote:
+struct dtpm *dtpm_lookup(const char *name);
+
+int dtpm_add(const char *name, struct dtpm *dtpm);
+
+void dtpm_del(const char *name);
You can not add new kernel apis that have no user.  How do you know if
they actually work or not?  We have no idea as we do not see anyone
using them :(

So no need to add things with no user, feel free to just drop this patch
until you have one.

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