From: Davidlohr Bueso <dave-mXXj517/zsQ@public.gmane.org>
To: Pavel Emelianov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Cc: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Li Zefan <lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>,
lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] resource cgroups: remove bogus cast
Date: Wed, 07 Dec 2011 13:15:32 +0100 [thread overview]
Message-ID: <1323260132.3318.0.camel@offbook> (raw)
In-Reply-To: <1323119621.3244.1.camel@offbook>
ping?
On Mon, 2011-12-05 at 22:13 +0100, Davidlohr Bueso wrote:
> From: Davidlohr Bueso <dave-mXXj517/zsQ@public.gmane.org>
>
> The memparse() function already accepts const char * as the parsing string.
>
> Signed-off-by: Davidlohr Bueso <dave-mXXj517/zsQ@public.gmane.org>
> ---
> kernel/res_counter.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/res_counter.c b/kernel/res_counter.c
> index 34683ef..6d269cc 100644
> --- a/kernel/res_counter.c
> +++ b/kernel/res_counter.c
> @@ -159,8 +159,7 @@ int res_counter_memparse_write_strategy(const char *buf,
> return 0;
> }
>
> - /* FIXME - make memparse() take const char* args */
> - *res = memparse((char *)buf, &end);
> + *res = memparse(buf, &end);
> if (*end != '\0')
> return -EINVAL;
>
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Davidlohr Bueso <dave@gnu.org>
To: Pavel Emelianov <xemul@openvz.org>
Cc: Tejun Heo <tj@kernel.org>, Li Zefan <lizf@cn.fujitsu.com>,
lkml <linux-kernel@vger.kernel.org>,
containers@lists.linux-foundation.org, cgroups@vger.kernel.org
Subject: Re: [PATCH] resource cgroups: remove bogus cast
Date: Wed, 07 Dec 2011 13:15:32 +0100 [thread overview]
Message-ID: <1323260132.3318.0.camel@offbook> (raw)
In-Reply-To: <1323119621.3244.1.camel@offbook>
ping?
On Mon, 2011-12-05 at 22:13 +0100, Davidlohr Bueso wrote:
> From: Davidlohr Bueso <dave@gnu.org>
>
> The memparse() function already accepts const char * as the parsing string.
>
> Signed-off-by: Davidlohr Bueso <dave@gnu.org>
> ---
> kernel/res_counter.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/res_counter.c b/kernel/res_counter.c
> index 34683ef..6d269cc 100644
> --- a/kernel/res_counter.c
> +++ b/kernel/res_counter.c
> @@ -159,8 +159,7 @@ int res_counter_memparse_write_strategy(const char *buf,
> return 0;
> }
>
> - /* FIXME - make memparse() take const char* args */
> - *res = memparse((char *)buf, &end);
> + *res = memparse(buf, &end);
> if (*end != '\0')
> return -EINVAL;
>
next prev parent reply other threads:[~2011-12-07 12:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-05 21:13 [PATCH] resource cgroups: remove bogus cast Davidlohr Bueso
2011-12-07 12:15 ` Davidlohr Bueso [this message]
2011-12-07 12:15 ` Davidlohr Bueso
2011-12-07 12:15 ` Davidlohr Bueso
2011-12-07 13:38 ` Pavel Emelyanov
2011-12-07 13:38 ` Pavel Emelyanov
2011-12-13 15:44 ` Tejun Heo
2011-12-13 15:44 ` Tejun Heo
2011-12-13 15:44 ` Tejun Heo
-- strict thread matches above, loose matches on Subject: below --
2011-12-05 21:13 Davidlohr Bueso
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=1323260132.3318.0.camel@offbook \
--to=dave-mxxj517/zsq@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org \
--cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.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 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.