[ovs-dev] [v1] dpif-netdev: add mfex options to scalar dpif

0-day Robot robot at bytheb.org
Wed Jul 14 03:09:33 UTC 2021


Bleep bloop.  Greetings kumar Amber, I am a robot and I have tried out your patch.
Thanks for your contribution.

I encountered some error that I wasn't expecting.  See the details below.


build:
lib/ovs-atomic-gcc4.7+.h:47:42: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
     (*(DST) = __atomic_load_n(SRC, ORDER),      \
                                          ^
lib/ovs-atomic.h:401:5: note: in expansion of macro 'atomic_read_explicit'
     atomic_read_explicit(VAR, DST, memory_order_relaxed)
     ^
lib/dpif-netdev.c:6828:5: note: in expansion of macro 'atomic_read_relaxed'
     atomic_read_relaxed(&pmd->miniflow_extract_opt, &mfex_func);
     ^
lib/dpif-netdev.c:6885:31: error: called object 'mfex_func' is not a function or function pointer
             mf_ret = mfex_func(&single_packet, key, 1, port_no, pmd);
                               ^
lib/dpif-netdev.c:6827:27: note: declared here
     miniflow_extract_func mfex_func;
                           ^
lib/dpif-netdev.c:6888:17: error: 'n_mfex_opt_hit' undeclared (first use in this function)
                 n_mfex_opt_hit++;
                 ^
lib/dpif-netdev.c:6888:17: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
make[2]: *** [lib/dpif-netdev.lo] Error 1
make[2]: Leaving directory `/var/lib/jenkins/jobs/0day_robot_upstream_build_from_pw/workspace'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/lib/jenkins/jobs/0day_robot_upstream_build_from_pw/workspace'
make: *** [all] Error 2


Please check this out.  If you feel there has been an error, please email aconole at redhat.com

Thanks,
0-day Robot


More information about the dev mailing list