[dpdk-dev] [PATCH] e1000/base: fix the wrong assignment to msgbuf[0]

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Feb 14 09:50:27 CET 2017


2017-02-14 04:14, Yong Wang:
> In function e1000_update_mc_addr_list_vf(), "msgbuf[0]" is used prior
> to initialization at "msgbuf[0] |= E1000_VF_SET_MULTICAST_OVERFLOW".
> And "msgbuf[0]" is overwritten at "msgbuf[0] = E1000_VF_SET_MULTICAST".
> Fix it by moving the second line prior to the first one that mentioned
> above.
> 
> Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>

Note about the title: msgbuf[0] does not explain anything in the title
because we have no context when browsing the titles.
It could be "e1000/base: fix multicast setting in VF".


More information about the dev mailing list