All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] cgroup: fix written mistake in warning message
@ 2016-02-26  5:07 Xiubo Li
       [not found] ` <1456463258-6617-1-git-send-email-lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Xiubo Li @ 2016-02-26  5:07 UTC (permalink / raw)
  To: tj-DgEjT+Ai2ygdnm+yROfE0A, lizefan-hv44wF8Li93QT0dZR+AlfA
  Cc: cgroups-u79uwXL29TY76Z2rM5mHXA, Xiubo Li

There is written mistake about the print format name:id <--> %d:%s,
which the name is 'char *' type and id is 'int' type. Change "name:id"
to "id:name" instead to be consistent with "cgroup_subsys %d:%s".

Signed-off-by: Xiubo Li <lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>
---

Changed in v2:

- change "name:id" to "id:name" instead to be consistent with "cgroup_subsys %d:%s".


 kernel/cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index cc40463..a81b4be 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -5324,7 +5324,7 @@ int __init cgroup_init_early(void)
 
 	for_each_subsys(ss, i) {
 		WARN(!ss->css_alloc || !ss->css_free || ss->name || ss->id,
-		     "invalid cgroup_subsys %d:%s css_alloc=%p css_free=%p name:id=%d:%s\n",
+		     "invalid cgroup_subsys %d:%s css_alloc=%p css_free=%p id:name=%d:%s\n",
 		     i, cgroup_subsys_name[i], ss->css_alloc, ss->css_free,
 		     ss->id, ss->name);
 		WARN(strlen(cgroup_subsys_name[i]) > MAX_CGROUP_TYPE_NAMELEN,
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] cgroup: fix written mistake in warning message
       [not found] ` <1456463258-6617-1-git-send-email-lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>
@ 2016-02-27  0:43   ` Zefan Li
  2016-02-27 11:38   ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Zefan Li @ 2016-02-27  0:43 UTC (permalink / raw)
  To: Xiubo Li, tj-DgEjT+Ai2ygdnm+yROfE0A; +Cc: cgroups-u79uwXL29TY76Z2rM5mHXA

On 2016/2/26 13:07, Xiubo Li wrote:
> There is written mistake about the print format name:id <--> %d:%s,
> which the name is 'char *' type and id is 'int' type. Change "name:id"
> to "id:name" instead to be consistent with "cgroup_subsys %d:%s".
> 
> Signed-off-by: Xiubo Li <lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>

Acked-by: Zefan Li <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] cgroup: fix written mistake in warning message
       [not found] ` <1456463258-6617-1-git-send-email-lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>
  2016-02-27  0:43   ` Zefan Li
@ 2016-02-27 11:38   ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2016-02-27 11:38 UTC (permalink / raw)
  To: Xiubo Li; +Cc: lizefan-hv44wF8Li93QT0dZR+AlfA, cgroups-u79uwXL29TY76Z2rM5mHXA

On Fri, Feb 26, 2016 at 01:07:38PM +0800, Xiubo Li wrote:
> There is written mistake about the print format name:id <--> %d:%s,
> which the name is 'char *' type and id is 'int' type. Change "name:id"
> to "id:name" instead to be consistent with "cgroup_subsys %d:%s".
> 
> Signed-off-by: Xiubo Li <lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>

Applied to cgroup/for-4.6.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-27 11:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26  5:07 [PATCH v2] cgroup: fix written mistake in warning message Xiubo Li
     [not found] ` <1456463258-6617-1-git-send-email-lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>
2016-02-27  0:43   ` Zefan Li
2016-02-27 11:38   ` Tejun Heo

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.