Project

General

Profile

Cleanup #52753

Cleanup #52752: fix warnings

rbd cls : centos 8 warning

Added by Deepika Upadhyay over 2 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-7800-gd35920da/rpm/el8/BUILD/ceph-17.0.0-7800-gd35920da/src/cls/rbd/cls_rbd_types.h:539:8: warning: '*((void*)(&<anonymous>)+8).cls::rbd::MirrorSnapshotNamespace::state' may be used uninitialized in this function [-Wmaybe-uninitialized]
  539 | struct MirrorSnapshotNamespace {
      |        ^~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-7800-gd35920da/rpm/el8/BUILD/ceph-17.0.0-7800-gd35920da/src/cls/rbd/cls_rbd_types.h: In static member function 'static void librbd::journal::EventEntry::generate_test_instances(std::__cxx11::list<librbd::journal::EventEntry*>&)':
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-7800-gd35920da/rpm/el8/BUILD/ceph-17.0.0-7800-gd35920da/src/cls/rbd/cls_rbd_types.h:539:8: warning: '*((void*)(&<anonymous>)+16).cls::rbd::MirrorSnapshotNamespace::state' may be used uninitialized in this function [-Wmaybe-uninitialized]
  539 | struct MirrorSnapshotNamespace {
      |        ^~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-7800-gd35920da/rpm/el8/BUILD/ceph-17.0.0-7800-gd35920da/src/cls/rbd/cls_rbd_types.h:539:8: warning: '*((void*)(&<anonymous>)+16).cls::rbd::MirrorSnapshotNamespace::state' may be used uninitialized in this function [-Wmaybe-uninitialized]
  539 | struct MirrorSnapshotNamespace {
      |        ^~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-7800-gd35920da/rpm/el8/BUILD/ceph-17.0.0-7800-gd35920da/src/cls/rbd/cls_rbd_types.h:539:8: warning: '*((void*)(&<anonymous>)+16).cls::rbd::MirrorSnapshotNamespace::state' may be used uninitialized in this function [-Wmaybe-uninitialized]
  539 | struct MirrorSnapshotNamespace {
      |        ^~~~~~~~~~~~~~~~~~~~~~~

https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos8,DIST=centos8,MACHINE_SIZE=gigantic/57700//consoleFull

History

#1 Updated by Deepika Upadhyay over 2 years ago

  • Pull request ID set to 43396

#3 Updated by Ilya Dryomov over 1 year ago

  • Status changed from New to Rejected
  • Assignee set to Ilya Dryomov

Also available in: Atom PDF