[Qemu-devel] [PATCH v7 0/9] vfio: add display support

no-reply at patchew.org no-reply at patchew.org
Tue Mar 6 10:05:35 UTC 2018


Hi,

This series seems to have some coding style problems. See output below for
more information:

Type: series
Message-id: 20180306095135.21285-1-kraxel at redhat.com
Subject: [Qemu-devel] [PATCH v7 0/9] vfio: add display support

=== 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
From https://github.com/patchew-project/qemu
 * [new tag]               patchew/20180306095135.21285-1-kraxel at redhat.com -> patchew/20180306095135.21285-1-kraxel at redhat.com
Switched to a new branch 'test'
49a1e6520e vfio/display: adding dmabuf support
ad6d1ce286 vfio/display: adding region support
d583e93147 vfio/display: core & wireup
d8a5fe7c91 vfio/common: cleanup in vfio_region_finalize
08731bd23b secondary-vga: properly close QemuConsole on unplug
2bbda06245 console: minimal hotplug suport
542ffdc4ec ui/pixman: add qemu_drm_format_to_pixman()
361cd5dfb0 standard-headers: add drm/drm_fourcc.h
a7d5a8dca7 linux-headers: update to 4.16-rc1

=== OUTPUT BEGIN ===
Checking PATCH 1/9: linux-headers: update to 4.16-rc1...
Checking PATCH 2/9: standard-headers: add drm/drm_fourcc.h...
ERROR: code indent should never use tabs
#454: FILE: scripts/update-linux-headers.sh:159:
+^I"$output/include/standard-headers/drm"$

total: 1 errors, 0 warnings, 434 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 3/9: ui/pixman: add qemu_drm_format_to_pixman()...
Checking PATCH 4/9: console: minimal hotplug suport...
Checking PATCH 5/9: secondary-vga: properly close QemuConsole on unplug...
Checking PATCH 6/9: vfio/common: cleanup in vfio_region_finalize...
Checking PATCH 7/9: vfio/display: core & wireup...
Checking PATCH 8/9: vfio/display: adding region support...
ERROR: braces {} are necessary for all arms of this statement
#143: FILE: hw/vfio/display.c:162:
+    if (!vdev->dpy)
[...]

total: 1 errors, 0 warnings, 153 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 9/9: vfio/display: adding dmabuf support...
=== OUTPUT END ===

Test command exited with code: 1


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel at freelists.org


More information about the intel-gvt-dev mailing list