Message ID | 4f1e99a9aac7ff88a4fe034f545184d0e3380a4b.1408436940.git.riku.voipio@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBC4MBBM76YMRBUU5ZSPQKGQESSWIVGI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 576B22136C for <linaro@patches.linaro.org>; Tue, 19 Aug 2014 08:46:10 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 79sf20817790ykr.2 for <linaro@patches.linaro.org>; Tue, 19 Aug 2014 01:46:10 -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=b4h+vpUNc34B4ZDCPOGdS0FZ9juEByseb7zh7nMEGmo=; b=EQx+YF/7PToJ/T6afvxSQnK9v8uy3bS+yJEV5T4C2xOBARd1BGxaANx52xlvmeQbsH pseHyaAe9J2Q4xIpcqDuhFsdOXCBf7i9lLSn+JdbLKzmBn/aS1EmrWtWFWiu5zd+lbLw cjdagh4I3FbQVcsEYKnWo4HzbOsMBul7fPGM/nJUAAdbh2Aevs8Iy6HuEoT++UhE2qOt FtBg/WWf+3QpJ9KzjippdXTJMQYDNkZnbx+u8zW22K6hjQW212lgUDTsnByjXBOq63Sz 76PIf8Qsijqb6chwuWPPfOwEkVBmSoeAJuzXd07SYxjTwXzcuA2mEH/QRL31Dt//EBPF QNJg== X-Gm-Message-State: ALoCoQm7zzqxhzGy5jCyBexnFXfzSk5aXuH8tLip7oaUSr33InS4psgFn7noYFN0BQGMVDl4evPy X-Received: by 10.224.21.129 with SMTP id j1mr21179908qab.7.1408437970155; Tue, 19 Aug 2014 01:46:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.49 with SMTP id i46ls1090465qgd.10.gmail; Tue, 19 Aug 2014 01:46:10 -0700 (PDT) X-Received: by 10.52.253.39 with SMTP id zx7mr15247317vdc.2.1408437970087; Tue, 19 Aug 2014 01:46:10 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id o5si6833372vcz.91.2014.08.19.01.46.10 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 01:46:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so6954215vcb.23 for <patchwork-forward@linaro.org>; Tue, 19 Aug 2014 01:46:10 -0700 (PDT) X-Received: by 10.220.114.5 with SMTP id c5mr29107702vcq.28.1408437970020; Tue, 19 Aug 2014 01:46:10 -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 tc5csp220954vcb; Tue, 19 Aug 2014 01:46:09 -0700 (PDT) X-Received: by 10.229.235.133 with SMTP id kg5mr64667626qcb.24.1408437969269; Tue, 19 Aug 2014 01:46:09 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id a18si28024882qgf.104.2014.08.19.01.46.09 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 19 Aug 2014 01:46:09 -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]:49173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1XJf3Q-0005gB-T7 for patch@linaro.org; Tue, 19 Aug 2014 04:46:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1XJequ-000130-Aa for qemu-devel@nongnu.org; Tue, 19 Aug 2014 04:33:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1XJeql-0001aD-PR for qemu-devel@nongnu.org; Tue, 19 Aug 2014 04:33:12 -0400 Received: from afflict.kos.to ([92.243.29.197]:35156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1XJeql-0001Ya-Jc for qemu-devel@nongnu.org; Tue, 19 Aug 2014 04:33:03 -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 43F402651C; Tue, 19 Aug 2014 10:33:02 +0200 (CEST) From: riku.voipio@linaro.org To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org Date: Tue, 19 Aug 2014 11:32:52 +0300 Message-Id: <4f1e99a9aac7ff88a4fe034f545184d0e3380a4b.1408436940.git.riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <cover.1408436940.git.riku.voipio@linaro.org> References: <cover.1408436940.git.riku.voipio@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 92.243.29.197 Cc: Tom Musta <tommusta@gmail.com> Subject: [Qemu-devel] [PULL v2 17/23] linux-user: Detect fault in sched_rr_get_interval X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=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.178 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 |
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index a0436da..a24356d 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -7864,7 +7864,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, struct timespec ts; ret = get_errno(sched_rr_get_interval(arg1, &ts)); if (!is_error(ret)) { - host_to_target_timespec(arg2, &ts); + ret = host_to_target_timespec(arg2, &ts); } } break;