Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4824034imm; Mon, 11 Jun 2018 20:28:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK1kftMpPX8XRG3LtNiEgdUzh4PcIVhHksD0eic91Dc/uwBbixMp18dFbSuqQd1zcCBw1Me X-Received: by 2002:a63:a119:: with SMTP id b25-v6mr1561677pgf.279.1528774123176; Mon, 11 Jun 2018 20:28:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528774123; cv=none; d=google.com; s=arc-20160816; b=RAXKTL/5YO4lm6HgBO3rmEp/UYzYDrgNL7PF/oh1GuCXZdb0rYw9jfg1Oz6/ZQHvwT lTuDF60QiPoC0814zf4NqJIHY/mIH0JcCwy3kpea+1/lw7G+JVLlWyudRxNVH/poVc7J Ah00TQkUohJKEOwVUc9zQXy4WzuvAQLJgJefGmGwBjPdRDUNB3yD+tEh4Avs9EF/Zlxq RJbYXoe+bHuLcUw3QrSKXAaxKiHP9GG5ebM56AiPrCfh9Mvh2vXiRv1hMqjcct2mEPE1 Zxi8NhShN1+B57SOfSb2rXAiMa7b2R3jJguHVijGMtd7USjDlOowK/oI/92RXc7o9Ncl b6KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XNCVcbdb4Sc+pdW1MdrBwjBgvmtobgmvDr78EelM9mg=; b=q6mNWuP8UmDi2zrQATXHKYAZZyRJGF4vtWT7UdCpenTkYJKuC0MdTBpEsRb/N8g+PS NDqms6lxQGEMOv2LKi0jgPj/3hhiIPH/xc1+idc+Rg3smN3yvpqqG7/CL7IIcJmxJuxG kqwgC07qarez0M02cNzsXNNfONnlS8yxAaItieglUdV4FusNIkQAElPy77zyT6aSVDsi /zmnCvNdO+EfCEWtRwhXBIwL9/lr9tYzQlyoPBT/NGnWOLHKedqPy6FmRLIHiixraITn Nqab3tHZ/CCmCZxcu1kGntrQr8+zUFq8ORRbHfyPOLf5rJekp/sbYosRkuJXZ5vi6tx5 q8gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=SGJEHlMo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8-v6si45382508plt.35.2018.06.11.20.28.29; Mon, 11 Jun 2018 20:28:43 -0700 (PDT) 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=@sifive.com header.s=google header.b=SGJEHlMo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932912AbeFLD1z (ORCPT + 99 others); Mon, 11 Jun 2018 23:27:55 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42506 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932499AbeFLD1y (ORCPT ); Mon, 11 Jun 2018 23:27:54 -0400 Received: by mail-wr0-f194.google.com with SMTP id w10-v6so22420307wrk.9 for ; Mon, 11 Jun 2018 20:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XNCVcbdb4Sc+pdW1MdrBwjBgvmtobgmvDr78EelM9mg=; b=SGJEHlMoqRzdZaI+T4YGa3vIAXG3Tg32YL7De96k33Y31C/Lr0oAstQ8ZTRJpoMm9u TmjXsiR/hRcshUG22PL7JazYB3SS+pkU4DT58xFTk2FsnvADG+OZTTXCsW2tByIS9wz0 5Rn8Ctc7Ufu3wGTnSoelQe314TMhSV/D9+9Cm4xm0h7eKAbSfi+GBAvVlqiZs8uoLDoL o3pCUORdcWvZjUuQc54ldNHw4d7h0vq6eBduceGjDCLMwQg7AGLleDXwGyyLjvi0ACZd Wa9Fc6Xk944qLUPmUu8LOjvqwF68TmpCT1UrzfpcZws/iQD3FkA9DbZdgEgtmQNUT9pn pzOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XNCVcbdb4Sc+pdW1MdrBwjBgvmtobgmvDr78EelM9mg=; b=ByDRWEUZjt9xmaGuy/vhUdcdNzTsB/Jdr534epIuiYNJi+Z4pBEV+9bV2ySZgDNSfK z9W/bPqKO7E9gdoB+gKYOOipO8xdfnAx1NB6Astb1ox2na6pMmxtaIkfV6r5BjUyC5nC WDaRA8ZzZtjgq56AAGYrlvBYPeSId6y0VU6QAvB5I53xRxRKzqSuFY6dEqci3AHawj11 vt28tETBOrfm+9WQubaP3LsC85PMp9ech/LME/tF48eQiG36G1Kkc2S+obhsvW67gVVy zWmGOM0sl84twUTFNYXPmiitaOpdKdjiM9GvHHVHDlIODNSrHIHJDWq+4p8edNYIq2Xr W8BQ== X-Gm-Message-State: APt69E13781ThT1y3Q6m1VdhvCUye8RKznazexYRy9CVL0xxFCY8dKVz UgSDjVuOVxEM07EyTXDIIghHJW23SgYWA4wtiFZAMA== X-Received: by 2002:adf:b445:: with SMTP id v5-v6mr1091540wrd.67.1528774072836; Mon, 11 Jun 2018 20:27:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:f884:0:0:0:0:0 with HTTP; Mon, 11 Jun 2018 20:27:52 -0700 (PDT) In-Reply-To: References: <20180611214822.8539-1-jimw@sifive.com> From: Jim Wilson Date: Mon, 11 Jun 2018 20:27:52 -0700 Message-ID: Subject: Re: [PATCH] RISC-V: Fix PTRACE_SETREGSET bug. To: Palmer Dabbelt Cc: linux-riscv@lists.infradead.org, Oleg Nesterov , Albert Ou , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 11, 2018 at 5:46 PM, Palmer Dabbelt wrote: > Whoops, that's embarassing :). I poked around and didn't see this anywhere > else, so I'm not sure where we managed to obtain this particular pathology. Comment say it was copied from tile which I think was just recently removed. But looking at older copy, tile has "struct pt_regs regs" whereas riscv has "struct pt_regs *regs" and so tile needed the & and riscv does not, but only one of the two ampersands was removed in the riscv port. My patch removes the other one. Jim