diff mbox

[committed,testcase] cleanup gnu11 for gcc.target/arm/lp1243022.c

Message ID 545CF35A.1000303@arm.com
State New
Headers show

Commit Message

Jiong Wang Nov. 7, 2014, 4:29 p.m. UTC
one more gnu11 fix for gcc.target/arm/lp1243022.c
(this test only run on arm-none-eabi/-mthumb, just noticed when I go through bare metal test)

committed as obvious, 217230.

gcc/testsuite/
   * gcc.target/arm/lp1243022.c (xhci_test_trb_in_td): Add return type.
   (xhci_check_trb_in_td_math): Likewise.
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/arm/lp1243022.c b/gcc/testsuite/gcc.target/arm/lp1243022.c
index cb40590..5f26994 100644
--- a/gcc/testsuite/gcc.target/arm/lp1243022.c
+++ b/gcc/testsuite/gcc.target/arm/lp1243022.c
@@ -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