[dpdk-dev] [PATCH] examples/qos_sched: fix uninitialized scalar variable

Singh, Jasvinder jasvinder.singh at intel.com
Tue Oct 24 10:41:29 CEST 2017


> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Monday, October 23, 2017 5:32 PM
> To: Singh, Jasvinder <jasvinder.singh at intel.com>; dev at dpdk.org
> Cc: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>; Mcnamara, John
> <john.mcnamara at intel.com>
> Subject: Re: [dpdk-dev] [PATCH] examples/qos_sched: fix uninitialized scalar
> variable
> 
> On 10/23/2017 3:36 AM, Jasvinder Singh wrote:
> > Fix problem with uninitialized rx/tx deferred_start flags of the
> > struct rte_eth_rxconf/txconf by initializing with 0 value (deferred
> > start of the rx/tx queues is turned off). This setting allows device
> > rx/tx queues to start with rte_eth_dev_start().
> >
> > CID 194999 (#1 of 1): Uninitialized scalar variable (UNINIT) CID
> > 195009 (#1 of 1): Uninitialized scalar variable (UNINIT)
> 
> Is this Coverity ID? If so we have a defined format for it:

Yes, this is coverity issue.

>     Coverity issue: xxxxxx
>     Fixes: yyyyyyyyyyyy ("..................")
>     Cc: stable at dpdk.org [if required]
> 
>     Signed-off-by: .....
> 

Ok, I will resend the patch.


More information about the dev mailing list