Patchew URL: https://patchew.org/QEMU/1546883690-17798-1-git-send-email-venu.busireddy@oracle.com/
Hi,
This series seems to have some coding style problems. See output below for
more information:
Subject: [Qemu-devel] [PATCH v2 0/5] Support for datapath switching during live migration
Message-id: 1546883690-17798-1-git-send-email-venu.busireddy@oracle.com
Type: series
=== 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'
88b0acb pci: query command extension to check the bus master enabling status of the failover-primary device
ed2dc77 vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover
c677246 virtio_net: Add a query command for FAILOVER_STANDBY_CHANGED event.
135dfa7 virtio_net: Add support for "Data Path Switching" during Live Migration.
a87f451 virtio_net: Add VIRTIO_NET_F_STANDBY feature bit.
=== OUTPUT BEGIN ===
Checking PATCH 1/5: virtio_net: Add VIRTIO_NET_F_STANDBY feature bit....
Checking PATCH 2/5: virtio_net: Add support for "Data Path Switching" during Live Migration....
Checking PATCH 3/5: virtio_net: Add a query command for FAILOVER_STANDBY_CHANGED event....
WARNING: Block comments use a leading /* on a separate line
#121: FILE: net/net.c:1347:
+ /* only query information on queue 0 since the info is per nic,
ERROR: braces {} are necessary for all arms of this statement
#124: FILE: net/net.c:1350:
+ if (nc->queue_index != 0)
[...]
total: 1 errors, 1 warnings, 172 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.
Checking PATCH 4/5: vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover...
Checking PATCH 5/5: pci: query command extension to check the bus master enabling status of the failover-primary device...
=== OUTPUT END ===
Test command exited with code: 1
The full log is available at
http://patchew.org/logs/1546883690-17798-1-git-send-email-venu.busireddy@oracle.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com