From nobody Sat May 11 21:13:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1562032946; cv=none; d=zoho.com; s=zohoarc; b=oFTO8UeMdMYa8TAbq2RAFWhCGSDITr8jbpAMbwd4B7QJmyeI3GPNea64MSS0HsfxM0w6Xbdy7nc5FTMjerHmWzxM82VfF7fMtGKmpdsDS0AJCUoCQBCcs+dnATTUB9tXQZHTDUSb8zAK9jBR55Y1Y5ZcZqsP45qWvEflHYZHOZw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562032946; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=H5JCIl/sTUYayqnfbnRrzXQvGcI9pQ/R8Eioapux/4s=; b=UkYUb3w9vBCcQtBRVa7Vjj7/TUb279M+o5iEtkDw25R1hzaazmsUhT7JVc+cnVZauGDn+h08IK6EOLRKdHTc85KXcQK9xWeA8VSXEPCAVruzxIK+EfZyRz/HICanrenvbP50rRq/zfHg08+br3Qbz4vd5t/BuKprGSlNeLxWRRA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1562032946944613.2648918572489; Mon, 1 Jul 2019 19:02:26 -0700 (PDT) Received: from localhost ([::1]:47080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi87d-0006YW-Py for importer@patchew.org; Mon, 01 Jul 2019 22:02:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57261) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi4Sv-00016G-BW for qemu-devel@nongnu.org; Mon, 01 Jul 2019 18:08:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi4Sl-00028G-3h for qemu-devel@nongnu.org; Mon, 01 Jul 2019 18:07:55 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hi4Se-00026G-5o for qemu-devel@nongnu.org; Mon, 01 Jul 2019 18:07:46 -0400 Received: by mail-wr1-f67.google.com with SMTP id e3so5910631wrs.11 for ; Mon, 01 Jul 2019 15:07:42 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id v204sm185026wmb.15.2019.07.01.09.47.35 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 09:47:36 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A997D1FF87; Mon, 1 Jul 2019 17:47:35 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H5JCIl/sTUYayqnfbnRrzXQvGcI9pQ/R8Eioapux/4s=; b=Du5eu6ttB/k2scC1BWfNTldbtY6WQnwnoC16Kw4lShjxs6BD31KoiJX9BaakyS77cQ 0TTvHscEIu8iv4ohqdBKUyR5h47fCASWe3iaNjsjDzJo8M2tFAbivbetldnly8wR4fv+ 9Q6gmkWt3KRfArbq8EOrCLN/MP2nlvZL7+Mjd7fMvTwsHH2uxx1rPdCsLFBkw2qeIA8r SkMxX8FP81nGVnTW170XG7K6kkT3N+Z7E+fDd72g3WXbo7PQSCcFEtQE1QMsMYBs8lJf VVj96pgn2+nPYQv+rAy1mvVySjAekVdv+ctpTyaJmKubenyJ57wwypqPL6vV5/Y+fzGm ESLw== 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:mime-version :content-transfer-encoding; bh=H5JCIl/sTUYayqnfbnRrzXQvGcI9pQ/R8Eioapux/4s=; b=gYrzjvLhKg4MXQB+k+ybvUzv+bHzzDvmw2KH9wnovbFvDQwFbhKeTqqZsiDN2H1/b0 nQ2MzmbDxX0uK1hdk9tQ5n17KXKhqindhkN+yErifQJEgdHhBa7ZlDRfJ1HUtwqqCI9a jvyVa4RPBuZX667Sj/lHV9km2R09PXw4COyc4nt23ROZkwd+xQyGM8GX4Nii27MRGRRW /2Ll4YtRPZ0vyvTti8dXHvLg5elBjuTONDrRAw4kJ6VP98W76Q1bH0Pniw8QFHHE1v+Y +xkKzeLnm+1tGLbMFTW0PK7NcxBUlpsY3mX3JpYXs/CYjDKoCwr8YiIcY+VIrFkkTfK1 hXQw== X-Gm-Message-State: APjAAAXVruk+1w+XNUiq/APM6SKaMVDGs7/d55dgRJY8bn79hb8oppyZ w7bnZuEaGOZi7uLhJpJEq8sTkia+/aA= X-Google-Smtp-Source: APXvYqy9F6nnlQtlRY2/dH3H2K05l8wiv4/aaLkfwGX8j5Xgp2xa1Pmv7J6FEbpEBlmWIuUvDSti5g== X-Received: by 2002:adf:f591:: with SMTP id f17mr20621432wro.119.1561999656586; Mon, 01 Jul 2019 09:47:36 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 1 Jul 2019 17:47:32 +0100 Message-Id: <20190701164732.30518-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.221.67 Subject: [Qemu-devel] [PATCH] migration: move port_attr inside CONFIG_LINUX X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Otherwise the FreeBSD compiler complains about an unused variable. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- migration/rdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/migration/rdma.c b/migration/rdma.c index 74cb2aa9f9..3036221ee8 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -839,10 +839,9 @@ static void qemu_rdma_dump_gid(const char *who, struct= rdma_cm_id *id) */ static int qemu_rdma_broken_ipv6_kernel(struct ibv_context *verbs, Error *= *errp) { - struct ibv_port_attr port_attr; - /* This bug only exists in linux, to our knowledge. */ #ifdef CONFIG_LINUX + struct ibv_port_attr port_attr; =20 /* * Verbs are only NULL if management has bound to '[::]'. --=20 2.20.1