From: Joe Perches <joe@perches.com>
To: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: jic23@kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [Patch v4 1/6] devres: introduce API "devm_kmemdup
Date: Sun, 13 Apr 2014 21:32:55 -0700 [thread overview]
Message-ID: <1397449975.5243.9.camel@joe-AO722> (raw)
In-Reply-To: <1397449647-31708-1-git-send-email-srinivas.pandruvada@linux.intel.com>
On Sun, 2014-04-13 at 21:27 -0700, Srinivas Pandruvada wrote:
> Introduce devm_kmemdup, which uses resource managed kmalloc.
> There are several request from maintainers to add this instead
> of using kmemdup.
[]
> diff --git a/include/linux/device.h b/include/linux/device.h
[]
> @@ -629,6 +629,8 @@ static inline void *devm_kcalloc(struct device *dev,
> }
> extern void devm_kfree(struct device *dev, void *p);
> extern char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp);
> +extern void *devm_kmemdup(struct device *dev, const void *src, size_t len,
> + gfp_t gfp);
Please align the arguments to the open parenthesis.
prev parent reply other threads:[~2014-04-14 4:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-14 4:27 [Patch v4 1/6] devres: introduce API "devm_kmemdup Srinivas Pandruvada
2014-04-14 4:27 ` [Patch v4 2/6] IIO: core: Introduce read_raw_multi Srinivas Pandruvada
2014-04-14 4:27 ` [Patch v4 3/6] IIO: core: Modify scan element type Srinivas Pandruvada
2014-04-14 4:27 ` [Patch v4 4/6] IIO: core: Add quaternion modifier Srinivas Pandruvada
2014-04-14 4:27 ` [Patch v4 5/6] iio: hid-sensors: Added device rotation support Srinivas Pandruvada
2014-04-14 4:27 ` [Patch v4 6/6] iio: Added ABI description for quaternion Srinivas Pandruvada
2014-04-14 4:32 ` Joe Perches [this message]
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=1397449975.5243.9.camel@joe-AO722 \
--to=joe@perches.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=srinivas.pandruvada@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox