From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zefan Li Subject: Re: [PATCH 1/6] cgroup: make cftype->private a unsigned long Date: Tue, 30 Jun 2015 14:50:26 +0800 Message-ID: <55923C32.4020909@huawei.com> References: <1435268337-1738-1-git-send-email-tj@kernel.org> <1435268337-1738-2-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1435268337-1738-2-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Tejun Heo Cc: axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, avanzini.arianna-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, kernel-team-b10kYP2dOMg@public.gmane.org, Johannes Weiner On 2015/6/26 5:38, Tejun Heo wrote: > It's pretty unusual to have an int as a private data field and it > makes it impossible to carray a pointer value through it. Let's make > it an unsigned long. AFAICS, this shouldn't break anything. > > Signed-off-by: Tejun Heo > Cc: Johannes Weiner > Cc: Li Zefan Acked From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbbF3Gvy (ORCPT ); Tue, 30 Jun 2015 02:51:54 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:4326 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750992AbbF3Gvs (ORCPT ); Tue, 30 Jun 2015 02:51:48 -0400 Message-ID: <55923C32.4020909@huawei.com> Date: Tue, 30 Jun 2015 14:50:26 +0800 From: Zefan Li User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Tejun Heo CC: , , , , , , Johannes Weiner Subject: Re: [PATCH 1/6] cgroup: make cftype->private a unsigned long References: <1435268337-1738-1-git-send-email-tj@kernel.org> <1435268337-1738-2-git-send-email-tj@kernel.org> In-Reply-To: <1435268337-1738-2-git-send-email-tj@kernel.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.18.230] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020206.55923C3C.013F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: bc58aa022f4abed80a8ffba1cb924807 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015/6/26 5:38, Tejun Heo wrote: > It's pretty unusual to have an int as a private data field and it > makes it impossible to carray a pointer value through it. Let's make > it an unsigned long. AFAICS, this shouldn't break anything. > > Signed-off-by: Tejun Heo > Cc: Johannes Weiner > Cc: Li Zefan Acked