From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [kvm-unit-tests PATCH 1/3] x86: fix "format not a string literal" errors Date: Wed, 7 Jun 2017 16:24:33 +0200 Message-ID: <20170607142432.GB28750@potion> References: <20170524213123.71538-1-dmatlack@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: kvm@vger.kernel.org, jmattson@google.com To: David Matlack Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37390 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750940AbdFGOYg (ORCPT ); Wed, 7 Jun 2017 10:24:36 -0400 Content-Disposition: inline In-Reply-To: <20170524213123.71538-1-dmatlack@google.com> Sender: kvm-owner@vger.kernel.org List-ID: 2017-05-24 14:31-0700, David Matlack: > Fix the following two compilation errors: > > x86/msr.c: In function ‘test_msr_rw’: > x86/msr.c:94:5: error: format not a string literal and no format arguments [-Werror=format-security] > report(sptr, expected == r); > ^ > > x8e/vmx.c: In function ‘test_vmx_caps’: > x86/vmx.c:1412:3: error: format not a string literal and no format arguments [-Werror=format-security] > report(vmx_ctl_msr[n].name, ok); > ^ > > Signed-off-by: David Matlack > --- Applied all, thanks. Looks like rawhide fedora's GCC is too old.