From nobody Mon May 6 11:43:53 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 1490416528662675.3576383394704; Fri, 24 Mar 2017 21:35:28 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AE6DA3DBD0; Sat, 25 Mar 2017 04:35:27 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7EFA5820A4; Sat, 25 Mar 2017 04:35:27 +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 95A3118523C9; Sat, 25 Mar 2017 04:35:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v2P4TeZg016404 for ; Sat, 25 Mar 2017 00:29:40 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3AA34785C1; Sat, 25 Mar 2017 04:29:40 +0000 (UTC) Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 330B118136 for ; Sat, 25 Mar 2017 04:29:38 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) (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 259758123D for ; Sat, 25 Mar 2017 04:29:37 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id r36so845186lfi.0 for ; Fri, 24 Mar 2017 21:29:36 -0700 (PDT) Received: from kloomba.my.domain ([31.29.231.57]) by smtp.gmail.com with ESMTPSA id z25sm583778lja.50.2017.03.24.21.29.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Mar 2017 21:29:33 -0700 (PDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AE6DA3DBD0 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx06.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 AE6DA3DBD0 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="m7qok2BV" DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 259758123D Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bogorodskiy@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 259758123D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=e6XgTvgwDjzrvYiX0Jy9j9Am/RMFTiJCNAXcGgUWINE=; b=m7qok2BVKJKL26k1eJbz5XTwag8zh1qpCioOkBjANXCqH9sytp8LE0fRs+o/zb6XiH +lyZjW9bw8zxPHAWyTl0fDagsl57UDuY0GEmb8v6m9Nog9Ne834SFhWd1m4Dd45NWpgw Hum2BvUy8Vc6roC8rO8c6LDF3AWfA/iRxsCzeTcYV3MyN0erTD2eIzU+TwZufdl2jg3T nugfbJ3dFcfyW0XMeQocAeSkGHY75LhEQisSYad+PbJyVpkHcStX92W9Xoh3kJIIQJmq /diZ2JMZ1KRdjdNQCWfLz1Kn6bPq/rVaj5wdmEyWD+dXwB6H/PKozT8bQn1QsP7U9bnW dKAA== 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=e6XgTvgwDjzrvYiX0Jy9j9Am/RMFTiJCNAXcGgUWINE=; b=cVBJNVHTQxPRsUk4kXrOne6TNopr1y3PXOTM3eSNvBAfzPMdHQM2++eIJwmVRriCXN 7sFhqSb9OOo3Tkl2ot9sNJ27wk3X/8zCkRR5zBz0fVjaC4Q40fuoyhTtKiivvtJeNVIy XGZK+reLGqYKE42G8/lQP7D1XPROeQZu9SwSgC28jgqoXu8mZPAL/ZCnA+Hhsbi1bqq5 cBCdLSWVgkXksFro8tIYdJHy8cTKwUV09fnEgEDZtOoZSBfGRoJM9POj5d3QnZ/m4oEs np63yGQO2Ov1dcH6ScJoXUV1pKJXg+vABlj8Sp9CN2nOIuudAgGLZ+LTA2B/fBFI+nG7 /4zQ== X-Gm-Message-State: AFeK/H02E6xdwoMZ8EF/gYMYYgZCqMrW+ial+ZqjC7EY6Xholkhx5QUXo83GnUUa+nMM1A== X-Received: by 10.25.229.6 with SMTP id c6mr5291534lfh.95.1490416174559; Fri, 24 Mar 2017 21:29:34 -0700 (PDT) From: Roman Bogorodskiy To: libvir-list@redhat.com Date: Sat, 25 Mar 2017 08:29:27 +0400 Message-Id: <20170325042927.97866-1-bogorodskiy@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sat, 25 Mar 2017 04:29:37 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sat, 25 Mar 2017 04:29:37 +0000 (UTC) for IP:'209.85.215.65' DOMAIN:'mail-lf0-f65.google.com' HELO:'mail-lf0-f65.google.com' FROM:'bogorodskiy@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.17 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 209.85.215.65 mail-lf0-f65.google.com 209.85.215.65 mail-lf0-f65.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.25 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: Roman Bogorodskiy Subject: [libvirt] [PATCH] util: fix 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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sat, 25 Mar 2017 04:35:28 +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" Fix typo in virNetDevPFGetVF() stub: ATTRUBUTE_UNUSED -> ATTRIBUTE_UNUSED. While here, use common indent style for arguments in virNetDevGetVirtualFunctionIndex() stub. --- Pushed under the build-breaker rule. src/util/virnetdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c index b9e9cbe54..93a931912 100644 --- a/src/util/virnetdev.c +++ b/src/util/virnetdev.c @@ -1493,8 +1493,8 @@ virNetDevIsVirtualFunction(const char *ifname ATTRIBU= TE_UNUSED) =20 int virNetDevGetVirtualFunctionIndex(const char *pfname ATTRIBUTE_UNUSED, - const char *vfname ATTRIBUTE_UNUSED, - int *vf_index ATTRIBUTE_UNUSED) + const char *vfname ATTRIBUTE_UNUSED, + int *vf_index ATTRIBUTE_UNUSED) { virReportSystemError(ENOSYS, "%s", _("Unable to get virtual function index on this p= latform")); @@ -1513,7 +1513,7 @@ virNetDevGetPhysicalFunction(const char *ifname ATTRI= BUTE_UNUSED, int virNetDevPFGetVF(const char *pfname ATTRIBUTE_UNUSED, int vf ATTRIBUTE_UNUSED, - char **vfname ATTRUBUTE_UNUSED) + char **vfname ATTRIBUTE_UNUSED) { virReportSystemError(ENOSYS, "%s", _("Unable to get virtual function name on this pl= atform")); --=20 2.11.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list