All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Cc: Mikael Starvik <starvik@axis.com>,
	Jesper Nilsson <jespern@axis.com>,
	linux-cris-kernel <linux-cris-kernel@axis.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"kernel-janitors@vger.kernel.org"
	<kernel-janitors@vger.kernel.org>
Subject: Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset
Date: Mon, 11 May 2015 11:21:40 +0000	[thread overview]
Message-ID: <20150511112140.GY11161@axis.com> (raw)
In-Reply-To: <1430488699-10878-1-git-send-email-christophe.jaillet@wanadoo.fr>

On Fri, May 01, 2015 at 03:58:19PM +0200, Christophe Jaillet wrote:
> Turn a kmalloc/memset into an equivalent kzalloc.
> Doing so also move the zero'ing of the memory outside of a mutex.

Agreed, thanks!

> Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

WARNING: multiple messages have this Message-ID (diff)
From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Cc: Mikael Starvik <starvik@axis.com>,
	Jesper Nilsson <jespern@axis.com>,
	linux-cris-kernel <linux-cris-kernel@axis.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"kernel-janitors@vger.kernel.org"
	<kernel-janitors@vger.kernel.org>
Subject: Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset
Date: Mon, 11 May 2015 13:21:40 +0200	[thread overview]
Message-ID: <20150511112140.GY11161@axis.com> (raw)
In-Reply-To: <1430488699-10878-1-git-send-email-christophe.jaillet@wanadoo.fr>

On Fri, May 01, 2015 at 03:58:19PM +0200, Christophe Jaillet wrote:
> Turn a kmalloc/memset into an equivalent kzalloc.
> Doing so also move the zero'ing of the memory outside of a mutex.

Agreed, thanks!

> Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

  reply	other threads:[~2015-05-11 11:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-01 13:58 [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset Christophe Jaillet
2015-05-01 13:58 ` Christophe Jaillet
2015-05-11 11:21 ` Jesper Nilsson [this message]
2015-05-11 11:21   ` Jesper Nilsson
  -- strict thread matches above, loose matches on Subject: below --
2015-07-07  5:55 Christophe JAILLET
2015-07-07  5:55 ` Christophe JAILLET

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=20150511112140.GY11161@axis.com \
    --to=jesper.nilsson@axis.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=jespern@axis.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-cris-kernel@axis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=starvik@axis.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.