Whamcloud - gitweb
LU-6216 tests: compile fixes for PPC64, and for clang 00/13800/2
authorFrank Zago <fzago@cray.com>
Thu, 19 Feb 2015 00:56:34 +0000 (18:56 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 27 Feb 2015 06:33:26 +0000 (06:33 +0000)
commitb851f20baba124302c5a0882496503376d0f6616
treed2f5ec271d6b5048fde528c5c09abf57fd87710c
parentf23e085ac937cc9b2e9cb169b643980933a949b4
LU-6216 tests: compile fixes for PPC64, and for clang

Fix the following warnings for PPC64:
  llapi_hsm_test.c: In function 'test101_progress':
  llapi_hsm_test.c:563: error: format '%llu' expects type 'long long
    unsigned int', but argument 8 has type '__u64'

and move the nested functions outside their current functions since
clang doesn't support them.

Signed-off-by: frank zago <fzago@cray.com>
Change-Id: I034b097f3817a5919adcb8dc3465b00833174f63
Reviewed-on: http://review.whamcloud.com/13800
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/llapi_hsm_test.c