From: Jiong Wang Date: Fri, 7 Nov 2014 16:28:37 +0000 (+0000) Subject: [PATCH] gnu11 cleanup for gcc.target/arm/lp1243022.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40d06e324e4b48bbbde384de658ee1e0e0104060;p=gcc.git [PATCH] gnu11 cleanup for gcc.target/arm/lp1243022.c 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5ad309c6ed7..dc812e05ca7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-11-07 Jiong Wang + + * 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 * gcc.dg/tree-ssa/20040204-1.c: Add aarch64*-*-* to the list. diff --git a/gcc/testsuite/gcc.target/arm/lp1243022.c b/gcc/testsuite/gcc.target/arm/lp1243022.c index cb405908e05..5f26994a74c 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