[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] Replace posix_fallocate() with falloate()
From: |
no-reply |
Subject: |
Re: [PATCH 0/2] Replace posix_fallocate() with falloate() |
Date: |
Mon, 31 Aug 2020 08:55:59 -0700 (PDT) |
Patchew URL:
20200831140127.657134-1-nsoffer@redhat.com/">https://patchew.org/QEMU/20200831140127.657134-1-nsoffer@redhat.com/
Hi,
This series seems to have some coding style problems. See output below for
more information:
Type: series
Message-id: 20200831140127.657134-1-nsoffer@redhat.com
Subject: [PATCH 0/2] Replace posix_fallocate() with falloate()
=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===
From https://github.com/patchew-project/qemu
* [new tag] patchew/20200831140127.657134-1-nsoffer@redhat.com ->
patchew/20200831140127.657134-1-nsoffer@redhat.com
Switched to a new branch 'test'
70e35ed block: file-posix: Replace posix_fallocate with fallocate
35d89d1 block: file-posix: Extract preallocate helpers
=== OUTPUT BEGIN ===
1/2 Checking commit 35d89d1300e4 (block: file-posix: Extract preallocate
helpers)
ERROR: braces {} are necessary for all arms of this statement
#33: FILE: block/file-posix.c:1841:
+ if (offset == current_length)
[...]
total: 1 errors, 0 warnings, 234 lines checked
Patch 1/2 has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
2/2 Checking commit 70e35eda5bc9 (block: file-posix: Replace posix_fallocate
with fallocate)
ERROR: braces {} are necessary for all arms of this statement
#110: FILE: block/file-posix.c:1967:
+ if (result != -ENOTSUP)
[...]
total: 1 errors, 0 warnings, 108 lines checked
Patch 2/2 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
20200831140127.657134-1-nsoffer@redhat.com/testing.checkpatch/?type=message">http://patchew.org/logs/20200831140127.657134-1-nsoffer@redhat.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com