From nobody Sun Apr 28 19:46:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1495814720995686.2531749352306; Fri, 26 May 2017 09:05:20 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4A2317F4AC; Fri, 26 May 2017 16:05:17 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 937F28278B; Fri, 26 May 2017 16:05:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E22B74BB7F; Fri, 26 May 2017 16:05:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v4QG5CLS012004 for ; Fri, 26 May 2017 12:05:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id C873580681; Fri, 26 May 2017 16:05:12 +0000 (UTC) Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C23FD189A8 for ; Fri, 26 May 2017 16:05:10 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 880447F4A8 for ; Fri, 26 May 2017 16:05:09 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id 99so1356780lfu.2 for ; Fri, 26 May 2017 09:05:09 -0700 (PDT) Received: from localhost.localdomain ([213.147.221.70]) by smtp.gmail.com with ESMTPSA id y11sm255718ljd.40.2017.05.26.09.05.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 May 2017 09:05:06 -0700 (PDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4A2317F4AC Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 4A2317F4AC Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QLC/8Nz7" DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 880447F4A8 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bogorodskiy@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 880447F4A8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=FBcXNrK5VCgzk+I8VKXaTUOO+gvFwPKK2feV6DnEv2k=; b=QLC/8Nz7iV6d1NO9XnrQ0ygJgCyjbAmlOWUx9BvO4oBYp24yvOxlzAaqfPc71gzpjW gU6ntjI4cMhBlzhO+36FX5+wnEBHOaakejONHEwOsd59EomyTuXyFhRHytmD0ucxLeqC N4CUyuKJgu/MXxlrlyY0TziIAUHz4P4LVKVUVEHR32BoPvYwjJ4ARLqZ0yawAnlNWE64 EYlm5oT/JN/M6nc+fWX8/BUJUWiK9cnsHb6gKXQ8LNIAxlWI+OEbcCtvkBtj8InvFuwa p/S8tRpU5yjPw6yVjnqEhGcqtM2pcgRA6PFdOwRJ2FNe2x4Ilz/XqE3rKEUYFYFTH6PR Jtrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FBcXNrK5VCgzk+I8VKXaTUOO+gvFwPKK2feV6DnEv2k=; b=DsKhR+jIzU8QuQTISu92bqNzK+Ez9PadYBVpPqz/E41XVAGb0ju3bneFQAutOTFRSs gP5RIJpEeAMd3lNRYD9w9jeWwoCBfa+60aSa4ccSCYUH9w8jZyJaj7DfVL9MkN8dv/1g KEfkXwQa3tPdRBvSilPpMvyGFJcd1MtySSZ3IbTJFLqdNVrDb7oLIVOorDc7XlsO1zVz /bE+CKf8ucMmCA0v3aXWjXi+htjwXnOnYRKMfMZGtGUdZgnTG9bxlhG1GUiGITHdOOyN t6zEFSVi8anQnNR7i6W3+Nui94S8Yz02Y1AS7xsq+iw+b2Z10aD110eRH8PUzKV2QhuZ 23Ig== X-Gm-Message-State: AODbwcAPH3j3QIVrI7RgeAcFOxXn0auwYScPMZWPJLMhWgirdoUWgg6M FgGA6GGXw9GYX3FC X-Received: by 10.46.21.28 with SMTP id s28mr965216ljd.112.1495814707682; Fri, 26 May 2017 09:05:07 -0700 (PDT) From: Roman Bogorodskiy To: libvir-list@redhat.com Date: Fri, 26 May 2017 20:05:01 +0400 Message-Id: <20170526160501.51304-1-bogorodskiy@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 26 May 2017 16:05:09 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 26 May 2017 16:05:09 +0000 (UTC) for IP:'209.85.215.68' DOMAIN:'mail-lf0-f68.google.com' HELO:'mail-lf0-f68.google.com' FROM:'bogorodskiy@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.18 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 209.85.215.68 mail-lf0-f68.google.com 209.85.215.68 mail-lf0-f68.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: Roman Bogorodskiy Subject: [libvirt] [PATCH] util: fix virfcp build on non-Linux X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 26 May 2017 16:05:18 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" - Include virerror.h for virReportSystemError - Rename stub functions to match original function names --- Pushed under the build breaker rule. src/util/virfcp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/util/virfcp.c b/src/util/virfcp.c index 3c7fab917..7660ba720 100644 --- a/src/util/virfcp.c +++ b/src/util/virfcp.c @@ -26,6 +26,7 @@ =20 #include "viralloc.h" #include "virfile.h" +#include "virerror.h" #include "virstring.h" =20 #include "virfcp.h" @@ -80,14 +81,14 @@ virFCReadRportValue(const char *rport, #else =20 bool -virSysfsIsCapableFCRport(const char *rport ATTRIBUTE_UNUSED) +virFCIsCapableRport(const char *rport ATTRIBUTE_UNUSED) { virReportSystemError(ENOSYS, "%s", _("Not supported on this platform")= ); return false; } =20 int -virSysfsReadFCRport(const char *rport ATTRIBUTE_UNUSED, +virFCReadRportValue(const char *rport ATTRIBUTE_UNUSED, const char *entry ATTRIBUTE_UNUSED, char **result ATTRIBUTE_UNUSED) { --=20 2.13.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list