Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10831903imu; Thu, 6 Dec 2018 07:27:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/UL2IZ6BREx+O6Z1mT+HzlPpCUYXGVRLoWPtzLafmzo3y4A2stLudWXLc3GoWQQqxoYt1rg X-Received: by 2002:a17:902:724a:: with SMTP id c10mr29388662pll.51.1544110074807; Thu, 06 Dec 2018 07:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544110074; cv=none; d=google.com; s=arc-20160816; b=hLB5SLd6NNbJ6VyvVTspwvVjSe9syjGT1uItp8hkdoLln8gLUCAwkLtuK029YA0Hul 8x4jOaDTL3AKoQnNQ6zeUXIpyPex6+ORryJTUA65Uunxy7g0i5NWlz7SaEesPiBlzwvw x12tzwjFJFdWqXHqi+Omr5JkZ6qHBABbJ/z3yevLDdi0Fv1/IFGshki2Y123eoKGfo+Q V6E+PX921z5uSaSoIcxY4Cpxp+uoOzPXSXFX+VB+cMjJw1JXIOBVgufsEedFpRe5IEV9 XrEpePk/VKfp7HYtckE6uSLHWZrFJAw0v+CPOpMc9/bffYeZIsoYcbKeJaWZc3h+fQV3 AY/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UMyQ0l8+47IG6BmvT/+HBiVzvTDCovW0W1P3gCfHncc=; b=yHAbqE2HNiJe0rlEK7J0ZmBWjFz7y25Yf3cadIggUfwui18DdPyn0FXkErWtKFBTIL ExSkYhttcKA17ot8+lgsJkpTglehXJFYkS1zIneicoxbp9NONI+i/joSMTJoHtwFx6jv Vx9Cf2b8j9lSYqdN1QrwckrmGYSlumeuTX5OH/nL1JM8M20NuLzmOZsOsR3apCPDzYPR vJQdKYQIV0maRMzbauRMjeLroRCjiAEGZoFf+mK9isfYegy7tL2y81HMGCkl8g+9/pq8 DECvqZ/+9+A8MDZuA1AFBoid4SxXGe4lwiuP3c4qG8afwbjWY2lPeMDjjsz1rWmcSChE Oubg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hVg1RZDu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si447661pgi.218.2018.12.06.07.27.34; Thu, 06 Dec 2018 07:27:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hVg1RZDu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbeLFP0t (ORCPT + 99 others); Thu, 6 Dec 2018 10:26:49 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:39644 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbeLFP0s (ORCPT ); Thu, 6 Dec 2018 10:26:48 -0500 Received: by mail-wm1-f66.google.com with SMTP id f81so1446680wmd.4 for ; Thu, 06 Dec 2018 07:26:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UMyQ0l8+47IG6BmvT/+HBiVzvTDCovW0W1P3gCfHncc=; b=hVg1RZDurGz7XeOvzS137o1lccXwXH7Q8+VSheaXlUkJT1DFHTAq9KOI+HM5yZ5V21 EJfX0EN3j7Hf+Q7vOBbOmBZCWd9/oL4jl5tGPbuymSFUK2OTchG0umHOC8/jPgXzk0t6 BmP5RQiIfFf8qxxr8hJmE/x3KfWnEw4m9f7CPb40UTeFRzGsjLQK5DEw+uMnla1P5jut 5SGXqVIEl9JajuNKqoIkdB9K7kF1GPIgokIrrDbkcFkB2AZ92COLNAgFr9JyDuJtu7Zy IALaiQKedPwuG89HuJUn5zULHxn3vlFW4nfZrxaNi+fyp+at7P1S3BSM7TRvretBsEFW bDrA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=UMyQ0l8+47IG6BmvT/+HBiVzvTDCovW0W1P3gCfHncc=; b=KQ6612bFCTGX3uSwBEKnKoM/E2cZcJYMBOcmTrBNf08vzOJKW6uIbbs84mcU6UkuPH RwMe56rSTtAG6J61UFBFE3RyEYSD5JWeQBN+3RUQ+a96atR6eTtL3m6nJqORkFef9jed x/ELDKr+0+OiEoXC8HFqKnma7X5IMP4EOvjuhZBINF/ew4h8r58u7xHazAioMChKS99J GcF9rPE5N5kuDsGxXv6mstbw7RuXxGFGtT8cXb/wwaDufkSNi2Hunv0s4OGaNfaH3x16 aRkLJYMCLMdyRLnehJO4eL1T9xh+fy0kTldxImcYNGviAiBQjF30eZLa3xBD5eyJY27B lyiQ== X-Gm-Message-State: AA+aEWaqETAdm17HYC1uS14syzbJYYLnEztxqLSX4gjHvNYSYnN6VDSJ g7L3+ndTFohxSQutCJKMaVg= X-Received: by 2002:a1c:3a8d:: with SMTP id h135-v6mr19942350wma.92.1544110006437; Thu, 06 Dec 2018 07:26:46 -0800 (PST) Received: from localhost.localdomain (ip-76.net-89-3-178.rev.numericable.fr. [89.3.178.76]) by smtp.gmail.com with ESMTPSA id w6sm529728wme.46.2018.12.06.07.26.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 07:26:45 -0800 (PST) From: David Abdurachmanov To: palmer@sifive.com, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: David Abdurachmanov Subject: [PATCH 1/2] riscv: fix trace_sys_exit hook Date: Thu, 6 Dec 2018 16:26:34 +0100 Message-Id: <20181206152635.1869-2-david.abdurachmanov@gmail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181206152635.1869-1-david.abdurachmanov@gmail.com> References: <20181206152635.1869-1-david.abdurachmanov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix compilation error. Signed-off-by: David Abdurachmanov --- arch/riscv/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/kernel/ptrace.c b/arch/riscv/kernel/ptrace.c index c1b51539c3e2..2fd9ec48106b 100644 --- a/arch/riscv/kernel/ptrace.c +++ b/arch/riscv/kernel/ptrace.c @@ -177,6 +177,6 @@ void do_syscall_trace_exit(struct pt_regs *regs) #ifdef CONFIG_HAVE_SYSCALL_TRACEPOINTS if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) - trace_sys_exit(regs, regs->regs[0]); + trace_sys_exit(regs, regs_return_value(regs)); #endif } -- 2.19.2