Received: from eggs.gnu.org ([2001:4830:134:3::10]:57787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHfbJ-0002vs-SR for qemu-devel@nongnu.org; Mon, 27 Jun 2016 19:05:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHfbE-0003cS-Pg for qemu-devel@nongnu.org; Mon, 27 Jun 2016 19:05:56 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:55450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHfbC-0003bC-6I for qemu-devel@nongnu.org; Mon, 27 Jun 2016 19:05:52 -0400 Message-ID: <1467068728.23740.191.camel@aj.id.au> From: Andrew Jeffery Date: Tue, 28 Jun 2016 08:35:28 +0930 In-Reply-To: <20160627215304.821-1-bobby.prani@gmail.com> References: <20160627215304.821-1-bobby.prani@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-+ny65M3BhIjrRY42up0q" Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] misc/aspeed_scu: Fix build error caused by missing header List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pranith Kumar , Peter Maydell , "open list:All patches CC here" --=-+ny65M3BhIjrRY42up0q Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2016-06-27 at 17:53 -0400, Pranith Kumar wrote: > Tracing configurations error out currently as follows: >=20 > /home/travis/build/pranith/qemu/hw/misc/aspeed_scu.c: In function =E2=80= =98aspeed_scu_read=E2=80=99: > /home/travis/build/pranith/qemu/hw/misc/aspeed_scu.c:130:9: error: implic= it declaration of function =E2=80=98qemu_log_mask=E2=80=99 [-Werror=3Dimpli= cit-function-declaration] > /home/travis/build/pranith/qemu/hw/misc/aspeed_scu.c:130:9: error: nested= extern declaration of =E2=80=98qemu_log_mask=E2=80=99 [-Werror=3Dnested-ex= terns] > /home/travis/build/pranith/qemu/hw/misc/aspeed_scu.c:130:23: error: =E2= =80=98LOG_GUEST_ERROR=E2=80=99 undeclared (first use in this function) > /home/travis/build/pranith/qemu/hw/misc/aspeed_scu.c:130:23: note: each u= ndeclared identifier is reported only once for each function it appears in > /home/travis/build/pranith/qemu/hw/misc/aspeed_scu.c: In function =E2=80= =98aspeed_scu_write=E2=80=99: > /home/travis/build/pranith/qemu/hw/misc/aspeed_scu.c:154:23: error: =E2= =80=98LOG_GUEST_ERROR=E2=80=99 undeclared (first use in this function) >=20 > This is caused by a missing header file. Fix it. >=20 > Signed-off-by: Pranith Kumar Reviewed-by: Andrew Jeffery Thanks for the fix. I've enabled travis on my github repo now, hopefully I'll catch this kind of issue before I send patches out. I need to look into why I didn't trigger this issue in my own change/build/test cycles. Cheers, Andrew > --- > =C2=A0hw/misc/aspeed_scu.c | 1 + > =C2=A01 file changed, 1 insertion(+) >=20 > diff --git a/hw/misc/aspeed_scu.c b/hw/misc/aspeed_scu.c > index 4f9df58..23f5175 100644 > --- a/hw/misc/aspeed_scu.c > +++ b/hw/misc/aspeed_scu.c > @@ -15,6 +15,7 @@ > =C2=A0#include "qapi/error.h" > =C2=A0#include "qapi/visitor.h" > =C2=A0#include "qemu/bitops.h" > +#include "qemu/log.h" > =C2=A0#include "trace.h" > =C2=A0 > =C2=A0#define TO_REG(offset) ((offset) >> 2) --=-+ny65M3BhIjrRY42up0q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJXcbE4AAoJEJ0dnzgO5LT50V8QAKYGHavrW97PVEb+ZaUEcD1K 3sSEmwbK1jJVvImTdszNwKoPFJlVut+vkYktF7z1OglitIWB+cvgpGfYFOXF88st ZUuTmGZLiCGaDW6M1AE32aev+Pkiw6G/l5F9Uw78yfZEgMzICxuddCMc8uVv9uGJ 8KVXr/SOVMGgoj5h7S4To62hbFbfaZ++EpYWfZZMx+xPUJeaVX5HLAc6A9zB9jRO fMKssP8jk46aMGvOpX3Ri/YP5gRWkUSWxZ2tWZz2zN/eY9KAS1w9T1N9o7NAXeJU clOTJ0GdP7X/alHS2T8UoCyvwfKLM2FZgn7pN5do+shGxE3QQ1YlpvcsrUlPD2jy iFyGnsmk+1/WEb4Y6Ys4+sYqwXOJV3kPDlhDvAgnjAXINa8mYsXUrvGQYDm5ErEF 36ATC8N0MfDR0dJdjRuJISUnvGX3XnZJqIzT1o6d/HokdrwfnpHF7cMyIyveUuff k3Qtpj9QA9knvXH9huknhrD4mGTKf93yALmSWN+/FO81ek2UooA31E8IgWajAzN+ 7Z3u1o7OhLa2lsg7mYYwU+WmxK/IUJ5HK6GyRNrXy+M3lw3CSgR37DrqQbd8vEZw iRZvg3XmZP02SJKiRJhiQOJAZaplGrQJs7/4jSHEu/NCnoihQbNG5yNZtPpfJ4Zh cCB3Rl6dFR97GIpqzNA1 =vOfx -----END PGP SIGNATURE----- --=-+ny65M3BhIjrRY42up0q--