public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Jiri Prchal <jiri.prchal@aksignal.cz>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Rob Herring <robh+dt@kernel.org>,
	Christian Eggers <ceggers@arri.de>, Arnd Bergmann <arnd@arndb.de>,
	kernel test robot <lkp@intel.com>
Subject: Re: [PATCH v4 2/4] nvmem: eeprom: at25: add support for FRAM
Date: Thu, 20 May 2021 07:53:15 +0200	[thread overview]
Message-ID: <YKX5S/6rKFhgpqhS@kroah.com> (raw)
In-Reply-To: <20210520054714.8736-3-jiri.prchal@aksignal.cz>

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?

  reply	other threads:[~2021-05-20  5:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20  5:47 [PATCH v4 0/4] add support for FRAM Jiri Prchal
2021-05-20  5:47 ` [PATCH v4 1/4] nvmem: eeprom: at25: " Jiri Prchal
2021-05-20  5:53   ` Greg Kroah-Hartman
2021-05-20  6:54     ` Jiří Prchal
2021-05-20  7:08       ` Greg Kroah-Hartman
2021-05-20  5:47 ` [PATCH v4 2/4] " Jiri Prchal
2021-05-20  5:53   ` Greg Kroah-Hartman [this message]
2021-05-20  5:47 ` [PATCH v4 3/4] nvmem: eeprom: add documentation " Jiri Prchal
2021-05-20  5:47 ` [PATCH v4 4/4] nvmem: eeprom: at25: export FRAM serial num Jiri Prchal
2021-05-20  5:52   ` Greg Kroah-Hartman
2021-05-20  6:56     ` Jiří Prchal
2021-05-20  7:08       ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YKX5S/6rKFhgpqhS@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=arnd@arndb.de \
    --cc=ceggers@arri.de \
    --cc=devicetree@vger.kernel.org \
    --cc=jiri.prchal@aksignal.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox