[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1419552286-8492-1-git-send-email-jmmahler@gmail.com>
Date: Thu, 25 Dec 2014 16:04:40 -0800
From: Jeremiah Mahler <jmmahler@...il.com>
To: Oleg Drokin <oleg.drokin@...el.com>
Cc: Andreas Dilger <andreas.dilger@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Peng Tao <bergwolf@...il.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Julia Lawall <Julia.Lawall@...6.fr>,
Kirill Tkhai <ktkhai@...allels.com>,
Joe Perches <joe@...ches.com>,
Zi Shen Lim <zlim.lnx@...il.com>,
Dmitry Eremin <dmitry.eremin@...el.com>,
Masaru Nomura <massa.nomura@...il.com>,
Dan Carpenter <dan.carpenter@...cle.com>,
James A Shackleford <shack@...ux.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Jeremiah Mahler <jmmahler@...il.com>
Subject: [PATCH 0/6] staging: lustre: use built in min/max functions
The lustre modules define their own custom MIN, MAX and min_t functions.
However Linux provides these functions (include/linux/kernel.h) and their
design is more robust. They check types and produce compiler warnings
if differing types are used.
This patch set updates the lustre modules to use the built in min/max
functions.
Jeremiah Mahler (6):
staging: lustre: use min/max instead of MIN/MAX, simple cases
staging: lustre: replace MIN with min_t
staging: lustre: replace MIN/MAX with min_t/max_t
staging: lustre: replace MIN with min, cast (__kernel_size_t)
staging: lustre: replace MIN with min_t, remove cast
staging: lustre: remove custom MIN/MAX and min_t operations
.../lustre/include/linux/libcfs/libcfs_private.h | 8 --------
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 2 +-
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c | 2 +-
.../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 6 +++---
drivers/staging/lustre/lnet/lnet/lib-move.c | 20 ++++++++++----------
drivers/staging/lustre/lnet/lnet/router.c | 4 ++--
drivers/staging/lustre/lnet/lnet/router_proc.c | 2 +-
drivers/staging/lustre/lnet/selftest/conrpc.h | 2 +-
drivers/staging/lustre/lnet/selftest/rpc.c | 4 ++--
.../lustre/lustre/libcfs/linux/linux-tracefile.c | 2 +-
drivers/staging/lustre/lustre/osc/osc_internal.h | 5 -----
11 files changed, 22 insertions(+), 35 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists