On Tue, Apr 20, 2021 at 05:28:43PM +0800, Zhu Yanjun wrote:
> On Tue, Apr 20, 2021 at 5:21 PM Leon Romanovsky wrote:
> >
> > On Tue, Apr 20, 2021 at 03:09:03PM +0800, Zhu Yanjun wrote:
> > > On Tue, Apr 20, 2021 at 3:01 PM wangyunjian
> > > wrote:
> > > >
> > > > From: Yunjian Wang
> > > >
> >
On Tue, Apr 20, 2021 at 5:21 PM Leon Romanovsky wrote:
>
> On Tue, Apr 20, 2021 at 03:09:03PM +0800, Zhu Yanjun wrote:
> > On Tue, Apr 20, 2021 at 3:01 PM wangyunjian wrote:
> > >
> > > From: Yunjian Wang
> > >
> > > The 'comps' struct field in 'moder' is not being initialized in
> > > mlx5e_get
On Tue, Apr 20, 2021 at 03:09:03PM +0800, Zhu Yanjun wrote:
> On Tue, Apr 20, 2021 at 3:01 PM wangyunjian wrote:
> >
> > From: Yunjian Wang
> >
> > The 'comps' struct field in 'moder' is not being initialized in
> > mlx5e_get_def_rx_moderation() and mlx5e_get_def_tx_moderation().
> > So initializ
On Tue, Apr 20, 2021 at 3:01 PM wangyunjian wrote:
>
> From: Yunjian Wang
>
> The 'comps' struct field in 'moder' is not being initialized in
> mlx5e_get_def_rx_moderation() and mlx5e_get_def_tx_moderation().
> So initialize 'moder' to zero to avoid the issue.
>
> Addresses-Coverity: ("Uninitiali
From: Yunjian Wang
The 'comps' struct field in 'moder' is not being initialized in
mlx5e_get_def_rx_moderation() and mlx5e_get_def_tx_moderation().
So initialize 'moder' to zero to avoid the issue.
Addresses-Coverity: ("Uninitialized scalar variable")
Signed-off-by: Yunjian Wang
---
v2: update