Message ID | 20181206192544.3987-1-jsnow@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | bitmaps: remove x- prefix from QMP api | expand |
On 12/6/18 2:25 PM, John Snow wrote: > Touch up a few last things and remove the x- prefix. > > Test on the way, thoughts? > > John Snow (3): > blockdev: abort transactions in reverse order > blockdev: n-ary bitmap merge > block: remove 'x' prefix from experimental bitmap APIs > > blockdev.c | 96 +++++++++++++++++++++++++----------------- > qapi/block-core.json | 56 ++++++++++++------------ > qapi/transaction.json | 12 +++--- > tests/qemu-iotests/223 | 4 +- > 4 files changed, 94 insertions(+), 74 deletions(-) > Sorry, at some point I bookmarked a typo for Vladimir's email :( Correcting his address here in the cover letter.
Patchew URL: https://patchew.org/QEMU/20181206192544.3987-1-jsnow@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Subject: [Qemu-devel] [PATCH 0/3] bitmaps: remove x- prefix from QMP api Message-id: 20181206192544.3987-1-jsnow@redhat.com === 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' c972673 block: remove 'x' prefix from experimental bitmap APIs ebd1e6c blockdev: n-ary bitmap merge 68d3c0c blockdev: abort transactions in reverse order === OUTPUT BEGIN === Checking PATCH 1/3: blockdev: abort transactions in reverse order... Checking PATCH 2/3: blockdev: n-ary bitmap merge... ERROR: externs should be avoided in .c files #23: FILE: blockdev.c:2125: +void do_block_dirty_bitmap_merge(const char *node, const char *target, total: 1 errors, 0 warnings, 147 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/3: block: remove 'x' prefix from experimental bitmap APIs... === OUTPUT END === Test command exited with code: 1 The full log is available at http://patchew.org/logs/20181206192544.3987-1-jsnow@redhat.com/testing.checkpatch/?type=message. --- Email generated automatically by Patchew [http://patchew.org/]. Please send your feedback to patchew-devel@redhat.com
On 12/6/18 7:08 PM, no-reply@patchew.org wrote: > Patchew URL: https://patchew.org/QEMU/20181206192544.3987-1-jsnow@redhat.com/ > > > > Hi, > > This series seems to have some coding style problems. See output below for > more information: > > Type: series > Subject: [Qemu-devel] [PATCH 0/3] bitmaps: remove x- prefix from QMP api > Message-id: 20181206192544.3987-1-jsnow@redhat.com > > === 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' > c972673 block: remove 'x' prefix from experimental bitmap APIs > ebd1e6c blockdev: n-ary bitmap merge > 68d3c0c blockdev: abort transactions in reverse order > > === OUTPUT BEGIN === > Checking PATCH 1/3: blockdev: abort transactions in reverse order... > Checking PATCH 2/3: blockdev: n-ary bitmap merge... > ERROR: externs should be avoided in .c files > #23: FILE: blockdev.c:2125: > +void do_block_dirty_bitmap_merge(const char *node, const char *target, > Oh, I guess I'm missing `static` here for this forward declaration. Also, we need to edit patchew to not CC famz@redhat.com anymore :( > total: 1 errors, 0 warnings, 147 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/3: block: remove 'x' prefix from experimental bitmap APIs... > === OUTPUT END === > > Test command exited with code: 1 > > > The full log is available at > http://patchew.org/logs/20181206192544.3987-1-jsnow@redhat.com/testing.checkpatch/?type=message. > --- > Email generated automatically by Patchew [http://patchew.org/]. > Please send your feedback to patchew-devel@redhat.com >