Message ID | 1456730004-25799-1-git-send-email-maxim.uvarov@linaro.org |
---|---|
State | Accepted |
Commit | 946b16f2f866a13ace8c6068ec93372ce1b26d57 |
Headers | show |
On Mon, Feb 29, 2016 at 1:13 AM, Maxim Uvarov <maxim.uvarov@linaro.org> wrote: > pktio.c:562:31: error: implicit conversion from enumeration type > 'enum odp_pktout_mode_t' to different enumeration type > 'odp_pktin_mode_t' > (aka 'enum odp_pktin_mode_t') [-Werror,-Wenum-conversion] > odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; > > Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> > Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> > --- > test/validation/pktio/pktio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c > index fa0e17b..9443cd2 100644 > --- a/test/validation/pktio/pktio.c > +++ b/test/validation/pktio/pktio.c > @@ -559,7 +559,7 @@ static void test_txrx(odp_pktin_mode_t in_mode, int > num_pkts, > for (i = 0; i < num_ifaces; ++i) { > odp_pktout_queue_t pktout; > odp_queue_t queue; > - odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; > + odp_pktout_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; > > if (mode == TXRX_MODE_MULTI_EVENT) > out_mode = ODP_PKTOUT_MODE_QUEUE; > -- > 2.7.1.250.gff4ea60 > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp >
Merged, Maxim. On 02/29/16 14:02, Bill Fischofer wrote: > > > On Mon, Feb 29, 2016 at 1:13 AM, Maxim Uvarov <maxim.uvarov@linaro.org > <mailto:maxim.uvarov@linaro.org>> wrote: > > pktio.c:562:31: error: implicit conversion from enumeration type > 'enum odp_pktout_mode_t' to different enumeration type > 'odp_pktin_mode_t' > (aka 'enum odp_pktin_mode_t') [-Werror,-Wenum-conversion] > odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; > > Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org > <mailto:maxim.uvarov@linaro.org>> > > > Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org > <mailto:bill.fischofer@linaro.org>> > > --- > test/validation/pktio/pktio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/validation/pktio/pktio.c > b/test/validation/pktio/pktio.c > index fa0e17b..9443cd2 100644 > --- a/test/validation/pktio/pktio.c > +++ b/test/validation/pktio/pktio.c > @@ -559,7 +559,7 @@ static void test_txrx(odp_pktin_mode_t > in_mode, int num_pkts, > for (i = 0; i < num_ifaces; ++i) { > odp_pktout_queue_t pktout; > odp_queue_t queue; > - odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; > + odp_pktout_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; > > if (mode == TXRX_MODE_MULTI_EVENT) > out_mode = ODP_PKTOUT_MODE_QUEUE; > -- > 2.7.1.250.gff4ea60 > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org> > https://lists.linaro.org/mailman/listinfo/lng-odp > >
diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index fa0e17b..9443cd2 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation/pktio/pktio.c @@ -559,7 +559,7 @@ static void test_txrx(odp_pktin_mode_t in_mode, int num_pkts, for (i = 0; i < num_ifaces; ++i) { odp_pktout_queue_t pktout; odp_queue_t queue; - odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; + odp_pktout_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; if (mode == TXRX_MODE_MULTI_EVENT) out_mode = ODP_PKTOUT_MODE_QUEUE;
pktio.c:562:31: error: implicit conversion from enumeration type 'enum odp_pktout_mode_t' to different enumeration type 'odp_pktin_mode_t' (aka 'enum odp_pktin_mode_t') [-Werror,-Wenum-conversion] odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- test/validation/pktio/pktio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)