Whamcloud - gitweb
LU-6245 libcfs: remove types abstraction from libcfs/LNet code 04/20204/9
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 7 Jun 2016 15:02:27 +0000 (11:02 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 14 Jun 2016 03:47:00 +0000 (03:47 +0000)
commit2b8c4566a6a63cdf09e555a744ce6a1453651b98
tree2f115c2b450698c4b5c01257b43f075f5557cbf1
parentc67a74b55c126ec1be6c195cb2e8cb8c2e6cf868
LU-6245 libcfs: remove types abstraction from libcfs/LNet code

Originally when lustre code was built for userland we needed
a proper way to handle 32 bit and 64 bit platforms when
reporting unsigned longs. Now that this code is only built
for kernel space and the kernel has it own special string
handling functions we don't need this abstraction anymore.
The libcfs types.h is not removed yet so not to break
any other patches ready to land. Had checkpatch.pl updated
to report to developers to not use the LP* abstraction.
This patch only updates the LNet/libcfs layers.

Change-Id: I0a338b4eb181d86b9c7d0f535d8c12c9f7045fb3
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/20204
Reviewed-by: Frank Zago <fzago@cray.com>
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
28 files changed:
contrib/scripts/checkpatch.pl
libcfs/include/libcfs/libcfs_debug.h
libcfs/include/libcfs/libcfs_prim.h
libcfs/include/libcfs/types.h
libcfs/libcfs/debug.c
libcfs/libcfs/watchdog.c
lnet/klnds/gnilnd/gnilnd.c
lnet/klnds/gnilnd/gnilnd_api_wrap.h
lnet/klnds/gnilnd/gnilnd_aries.h
lnet/klnds/gnilnd/gnilnd_cb.c
lnet/klnds/gnilnd/gnilnd_conn.c
lnet/klnds/gnilnd/gnilnd_debug.c
lnet/klnds/gnilnd/gnilnd_proc.c
lnet/klnds/gnilnd/gnilnd_stack.c
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd_cb.c
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd_cb.c
lnet/klnds/socklnd/socklnd_proto.c
lnet/lnet/acceptor.c
lnet/lnet/api-ni.c
lnet/lnet/lib-me.c
lnet/lnet/lib-move.c
lnet/lnet/lib-ptl.c
lnet/lnet/router_proc.c
lnet/selftest/brw_test.c
lnet/selftest/framework.c
lnet/selftest/rpc.c