From patchwork Tue Jul 15 14:24:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 33666 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3259920CAD for ; Tue, 15 Jul 2014 14:26:10 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf33789790pab.8 for ; Tue, 15 Jul 2014 07:26:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=wl56vav9zowl4NY+okXPRV85JjBqaeAMZ/iwctCu2vo=; b=L05U4BxAHGwlwr80VL5ByA80NoqXqdrdKBeeZamUGPvCEH3swcC4LXQ9GYyKxyJPYi AxbvsXjbh+35SXnLCNAl8sIb+0G9Mfb972qdsQw7sfyZXmWkhUdvCdwnNXDCGpbFI8Ju vFUVd/0TCsNvSE+EVJnMiyl9JlUZxdedTy/15txM5YnkM4CBLSZ/LaCLQ89GlLn6l3pp Qgjs8P7FZnHK+XbWvh+ORe/TG5+S4K9mHXuwKAnqMcBfl5EfJteyEsfWJIZY8zAvsfni vuqwMnnPoTitmrAl7D/NIbCnQlxYOe/ucsW47yM2JzJXSheQRQW7rBkNmmOYzsYE5h4B j4dw== X-Gm-Message-State: ALoCoQkMjMiJMqknoQCLiykuzq7skqgqdOp0YS6F9VZ4ZP6eVsa3lLzIvi4EmMy5RuLg2abcq2TI X-Received: by 10.66.182.130 with SMTP id ee2mr11634407pac.37.1405434369487; Tue, 15 Jul 2014 07:26:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.244 with SMTP id p107ls107526qgp.50.gmail; Tue, 15 Jul 2014 07:26:09 -0700 (PDT) X-Received: by 10.52.66.227 with SMTP id i3mr1031190vdt.48.1405434369389; Tue, 15 Jul 2014 07:26:09 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id ik11si6761423vec.98.2014.07.15.07.26.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jul 2014 07:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so6652301vcb.29 for ; Tue, 15 Jul 2014 07:26:09 -0700 (PDT) X-Received: by 10.58.182.234 with SMTP id eh10mr1245572vec.41.1405434369043; Tue, 15 Jul 2014 07:26:09 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp218781vcb; Tue, 15 Jul 2014 07:26:08 -0700 (PDT) X-Received: by 10.229.68.131 with SMTP id v3mr36310198qci.10.1405434368631; Tue, 15 Jul 2014 07:26:08 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id ce2si20711735qcb.7.2014.07.15.07.26.08 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 15 Jul 2014 07:26:08 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:34970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X73gG-0006Tr-5Y for patch@linaro.org; Tue, 15 Jul 2014 10:26:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X73fF-0005fj-OX for qemu-devel@nongnu.org; Tue, 15 Jul 2014 10:25:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X73fA-0007Wd-DM for qemu-devel@nongnu.org; Tue, 15 Jul 2014 10:25:05 -0400 Received: from [2001:4b98:dc0:45:216:3eff:fe3d:166f] (port=52381 helo=afflict.kos.to) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X73fA-0007W3-6n for qemu-devel@nongnu.org; Tue, 15 Jul 2014 10:25:00 -0400 Received: from afflict.kos.to (afflict [92.243.29.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id EEA6D26544; Tue, 15 Jul 2014 16:24:58 +0200 (CEST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Tue, 15 Jul 2014 17:24:53 +0300 Message-Id: <27a07827c4a56b65744c061fff78f7ca76cd934e.1405434118.git.riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:4b98:dc0:45:216:3eff:fe3d:166f Cc: Peter Maydell , Joakim Tjernlund Subject: [Qemu-devel] [PULL for-2.1 1/5] SIOCGIFINDEX: fix typo X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Joakim Tjernlund Wrong type was used in ioctl definition. Signed-off-by: Joakim Tjernlund Reviewed-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/ioctls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index 07a00da..609b27c 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -118,7 +118,7 @@ IOCTL(SIOCSIFMEM, IOC_W, MK_PTR(MK_STRUCT(STRUCT_ptr_ifreq))) IOCTL(SIOCADDMULTI, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) IOCTL(SIOCDELMULTI, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) - IOCTL(SIOCGIFINDEX, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) + IOCTL(SIOCGIFINDEX, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_int_ifreq))) IOCTL(SIOCSIFLINK, 0, TYPE_NULL) IOCTL_SPECIAL(SIOCGIFCONF, IOC_W | IOC_R, do_ioctl_ifconf, MK_PTR(MK_STRUCT(STRUCT_ifconf)))