[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 0/5] Memory leak fixes
From: |
no-reply |
Subject: |
Re: [Qemu-devel] [PATCH v5 0/5] Memory leak fixes |
Date: |
Wed, 3 May 2017 16:11:11 -0700 (PDT) |
Hi,
This series seems to have some coding style problems. See output below for
more information:
Subject: [Qemu-devel] [PATCH v5 0/5] Memory leak fixes
Message-id: address@hidden
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
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'
84762e2 dump: fix memory_mapping_filter leak
345a5d8 slirp: fix leak
3f1ae28 audio: fix WAVState leak
565e071 audio: fix capture buffer leaks
2ce5984 test-keyval: fix leaks
=== OUTPUT BEGIN ===
Checking PATCH 1/5: test-keyval: fix leaks...
Checking PATCH 2/5: audio: fix capture buffer leaks...
ERROR: space prohibited between function name and open parenthesis '('
#22: FILE: audio/audio.c:2031:
+ g_free (cap->hw.mix_buf);
ERROR: space prohibited between function name and open parenthesis '('
#23: FILE: audio/audio.c:2032:
+ g_free (cap->buf);
total: 2 errors, 0 warnings, 8 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/5: audio: fix WAVState leak...
ERROR: space prohibited between function name and open parenthesis '('
#22: FILE: audio/wavcapture.c:91:
+ g_free (wav);
total: 1 errors, 0 warnings, 7 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: slirp: fix leak...
ERROR: suspect code indent for conditional statements (2, 6)
#37: FILE: slirp/socket.c:103:
+ if (so->so_tcpcb) {
+ free(so->so_tcpcb);
total: 1 errors, 0 warnings, 9 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 5/5: dump: fix memory_mapping_filter leak...
=== OUTPUT END ===
Test command exited with code: 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to address@hidden
- Re: [Qemu-devel] [PATCH v5 1/5] test-keyval: fix leaks, (continued)
- [Qemu-devel] [PATCH v5 2/5] audio: fix capture buffer leaks, Marc-André Lureau, 2017/05/03
- [Qemu-devel] [PATCH v5 3/5] audio: fix WAVState leak, Marc-André Lureau, 2017/05/03
- [Qemu-devel] [PATCH v5 4/5] slirp: fix leak, Marc-André Lureau, 2017/05/03
- [Qemu-devel] [PATCH v5 5/5] dump: fix memory_mapping_filter leak, Marc-André Lureau, 2017/05/03
- Re: [Qemu-devel] [PATCH v5 0/5] Memory leak fixes, Marc-André Lureau, 2017/05/03
- Re: [Qemu-devel] [PATCH v5 0/5] Memory leak fixes,
no-reply <=
- Re: [Qemu-devel] [PATCH v5 0/5] Memory leak fixes, Alex Bennée, 2017/05/04
- Re: [Qemu-devel] [PATCH v5 0/5] Memory leak fixes, Paolo Bonzini, 2017/05/06