Message ID | 1419353188-17440-2-git-send-email-anders.roxell@linaro.org |
---|---|
State | Accepted |
Commit | 0d90ea289b7f10710756025f5f6781ad13172d87 |
Headers | show |
On Tue, Dec 23, 2014 at 10:46 AM, Anders Roxell <anders.roxell@linaro.org> wrote: > > Signed-off-by: Anders Roxell <anders.roxell@linaro.org> > Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> > --- > platform/linux-generic/odp_packet.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/platform/linux-generic/odp_packet.c > b/platform/linux-generic/odp_packet.c > index a78b3d1..eb0767a 100644 > --- a/platform/linux-generic/odp_packet.c > +++ b/platform/linux-generic/odp_packet.c > @@ -464,7 +464,7 @@ odp_packet_t odp_packet_copy(odp_packet_t pkt, > odp_buffer_pool_t pool) > odp_packet_hdr_t *newhdr = odp_packet_hdr(newpkt); > uint8_t *newstart, *srcstart; > > - /* Must copy meta data first, followed by packet data */ > + /* Must copy metadata first, followed by packet data */ > newstart = (uint8_t *)newhdr + meta_offset; > srcstart = (uint8_t *)srchdr + meta_offset; > > -- > 2.1.0 > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/lng-odp >
diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index a78b3d1..eb0767a 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -464,7 +464,7 @@ odp_packet_t odp_packet_copy(odp_packet_t pkt, odp_buffer_pool_t pool) odp_packet_hdr_t *newhdr = odp_packet_hdr(newpkt); uint8_t *newstart, *srcstart; - /* Must copy meta data first, followed by packet data */ + /* Must copy metadata first, followed by packet data */ newstart = (uint8_t *)newhdr + meta_offset; srcstart = (uint8_t *)srchdr + meta_offset;
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- platform/linux-generic/odp_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)