[PATCH 17/17] mlx5: use proper ANSI-C prototypes for functions without arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 providers/mlx5/cq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/providers/mlx5/cq.c b/providers/mlx5/cq.c
index 2a53c89..ecfd6eb 100644
--- a/providers/mlx5/cq.c
+++ b/providers/mlx5/cq.c
@@ -384,7 +384,7 @@ static enum ibv_wc_status mlx5_handle_error_cqe(struct mlx5_err_cqe *cqe)
 }
 
 #if defined(__x86_64__) || defined (__i386__)
-static inline unsigned long get_cycles()
+static inline unsigned long get_cycles(void)
 {
 	uint32_t low, high;
 	uint64_t val;
@@ -394,7 +394,7 @@ static inline unsigned long get_cycles()
 	return val;
 }
 
-static void mlx5_stall_poll_cq()
+static void mlx5_stall_poll_cq(void)
 {
 	int i;
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux