Message ID | 1442968914-30179-1-git-send-email-bill.fischofer@linaro.org |
---|---|
State | Accepted |
Commit | 4c9bb4f0f52f02f7c1f8557063e6db2162fefb0c |
Headers | show |
For the series Reviewed-and-tested-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> On 23 September 2015 at 06:11, Bill Fischofer <bill.fischofer@linaro.org> wrote: > Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> > --- > test/validation/classification/odp_classification_tests.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/validation/classification/odp_classification_tests.c b/test/validation/classification/odp_classification_tests.c > index 551c83d..98da732 100644 > --- a/test/validation/classification/odp_classification_tests.c > +++ b/test/validation/classification/odp_classification_tests.c > @@ -280,7 +280,7 @@ int classification_suite_init(void) > int ret; > odp_pktio_param_t pktio_param; > > - memset(¶m, 0, sizeof(param)); > + odp_pool_param_init(¶m); > param.pkt.seg_len = SHM_PKT_BUF_SIZE; > param.pkt.len = SHM_PKT_BUF_SIZE; > param.pkt.num = SHM_PKT_NUM_BUFS; > -- > 2.1.4 > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp
diff --git a/test/validation/classification/odp_classification_tests.c b/test/validation/classification/odp_classification_tests.c index 551c83d..98da732 100644 --- a/test/validation/classification/odp_classification_tests.c +++ b/test/validation/classification/odp_classification_tests.c @@ -280,7 +280,7 @@ int classification_suite_init(void) int ret; odp_pktio_param_t pktio_param; - memset(¶m, 0, sizeof(param)); + odp_pool_param_init(¶m); param.pkt.seg_len = SHM_PKT_BUF_SIZE; param.pkt.len = SHM_PKT_BUF_SIZE; param.pkt.num = SHM_PKT_NUM_BUFS;
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- test/validation/classification/odp_classification_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)