From nobody Fri Mar 29 13:08:25 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.zohomail.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; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520565887475818.6928094000967; Thu, 8 Mar 2018 19:24:47 -0800 (PST) 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 2B64737EE9; Fri, 9 Mar 2018 03:24:44 +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 B461260C8C; Fri, 9 Mar 2018 03:24:41 +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 9D52A180613A; Fri, 9 Mar 2018 03:24:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w293OaBc025624 for ; Thu, 8 Mar 2018 22:24:36 -0500 Received: by smtp.corp.redhat.com (Postfix) id 27AF0608F2; Fri, 9 Mar 2018 03:24:36 +0000 (UTC) Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1F6EB6A046 for ; Fri, 9 Mar 2018 03:24:33 +0000 (UTC) Received: from mail-vk0-f66.google.com (mail-vk0-f66.google.com [209.85.213.66]) (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 23CBDC049D5C for ; Fri, 9 Mar 2018 03:24:33 +0000 (UTC) Received: by mail-vk0-f66.google.com with SMTP id q7so1306770vkh.3 for ; Thu, 08 Mar 2018 19:24:33 -0800 (PST) Received: from localhost.localdomain (189-47-57-80.dsl.telesp.net.br. [189.47.57.80]) by smtp.gmail.com with ESMTPSA id 131sm86898vkg.12.2018.03.08.19.24.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 19:24:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=HEXcyBKIJgFEmPP76T3Ldvj7NMzaMJbUyIIZZlOI3EM=; b=Th6xP7J905FrNKt4kqyvQHTpCIa9LK1l0mSUIakqEaQB0Ge10jD74xSjPpAh6VefF5 jcwHbsGY/JYCIKZh4GXSfivw1vcy/V+luIl8gIJeWenFh7tl8wpAAheGb9MWVg0UgRtY qGvfW8M/P441Sr/Ekhgixr40IYH2AX6qHjc4+H9nXICOwURejNDka/X5TL7qCvebWeWC GNaGj07NFTfCm1u3V3ZxUquEVlzNDY+wKpaSgTzpq9PZNSPAmx/0WGm9cfbERu/LYhnJ /nGJ3Irg+6F4u2Lnu0eN7jUmp/DhQdGihN815N8oe5vMqP0nC/xLAPBJDev9nQDCSYh1 y6XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=HEXcyBKIJgFEmPP76T3Ldvj7NMzaMJbUyIIZZlOI3EM=; b=Q8vhbK2NmdWFiq7bfvtKRsPM14uYyGDe4QhrJ83euN2TLkvZ2z7iTGnJD6jXdTV9dk XmnebfW1Wp+2VQqi6BY2XfIs/emiJxvkpJ3jabGHjhbjRs6sOoGHqWhA1AXaIoXgEnPH 7XGXBcuDvVSqJN3oSphZkpmgJ3X/JMZ5t+pPNuWMvV00u0I3RM40w9NPGh/dr8OGueqr PO5GwGzXe5MPgk31iDIiTznKrPG4Vw5IauPM8W7qA0m5ST4QZJ96niHBdmNAzJ6/rU8s U4PlsJRjD10jH+us8Qpwv1WSo64spCiv+JECOPV3DtDQlA+RxKt22r+TkLf1ve0SwgTt +jNw== X-Gm-Message-State: APf1xPBhpdyM+s2xGw/JfdbcMXSTOpG9QlzlHEzbjOCe/pOILXQY2CBJ xhstpKFbUh2eMR5HXUKhq/XSmw== X-Google-Smtp-Source: AG47ELskYADkwlxChT+SbxX+VbyjRK/FD230N1pxRKx2kAF9Yv/oiUH2tcEf1FilO1gm6PIFOdrf9w== X-Received: by 10.31.209.69 with SMTP id i66mr20633100vkg.95.1520565871971; Thu, 08 Mar 2018 19:24:31 -0800 (PST) From: Julio Faracco To: libvir-list@redhat.com Date: Fri, 9 Mar 2018 00:24:15 -0300 Message-Id: <20180309032415.5299-1-jcfaracco@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 09 Mar 2018 03:24:33 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 09 Mar 2018 03:24:33 +0000 (UTC) for IP:'209.85.213.66' DOMAIN:'mail-vk0-f66.google.com' HELO:'mail-vk0-f66.google.com' FROM:'jcfaracco@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.13 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 209.85.213.66 mail-vk0-f66.google.com 209.85.213.66 mail-vk0-f66.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] qemu: different declarations for the same method. 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.29]); Fri, 09 Mar 2018 03:24:45 +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" Recently, this warning is appearing while libvirt is being compiled: Function 'qemuAssignDeviceDiskAlias' argument order different: declaration 'vmdef, def' definition 'def, disk' This commit change the default declaration for qemuAssignDeviceDiskAlias specified at src/qemu/qemu_alias.c. Signed-off-by: Julio Faracco --- src/qemu/qemu_alias.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_alias.h b/src/qemu/qemu_alias.h index 2246e712f..8c744138c 100644 --- a/src/qemu/qemu_alias.h +++ b/src/qemu/qemu_alias.h @@ -38,8 +38,8 @@ int qemuAssignDeviceControllerAlias(virDomainDefPtr domai= nDef, virQEMUCapsPtr qemuCaps, virDomainControllerDefPtr controller); =20 -int qemuAssignDeviceDiskAlias(virDomainDefPtr vmdef, - virDomainDiskDefPtr def); +int qemuAssignDeviceDiskAlias(virDomainDefPtr def, + virDomainDiskDefPtr disk); =20 int qemuAssignDeviceHostdevAlias(virDomainDefPtr def, char **alias, --=20 2.14.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list