]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: fix gf-complete warning 12150/head
authorKefu Chai <kchai@redhat.com>
Wed, 23 Nov 2016 07:32:42 +0000 (15:32 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 23 Nov 2016 07:38:14 +0000 (15:38 +0800)
commitb9d4fac7f097b7c9d661e9f83376237196e20ecf
tree899752c5c9c0a2bcc7cdd70ecfdfe549bc696013
parentf0b7d36a92a137cfddaa252324d1d7021771636b
erasure-code: fix gf-complete warning

pick up latest gf-complete submodule

$ git log --no-merges --pretty=%s \
  a6847973cba329ae079d3bd26341a4ec2906f012..c431e1ff76bdce6c3f6c0d0cbdf6a01c68f81071
gf_w32.c: silence the -Wmaybe-uninitialized warning

it silences following warning:

ceph/src/erasure-code/jerasure/gf-complete/src/gf_w32.c: In
function ‘gf_w32_cfmgk_multiply_region_from_single’:

ceph/src/erasure-code/jerasure/gf-complete/src/gf_w32.c:410:5:
warning: ‘a’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
   g = _mm_insert_epi64 (a, g_star, 0);
     ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/erasure-code/jerasure/gf-complete