From nobody Mon Feb 9 06:00:40 2026 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1570036218; cv=none; d=zoho.com; s=zohoarc; b=GXL5v16pJvHwVQ3zJ9G8inZX3/0J9HD3sWIxyAmWeTKbunEBrQ8nA4IgUGsH7QAgFaXdfqAOXbxYSINvnzNv+8Pa3cispK3T+3KOQEk79IQ3sg7dVuU+r3Wl7AVqlb2kFilq1OqeNeWJg0KVBVV8YcQlXGV/vapYKWg429T/GXU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570036218; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=Aw6xOCIpWm2kAmEaQry44GfZ0800eMjC/MFfoXt3dp8=; b=US1a3dvbusmxRXzdlBaXdoyNcAJXNroFAEfGY8ZtjowQOKOM3FoavWrjCc1SDnU7BB5Axbq5qStJyGV1f02ZmpFFaV78PL2t6dgfLEH7SXbMzRzgrrTAkDYH4hRtFTRGoCZpB/mXfhY+VMq9l+YgtDBT6tz2doDD6F8aylaxUrM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1570036217586520.6564011566608; Wed, 2 Oct 2019 10:10:17 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iFi7h-0007MA-B5; Wed, 02 Oct 2019 17:09:09 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iFi7e-0007Lx-Qm for xen-devel@lists.xenproject.org; Wed, 02 Oct 2019 17:09:07 +0000 Received: from mo6-p00-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5300::1]) by localhost (Halon) with ESMTPS id 567b3ad2-e537-11e9-b588-bc764e2007e4; Wed, 02 Oct 2019 17:09:05 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 44.28.0 SBL|AUTH) with ESMTPSA id j06a90v92H5kUVc (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 2 Oct 2019 19:05:46 +0200 (CEST) X-Inumbo-ID: 567b3ad2-e537-11e9-b588-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1570036144; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=GbzhYxVr4PKOxK24SXzYvDJKwRH20NVwyGDYZAtBo0w=; b=ZNaEFnn9Bm/KS0S22PbQRXayVvHGrexIfODuXrjJzqK3UrMfnhSVF9+EPAoks7iZxo 7uLpqoIwm8UU0CXpedykBVYx5CmoSR9VLaWwmbsgwdqGP4KGDmu6fHn97rO3WCp7whXy 4UyR9D3UrzgpGPUuJOsA8m2JFo9YFFoYg5onichH/eMuluDGaJe2CDSK/T4B2sN9Q3cX MJVJzu+C15M5uPjYHJsjVXfjqTcPJ+LEZFKvdPSTKpoJETMQzo336UyX1rqVoIe+UQQG 7q3uBIjdcTPKE+5g7nJwpNeVfHBVtgO6CpPKuOk8LtMUHvLSAoIeN4d6Cb6TfsGVOUKp UOqw== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzBW/OdlBZQ4AHSS2Gkg" X-RZG-CLASS-ID: mo00 From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Wed, 2 Oct 2019 19:05:36 +0200 Message-Id: <20191002170543.26571-2-olaf@aepfle.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191002170543.26571-1-olaf@aepfle.de> References: <20191002170543.26571-1-olaf@aepfle.de> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v2 1/8] stubdom/vtpm: include stdio.h for declaration of printf X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Samuel Thibault , Olaf Hering , Quan Xu , Daniel De Graaf Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The function read_vtpmblk uses printf(3), but stdio.h is not included in this file. This results in a warning from gcc-7: vtpmblk.c: In function 'read_vtpmblk': vtpmblk.c:322:7: warning: implicit declaration of function 'printf' [-Wimpl= icit-function-declaration] printf("Expected: "); vtpmblk.c:322:7: warning: incompatible implicit declaration of built-in fun= ction 'printf' vtpmblk.c:322:7: note: include '' or provide a declaration of 'pri= ntf' Signed-off-by: Olaf Hering cked-by: Daniel De Graaf Reviewed-by: Samuel Thibault --- stubdom/vtpm/vtpmblk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stubdom/vtpm/vtpmblk.c b/stubdom/vtpm/vtpmblk.c index fe529ab5ac..681f0c01b6 100644 --- a/stubdom/vtpm/vtpmblk.c +++ b/stubdom/vtpm/vtpmblk.c @@ -20,6 +20,7 @@ #include #include #include +#include =20 /*Encryption key and block sizes */ #define BLKSZ 16 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel