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

[PATCH for-4.15 1/3] hvmloader: do not include inttypes.h


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Fri, 26 Feb 2021 09:59:06 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hj37e+SNrz2nKwe5qTt02taxIT6WJpsEwV4bs2+RqYE=; b=HssAwkpMyNUvvcR/Z44J19Je98VDKm2pRoGvYtjmy5wtAfPDDdyICq2sbXLZtmDy60pnm/i+Fwd0JHY6jh9ThFz6OrLPjgb8oIFy3UcXqcDDCMGhS+Mm8sZ10c8A/pqBl2mEjzdm0N/65GFkIPH7CZ0ve2HfpJJ+bH0kRTgHrwJhu8NF/U5+kMTGR9gO+d+wCzi8jaiS28pHbCmVRidY9xMPaGYYr052/T4pGBUn0fLYg/8Xtu3DgvlZQmn9k2m0+e3CPtVogeeuyiMBVkW/O8I7KLuJpo0KcGhgDqN5WR43TXAZDFiZ9+SO8m46SxvRWI5laNhSCNcODhaNnCUC+Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U0SMC773LEOjlKGFk16pT1oQ8c8/jIUTpkghRo3e3JXhorS+wpaMNk5FFAKpSHfw7g5I/k6eq40dSOh4JJ/477gGK5ioZ6XjtauNZxho9PyTBCUgesfYcsQYaYMiY+SVnLHkR6MaghHkVlH5/ARCL9bcvwalIUqqwZ6wTPofpFzvMEmYDdrOIRVIjLteUD+DgBjJerZtRPfxZ6u9b7SMVfFDyPE4NDdksIGcFT2noXE0SDr38V4gx0V2YVyiUWkHCNMEg0POfgj/6Fg58xH7x+jeUe1UZH9FLj91qrFUnyHFMmTXdrJH2zBVBjr47VeId9FX2l/jZJfIXiJD1KPtgA==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
  • Delivery-date: Fri, 26 Feb 2021 09:00:47 +0000
  • Ironport-sdr: Rw6EQFzdd2pfg4ASxidV+NAkGTGdf1pNH/RLfORxx0pKkndWJPVFmhZTs1051UPGxj+Ij5eeeg Go8MQHviieXUteyUmIEjF1w4cB0fIQjRZjjUJ9jL3mtxEUp5x0614Vb+LFgdmH3i8Wbafm/QdO U29Kk0+nUf8pBur7aRSkWc2H63DNXFu2bmEbM++FVQPb0zWzy1XvT9sTIaXYY7C7Cgu8NgVKii GbT8AE3NMNkY6QuJtMibGwiShg5918YyCQBawzEm3tL4oYb3jgfB5Jae8io/3g9cvgtAhXZyHe 0WQ=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

elfstructs.h doesn't require anything from inttypes.h: it's more
appropriate to include stdint.h instead which contains the type
declarations required for the ELF types.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 tools/firmware/hvmloader/32bitbios_support.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/firmware/hvmloader/32bitbios_support.c 
b/tools/firmware/hvmloader/32bitbios_support.c
index e726946a7b..d1ead1ec11 100644
--- a/tools/firmware/hvmloader/32bitbios_support.c
+++ b/tools/firmware/hvmloader/32bitbios_support.c
@@ -20,7 +20,7 @@
  * this program; If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <inttypes.h>
+#include <stdint.h>
 #include <xen/libelf/elfstructs.h>
 #ifdef __sun__
 #include <sys/machelf.h>
-- 
2.30.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.