On Thu, Jul 21, 2016 at 11:35 AM, kbuild test robot <l...@intel.com> wrote:
> All warnings (new ones prefixed by >>):
>
>    In file included from include/net/act_api.h:8:0,
>                     from net/sched/act_police.c:22:
>    net/sched/act_police.c: In function 'tcf_act_police_init':
>>> include/net/sch_generic.h:782:16: warning: 'police' may be used 
>>> uninitialized in this function [-Wmaybe-uninitialized]
>      if (unlikely(r->linklayer == TC_LINKLAYER_ATM))
>                    ^
>    net/sched/act_police.c:125:21: note: 'police' was declared here
>      struct tcf_police *police;

Yeah, I need to move police = to_police(*a); down after the following
goto label.

I will update this patch after waiting for comments from Jamal.

Reply via email to