Subject: Re: [PATCH v3 3/8] cgroup: net_prio: Do not define task_netpioidx() when not selected

From: Tejun Heo <[email-masked]>
Date: Tue, 11 Sep 2012 13:37:28 -0700

On Tue, Sep 11, 2012 at 06:26:09PM +0200, Daniel Wagner wrote:
> From: Daniel Wagner <[email-masked]>
> 
> 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 <[email-masked]>
> Cc: Gao feng <[email-masked]>
> Cc: Jamal Hadi Salim <jhs-jkUAjuhPggJWk0Htik3J/[email-masked]>
> Cc: John Fastabend <[email-masked]>
> Cc: Li Zefan <[email-masked]>
> Cc: Neil Horman <[email-masked]>
> Cc: Tejun Heo <[email-masked]>
> Cc: [email-masked]
> Cc: [email-masked]

For 1-3.

  Acked-by: Tejun Heo <[email-masked]>

Thanks.

-- 
tejun