Whamcloud - gitweb
LU-6216 tests: compile fixes for PPC64, and for clang
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 18:58:03 +0000 (13:58 -0500)
commit4ea623644618cacb72e8bed1affb93be1e809171
treecc7dec1a20955cd488724f50807588a83b4bd5a4
parent46abff9eff15bd33ca4e8dcee7bd5eb7e9186e79
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