From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH v3 3/8] cgroup: net_prio: Do not define task_netpioidx() when not selected Date: Tue, 11 Sep 2012 13:37:28 -0700 Message-ID: <20120911203728.GX7677@google.com> References: <1347380774-9546-1-git-send-email-wagi@monom.org> <1347380774-9546-4-git-send-email-wagi@monom.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Daniel Wagner , Gao feng , Jamal Hadi Salim , John Fastabend , Li Zefan , Neil Horman To: Daniel Wagner Return-path: Content-Disposition: inline In-Reply-To: <1347380774-9546-4-git-send-email-wagi-kQCPcA+X3s7YtjvyW6yDsg@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Tue, Sep 11, 2012 at 06:26:09PM +0200, Daniel Wagner wrote: > From: Daniel Wagner > > task_netprioidx() should not be defined in case the configuration is > CONFIG_NETPRIO_CGROUP=n. The reason is that in a following patch the > net_prio_subsys_id will only be defined if CONFIG_NETPRIO_CGROUP!=n. > When net_prio is not built at all any callee should only get an empty > task_netprioidx() without any references to net_prio_subsys_id. > > Signed-off-by: Daniel Wagner > Cc: Gao feng > Cc: Jamal Hadi Salim > Cc: John Fastabend > Cc: Li Zefan > Cc: Neil Horman > Cc: Tejun Heo > Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org For 1-3. Acked-by: Tejun Heo Thanks. -- tejun