Description of problem: libvirt-3.8.0/src/storage/storage_util.c:1841]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Source code is if (vol->target.backingStore && (ret = storageBackendUpdateVolTargetInfo(VIR_STORAGE_VOL_FILE, vol->target.backingStore, withBlockVolFormat, VIR_STORAGE_VOL_OPEN_DEFAULT | VIR_STORAGE_VOL_OPEN_NOERROR, readflags) < 0)) Maybe better code: if (vol->target.backingStore && (ret = storageBackendUpdateVolTargetInfo(VIR_STORAGE_VOL_FILE, vol->target.backingStore, withBlockVolFormat, VIR_STORAGE_VOL_OPEN_DEFAULT | VIR_STORAGE_VOL_OPEN_NOERROR, readflags)) < 0) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Upstream commit: commit 000e95045595ab5fd974e08dcc71b70a491965ed Author: Pavel Hrdina <phrdina> Date: Wed Oct 4 16:33:06 2017 +0200 storage: Fix incorrect parenthesis placement