qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 00/10] pflash: Fixes and cleanups


From: no-reply
Subject: Re: [Qemu-devel] [PATCH 00/10] pflash: Fixes and cleanups
Date: Tue, 19 Feb 2019 05:49:40 -0800 (PST)

Patchew URL: https://patchew.org/QEMU/address@hidden/



Hi,

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

Message-id: address@hidden
Subject: [Qemu-devel] [PATCH 00/10] pflash: Fixes and cleanups
Type: series

=== TEST SCRIPT BEGIN ===
#!/bin/bash
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 ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
03998181d5 hw/arm hw/xtensa: De-duplicate pflash creation code some
8900ef3eb2 pflash: Clean up after commit 368a354f02b part 2
b2a752e969 pflash: Clean up after commit 368a354f02b part 1
6161e9b2e1 mips_malta: Clean up definition of flash memory size somewhat
f63e1b95be r2d: Flash memory creation is confused about size, mark FIXME
c940613c6f ppc405_boards: Don't size flash memory to match backing image
aafbf2b0cb sam460ex: Don't size flash memory to match backing image
50c58aaaef hw: Use CFI_PFLASH0{1, 2} and TYPE_CFI_PFLASH0{1, 2}
32f306be23 pflash: Macro PFLASH_BUG() is used just once, expand
ab1e43ce7b pflash: Rename pflash_t to PFlashCFI01, PFlashCFI02

=== OUTPUT BEGIN ===
1/10 Checking commit ab1e43ce7b8b (pflash: Rename pflash_t to PFlashCFI01, 
PFlashCFI02)
ERROR: space prohibited between function name and open parenthesis '('
#128: FILE: hw/block/pflash_cfi01.c:288:
+static uint32_t pflash_read (PFlashCFI01 *pfl, hwaddr offset,

ERROR: space prohibited between function name and open parenthesis '('
#340: FILE: hw/block/pflash_cfi02.c:141:
+static uint32_t pflash_read (PFlashCFI02 *pfl, hwaddr offset,

ERROR: space prohibited between function name and open parenthesis '('
#358: FILE: hw/block/pflash_cfi02.c:264:
+static void pflash_write (PFlashCFI02 *pfl, hwaddr offset,

total: 3 errors, 0 warnings, 483 lines checked

Patch 1/10 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

2/10 Checking commit 32f306be2381 (pflash: Macro PFLASH_BUG() is used just 
once, expand)
3/10 Checking commit 50c58aaaeff5 (hw: Use CFI_PFLASH0{1, 2} and 
TYPE_CFI_PFLASH0{1, 2})
4/10 Checking commit aafbf2b0cbd5 (sam460ex: Don't size flash memory to match 
backing image)
5/10 Checking commit c940613c6fd9 (ppc405_boards: Don't size flash memory to 
match backing image)
6/10 Checking commit f63e1b95beaf (r2d: Flash memory creation is confused about 
size, mark FIXME)
7/10 Checking commit 6161e9b2e1a1 (mips_malta: Clean up definition of flash 
memory size somewhat)
8/10 Checking commit b2a752e969e1 (pflash: Clean up after commit 368a354f02b 
part 1)
ERROR: spaces required around that '-' (ctx:VxV)
#90: FILE: hw/arm/musicpal.c:1639:
+        pflash_cfi02_register(0x100000000ULL-MP_FLASH_SIZE_MAX,
                                             ^

ERROR: spaces required around that '-' (ctx:VxV)
#98: FILE: hw/arm/musicpal.c:1646:
+        pflash_cfi02_register(0x100000000ULL-MP_FLASH_SIZE_MAX,
                                             ^

total: 2 errors, 0 warnings, 248 lines checked

Patch 8/10 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

9/10 Checking commit 8900ef3eb27a (pflash: Clean up after commit 368a354f02b 
part 2)
10/10 Checking commit 03998181d548 (hw/arm hw/xtensa: De-duplicate pflash 
creation code some)
=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
http://patchew.org/logs/address@hidden/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]