[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YKX5S/6rKFhgpqhS@kroah.com>
Date: Thu, 20 May 2021 07:53:15 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Jiri Prchal <jiri.prchal@...ignal.cz>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>,
Christian Eggers <ceggers@...i.de>,
Arnd Bergmann <arnd@...db.de>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v4 2/4] nvmem: eeprom: at25: add support for FRAM
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?
Powered by blists - more mailing lists