Branch: refs/heads/master
  Home:   https://github.com/Linaro/odp
  Commit: ccb6eb85729ad0657b5c852cb2a6ddb519d60898
      
https://github.com/Linaro/odp/commit/ccb6eb85729ad0657b5c852cb2a6ddb519d60898
  Author: Maxim Uvarov <[email protected]>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  checkpatch.pl: do not warn on odp aligh macros

do not if structure has ODP_ preprocessor macro.
ERROR: open brace '{' following function declarations go on the next line
static uint8_t ODP_ALIGNED(4) ip_hdr_test_vect[NUM_IP_HDR][IP_HDR_LEN] = {

Signed-off-by: Maxim Uvarov <[email protected]>
Reviewed-by: Bill Fischofer <[email protected]>


  Commit: 5a4502fc6bc53e6503169da3028f456b64811a0b
      
https://github.com/Linaro/odp/commit/5a4502fc6bc53e6503169da3028f456b64811a0b
  Author: Ilias Apalodimas <[email protected]>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M example/ipfragreass/odp_ipfragreass.c
    M example/l3fwd/odp_l3fwd_db.h
    M example/switch/odp_switch.c
    M helper/cuckootable.c
    M helper/iplookuptable.c
    M include/odp/api/abi-default/cpumask.h
    A platform/linux-generic/include/odp/api/plat/static_inline.h
    M platform/linux-generic/include/odp_atomic_internal.h
    M platform/linux-generic/include/odp_buffer_internal.h
    M platform/linux-generic/include/odp_ipsec_internal.h
    M platform/linux-generic/include/odp_packet_dpdk.h
    M platform/linux-generic/include/odp_packet_internal.h
    M platform/linux-generic/include/odp_packet_io_ring_internal.h
    M platform/linux-generic/include/odp_packet_netmap.h
    M platform/linux-generic/include/odp_packet_socket.h
    M platform/linux-generic/include/odp_pool_internal.h
    M platform/linux-generic/include/odp_queue_internal.h
    M platform/linux-generic/include/odp_queue_scalable_internal.h
    M platform/linux-generic/include/odp_ring_internal.h
    M platform/linux-generic/include/odp_schedule_scalable.h
    M platform/linux-generic/include/odp_schedule_scalable_ordered.h
    M platform/linux-generic/odp_name_table.c
    M platform/linux-generic/odp_packet.c
    M platform/linux-generic/odp_pkt_queue.c
    M platform/linux-generic/odp_pool.c
    M platform/linux-generic/odp_schedule.c
    M platform/linux-generic/odp_schedule_iquery.c
    M platform/linux-generic/odp_schedule_sp.c
    M platform/linux-generic/odp_timer.c
    M platform/linux-generic/pktio/socket_mmap.c
    M test/performance/odp_l2fwd.c
    M test/performance/odp_pktio_ordered.c
    M test/performance/odp_sched_latency.c
    M test/performance/odp_scheduling.c
    M test/validation/api/chksum/chksum.c

  Log Message:
  -----------
  linux-gen: align: Fix alignment for typedef definitions

        * typedef struct { } ODP_ALIGN() test_t; is correct
        * typedef struct ODP_ALIGN() {} test_t; is correct and
        preferred from gcc standards
        * typedef struct {} test_t ODP_ALIGN() discards align
        Had segfauls on gcc-7 using that

Signed-off-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Bill Fischofer <[email protected]>
Signed-off-by: Maxim Uvarov <[email protected]>


Compare: https://github.com/Linaro/odp/compare/f3b6be23045a...5a4502fc6bc5

Reply via email to