From 53d78bc0ef6a2febddc94f762adfdeaba8f76938 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Sat, 26 Apr 2014 21:41:23 -0400 Subject: [PATCH] LU-4423 ptlrpc: Fix function prototypes ptlrpc_request_cache_init and ptlrpc_request_cache_fini added by request cache code did not include argument type in the declaration which causes a checkpatch warning. Change-Id: I41f4f96cfbc9e63417b6adbe6ba1902248494fbb Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/10120 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Dmitry Eremin Reviewed-by: James Simmons --- lustre/ptlrpc/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 7936a0d..a543788 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -390,7 +390,7 @@ static int ptlrpc_at_recv_early_reply(struct ptlrpc_request *req) struct kmem_cache *request_cache; -int ptlrpc_request_cache_init() +int ptlrpc_request_cache_init(void) { request_cache = kmem_cache_create("ptlrpc_cache", sizeof(struct ptlrpc_request), @@ -398,7 +398,7 @@ int ptlrpc_request_cache_init() return request_cache == NULL ? -ENOMEM : 0; } -void ptlrpc_request_cache_fini() +void ptlrpc_request_cache_fini(void) { kmem_cache_destroy(request_cache); } -- 1.8.3.1