[PATCH] gnu11 cleanup for gcc.target/arm/lp1243022.c
authorJiong Wang <jiong.wang@arm.com>
Fri, 7 Nov 2014 16:28:37 +0000 (16:28 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Fri, 7 Nov 2014 16:28:37 +0000 (16:28 +0000)
  gcc/testsuite/
    * gcc.target/arm/lp1243022.c (xhci_test_trb_in_td): Add return type.
    (xhci_check_trb_in_td_math): Likewise.

From-SVN: r217230

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/lp1243022.c

index 5ad309c6ed76526b813807bc0f722f8cfa20ebb6..dc812e05ca77d84d0723f78ba802b68739666d48 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-07  Jiong Wang  <jiong.wang@arm.com>
+
+       * gcc.target/arm/lp1243022.c (xhci_test_trb_in_td): Add return type.
+       (xhci_check_trb_in_td_math): Likewise.
+
 2014-11-07  Jiong Wang  <jiong.wang@arm.com>
 
        * gcc.dg/tree-ssa/20040204-1.c: Add aarch64*-*-* to the list.
index cb405908e0536439f2f1a9c64d62c2e5cb4a8d16..5f26994a74c9a599961d4fdbf2f579e4a8c25a2e 100644 (file)
@@ -47,6 +47,7 @@ dma_addr_t xhci_trb_virt_to_dma (struct xhci_segment * seg,
                                 union xhci_trb * trb);
 struct xhci_segment *trb_in_td (struct xhci_segment *start_seg,
                                dma_addr_t suspect_dma);
+int
 xhci_test_trb_in_td (struct xhci_hcd *xhci, struct xhci_segment *input_seg,
                     union xhci_trb *start_trb, union xhci_trb *end_trb,
                     dma_addr_t input_dma, struct xhci_segment *result_seg,
@@ -64,6 +65,7 @@ xhci_test_trb_in_td (struct xhci_hcd *xhci, struct xhci_segment *input_seg,
                   "Expected seg %p, got seg %p\n", result_seg, seg);
     }
 }
+int
 xhci_check_trb_in_td_math (struct xhci_hcd *xhci, gfp_t mem_flags)
 {
     struct