Attention is currently required from: Simon Buhrow, Nico Huber, Thomas Heijligen, Aarya.
View Change
1 comment:
File flashrom.c:
Patch Set #66, Line 1204: msg_cerr("Write failed at %#lx, Abort.\n", i);
I got an error on this line when building for arm board (ignore the line number):
../flashrom-9999/flashrom.c:1650:47: error: format specifies type 'unsigned long'
but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
msg_cerr("Write failed at %#lx, Abort.\n", i);
~~~~ ^
%#zx
The suggestion from the error message `%#zx` worked, now everything builds.
If it's useful:
cross-built for target arm, armv7a machine
clang 15.0 on Chromium OS
To view, visit change 66104. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I29e3f2bd796759794184b125741a5abaac6f3ce8
Gerrit-Change-Number: 66104
Gerrit-PatchSet: 66
Gerrit-Owner: Aarya <aarya.chaumal@gmail.com>
Gerrit-Reviewer: Simon Buhrow
Gerrit-Reviewer: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Simon Buhrow
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Thomas Heijligen <src@posteo.de>
Gerrit-Attention: Aarya <aarya.chaumal@gmail.com>
Gerrit-Comment-Date: Thu, 27 Oct 2022 05:51:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment