Message ID | 20181214165657.749-1-rkagan@virtuozzo.com (mailing list archive) |
---|---|
Headers | show |
Series | expose negotiated virtio features in r/o properties | expand |
Patchew URL: https://patchew.org/QEMU/20181214165657.749-1-rkagan@virtuozzo.com/ Hi, This series seems to have some coding style problems. See output below for more information: Message-id: 20181214165657.749-1-rkagan@virtuozzo.com Type: series Subject: [Qemu-devel] [RFC PATCH 0/5] expose negotiated virtio features in r/o properties === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total=$(git log --oneline $BASE.. | wc -l) failed=0 git config --local diff.renamelimit 0 git config --local diff.renames True git config --local diff.algorithm histogram commits="$(git log --format=%H --reverse $BASE..)" for c in $commits; do echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..." if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then failed=1 echo fi n=$((n+1)) done exit $failed === TEST SCRIPT END === Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 Switched to a new branch 'test' a786b7b virtio: expose negotiated features in r/o properties 0c6bf38 virtio: drop DEFINE_VIRTIO_COMMON_FEATURES 32e832d qdev-properties: add r/o 64bit bitfield property 86475cf qmp: further consolidate listing of device and object properties 09f1169 qom: preserve get/set presence in aliased properties === OUTPUT BEGIN === Checking PATCH 1/5: qom: preserve get/set presence in aliased properties... Checking PATCH 2/5: qmp: further consolidate listing of device and object properties... Checking PATCH 3/5: qdev-properties: add r/o 64bit bitfield property... Checking PATCH 4/5: virtio: drop DEFINE_VIRTIO_COMMON_FEATURES... Checking PATCH 5/5: virtio: expose negotiated features in r/o properties... ERROR: Macros with complex values should be enclosed in parenthesis #218: FILE: include/hw/virtio/virtio.h:261: +#define DEFINE_VIRTIO_FEATURE_BIT(_name, _state, _field, _bit, _defval) \ + DEFINE_PROP_BIT64(_name, _state, _field, _bit, _defval), \ + DEFINE_VIRTIO_FEATURE_BIT_NEGOTIATED(_name, _bit) total: 1 errors, 0 warnings, 165 lines checked Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. === OUTPUT END === Test command exited with code: 1 The full log is available at http://patchew.org/logs/20181214165657.749-1-rkagan@virtuozzo.com/testing.checkpatch/?type=message. --- Email generated automatically by Patchew [http://patchew.org/]. Please send your feedback to patchew-devel@redhat.com