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

Re: [Xen-devel] [PATCH] xen/trace: Fix build with !CONFIG_TRACEBUFFER


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Thu, 18 Jul 2019 15:19:49 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.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=oSzVHat8P5/Um51F8tL0xZ94BIgvFOfEPwySc/b1pvE=; b=msr7zx0bgPq/wqLHlek9Em66g+vJPuLM/EFm1YmYRqiHfCdvme3nGrUIQD5DxYb6QJAMzcKdBmzxPg9rOfQGhD+iSx6p1vE5Ju7pXHbOoKwjgmnCkWMt1EGDU8qkocY0yHzJwshfZ2Qx8UYaPTpSqQW0aNLK4XKq5NOuWwwIxRoxb/A6AsEeFtis+7VXgY/Ow0/bbgqnhfcTDpTS2cGML1YybGfvJ/62SLBsQzOcpg7mrjRUgsMZKen9hw58UhosBhWo7/erQWPWlSR7VCTVTMzm9nqD/hVf8TWPcz8ub5MGVS20ZbV+rV1q8jxAIShqfGuETIswVeucWhA7+VYPJA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ELFKfQXEsgSdZ3HcKgnGxjGMnnngXzGGMeVwnLUUZno2Px+FxyGTb1hhyu849toG41SHEQWyr8ipKr1D305t13ByQQhbREt3V1V/DubnRIigrZB7z4uLoyy9J8G1EJoXE8BbQadlvv9z56K2DUypY/e3YNDQL5JX+GPO1GxFQ18+I8Vp0qg0Qzd1cLNzBZeyz2QwGBufCdFIeAE6lTockhi09kLVyyj4BwvprNmtI79uPGpeK+rF0wN67HmCpy7PdvPsbC9MBGyibhaIiDj/p+nOefnvK8ruS45AKTW124O+BydpV+fffTDH95myVKBTNmzawcO7JppZNnKMpNbDbw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxx>
  • Delivery-date: Thu, 18 Jul 2019 15:20:17 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVPXEjGxZD9sgSDUiWFm9J2OB9NabQfZOA
  • Thread-topic: [PATCH] xen/trace: Fix build with !CONFIG_TRACEBUFFER

On 18.07.2019 16:00, Andrew Cooper wrote:
> GCC reports:
> 
> In file included from hvm.c:24:0:
> /local/xen.git/xen/include/xen/trace.h: In function ‘tb_control’:
> /local/xen.git/xen/include/xen/trace.h:60:13: error: ‘ENOSYS’
> undeclared (first use in this function)
>       return -ENOSYS;
>               ^~~~~~
> 
> Include xen/errno.h to resolve the issue.  While tweaking this, add comments
> to the #else and #endif, as they are a fair distance apart.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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