"Oops!... I Did It Again" (Max Martin / Rami Yacoub)

It was correct originally, but I missed it with the recent rework, I'll send it again.

On 13/07/15 14:04, Maxim Uvarov wrote:
pktio.c: In function ‘pktio_txrx_multi’:
pktio.c:393:5: error: passing argument 1 of ‘odp_packet_free’ from
incompatible pointer type [-Werror]
      odp_packet_free(tx_ev[i]);
      ^
In file included from
../../../platform/linux-generic/include/odp/packet.h:35:0,
                  from ../../../include/odp.h:47,
                  from pktio.c:6:
../../../include/odp/api/packet.h:100:6: note: expected ‘odp_packet_t’
but argument is of type ‘odp_event_t’
  void odp_packet_free(odp_packet_t pkt);

On 07/13/15 15:14, Zoltan Kiss wrote:


On 13/07/15 11:29, Maxim Uvarov wrote:
Looks good for me. Only description needed to be fixed:



On 07/10/15 21:10, Zoltan Kiss wrote:
Unsent packet has to be released. If the event type is obvious from the
context, use directly the relevant release functions, otherwise
odp_event(free).
odp_event_free(evt), right? I can fix that on merge.

Maxim.

Yes, please do

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to