Thread (12 messages) flat view 12 messages, 2 authors, 2021-05-20

Re: [PATCH v4 2/4] nvmem: eeprom: at25: add support for FRAM

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-05-20 05:53:21
Also in: lkml

On Thu, May 20, 2021 at 07:47:12AM +0200, Jiri Prchal wrote:
+static int mypow(int x, int n)
+{
+	int i;
+	int res = 1;
+
+	for (i = 0; i < n; ++i)
+		res *= x;
+
+	return res;
+}
We really don't have a in-kernel function for this today?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help