Bug 1293133 - all: fix clang compile warnings
Summary: all: fix clang compile warnings
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-20 13:59 UTC by Kaleb KEITHLEY
Modified: 2016-06-16 13:51 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-16 13:51:17 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kaleb KEITHLEY 2015-12-20 13:59:22 UTC
Description of problem:

compiling with clang (on Linux) reports many legitimate bugs not reported by gcc.


Version-Release number of selected component (if applicable):


How reproducible:

compile with clang


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

http://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-clang/2015-12-18-9644769e/

Comment 1 Vijay Bellur 2015-12-20 16:11:15 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Vijay Bellur 2015-12-22 22:20:08 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 3 Vijay Bellur 2015-12-23 00:10:55 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#4) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 4 Vijay Bellur 2015-12-23 14:54:38 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#5) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 5 Vijay Bellur 2015-12-23 22:26:58 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#6) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 6 Vijay Bellur 2016-01-05 19:25:32 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#7) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 7 Vijay Bellur 2016-01-06 15:15:06 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#8) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 8 Vijay Bellur 2016-01-06 17:27:19 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#9) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 9 Vijay Bellur 2016-01-15 11:30:29 UTC
REVIEW: http://review.gluster.org/13031 (all: fixes for clang compile warnings) posted (#10) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 10 Vijay Bellur 2016-02-15 09:36:23 UTC
COMMIT: http://review.gluster.org/13031 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit d4c415776b20e4152d4a706276cb06d833a58baa
Author: Kaleb S KEITHLEY <kkeithle>
Date:   Sat Dec 19 20:27:17 2015 -0500

    all: fixes for clang compile warnings
    
    cli/src/cli-cmd-parser.c (chenk)
    cli/src/cli-xml-output.c (spandit)
    cli/src/cli.c (chenk)
    libglusterfs/src/common-utils.c (vmallika)
    libglusterfs/src/gfdb/gfdb_sqlite3.c (jfernand +1)
    rpc/rpc-transport/socket/src/socket.c (?)
    xlators/cluster/afr/src/afr-transaction.c (?)
    xlators/cluster/dht/src/dht-common.h (srangana +2)
    xlators/cluster/dht/src/dht-selfheal.c (srangana +2)
    xlators/debug/io-stats/src/io-stats.c (R. Wareing)
    xlators/features/barrier/src/barrier.c (vshastry)
    xlators/features/bit-rot/src/bitd/bit-rot-scrub.h (vshankar +1)
    xlators/features/shard/src/shard.c (kdhananj +1)
    xlators/mgmt/glusterd/src/glusterd-ganesha.c (skoduri)
    xlators/mgmt/glusterd/src/glusterd-handler.c (atinmu)
    xlators/mgmt/glusterd/src/glusterd-op-sm.h (atinmu)
    xlators/mgmt/glusterd/src/glusterd-snapshot.c (spandit)
    xlators/mgmt/glusterd/src/glusterd-syncop.c (atinmu)
    xlators/mgmt/glusterd/src/glusterd-volgen.c (atinmu)
    xlators/protocol/client/src/client-messages.h (mselvaga +1)
    xlators/storage/bd/src/bd-helper.c (M. Mohan Kumar)
    xlators/storage/bd/src/bd.c (M. Mohan Kumar)
    xlators/storage/posix/src/posix.c (nbalacha +1)
    
    Change-Id: I85934fbcaf485932136ef3acd206f6ebecde61dd
    BUG: 1293133
    Signed-off-by: Kaleb S KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/13031
    CentOS-regression: Gluster Build System <jenkins.com>
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 11 Niels de Vos 2016-06-16 13:51:17 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.