Whamcloud - gitweb
LU-5417 lustre: fix comparison between signed and unsigned 27/11327/2
authorDmitry Eremin <dmitry.eremin@intel.com>
Mon, 4 Aug 2014 17:24:41 +0000 (21:24 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 12 Aug 2014 16:06:18 +0000 (16:06 +0000)
commiteb2e1b6322d85d088aaf195cc877dc598fc8dfe2
tree14505706c9fc0e0412951c39fe2d96451c42f955
parentcd3aa902bfcf529a6774df3a207a2c3287c994fb
LU-5417 lustre: fix comparison between signed and unsigned

Cleanup in general headers.
* use size_t in cfs_size_round*()
* make unsigned index and len in lustre_cfg_*() and object_update_*()
* make iteration variable the same type as comparing value
* make unsigned pages counters
* fix printf formats

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I9af487f0c8e04825adfce94ae11fe0a64c71c2e5
Reviewed-on: http://review.whamcloud.com/11327
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
libcfs/include/libcfs/libcfs_private.h
lustre/include/lprocfs_status.h
lustre/include/lustre_cfg.h
lustre/include/lustre_disk.h
lustre/include/lustre_fid.h
lustre/include/lustre_ioctl.h
lustre/include/lustre_lmv.h
lustre/include/lustre_net.h
lustre/include/lustre_update.h
lustre/include/obd.h
lustre/osc/osc_request.c
lustre/ptlrpc/pack_generic.c
lustre/target/out_handler.c