Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2616246pxb; Fri, 8 Oct 2021 11:21:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLYgv8dZbhZlL9eAmbFKO6kRW5aRwf4z47MAzCmY179jhQ0FhFOE+Bdqu8ITJ2MQB4wZua X-Received: by 2002:a50:e188:: with SMTP id k8mr17586045edl.119.1633717266790; Fri, 08 Oct 2021 11:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633717266; cv=none; d=google.com; s=arc-20160816; b=uLk+4XyuSxxeMXfYx9fSo/CwchRZWffKQuUpkm7IVAmNAdMsAfah/xFwKJYzt1clZ/ xjP6prTWYJ9jM9YVzA71/qdnBS9RsdViCjdQ0qwbxgNHxM8THadqTchtUk/LGgLHLgwL je5VDMKZQlrGe2vJKOXIf1ahjcSvtE2Ow4N4fwlg+bGvtH3xpnq4NKz3yxvA5JC7ykT8 8WrHsqJJfLwgi30NzyFAc3gfkR2riNS2NUn+jEg8PFaJzv0Fpx/H3gjWFz/6FPZabmXW LupTwybDKQSkK9Yf+Ipzl6D0H/vye5zdOdqar8m/xfEKV0GThQRZoTJjEzO+Xc8Vp/on 5pqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Wvco89YLBu0DEdVBRR/EZqf56tHvQxnFA9DIAVgf/4Q=; b=zVAA6nrds4XJGXKuhQM54CSZ4UjByc1rUbthZpc7LA6ISbfJWMF4iqt0cOxQbtzQOk jXwekFUjZpxyaK6NfFN/y+o4JQfv5Binxm0Vs8rXIfraItTW4xWFNjXFXZhp2fnY+87C 5z4U0LastEOU7IKY88ID7/E1e3TKXy5Cm/CuY7xEQG3fuNgkcvMmaNv9vOiK/5b9Q44D rY/4CnxJx6rNdp44esbtpHORMLfjPnMdAcI5vDaPECvfV45AZ/BlLAuz2uC49hEDj9KS +LK0H6bzscUgLB6MZ37b4NwdY/ByoRTbeaTb+frzM3jDwBPUaxEzsByWoVydeJV3Lnst UN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20210112.gappssmtp.com header.s=20210112 header.b=CCbppUTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq3si262237ejc.142.2021.10.08.11.20.43; Fri, 08 Oct 2021 11:21:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20210112.gappssmtp.com header.s=20210112 header.b=CCbppUTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231305AbhJHSVA (ORCPT + 99 others); Fri, 8 Oct 2021 14:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235604AbhJHSU5 (ORCPT ); Fri, 8 Oct 2021 14:20:57 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E44FC061762 for ; Fri, 8 Oct 2021 11:19:01 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 77-20020a9d0ed3000000b00546e10e6699so12771687otj.2 for ; Fri, 08 Oct 2021 11:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Wvco89YLBu0DEdVBRR/EZqf56tHvQxnFA9DIAVgf/4Q=; b=CCbppUTIUQvTjkPUaUNiIHgqJbgfmRNPXmRT0POd8fNlqCBD/ASCphs6/oyKfJ3/L/ +3wrqJqEKdzzsG+oz2MqRyT2Bq2Tk7YsMgbAGe26W0XPv1PV3WI+65G/rIhv3eZG7p5s R69vHTlKA/zlGfIKR9E7JHwqWRMJNPTgPC6ssQ0JzuqMCMPYPH/BReAN8eSCIBnl8QwZ KoL6rBwxW3SNsQRVbaqjqr1RlLUuozfgwyXifXrnr283vkw61czYE3gCi8MGKRKuSYXK aa6kcjdCnWHA5Bwj3jHBcFlaUowp+vnjYlibtNIaf70uh0MUZeVxaMBwlKd+iLf9p93O kJ4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Wvco89YLBu0DEdVBRR/EZqf56tHvQxnFA9DIAVgf/4Q=; b=ZaETnb1X8QhVv2M+rFLHyVYCoPvqc3/AhxPyXAequ4oM9s+wiBz+XNHV9YGVq5R0ry imZGbwR3aF94Lyhmlh1a9OuaMaGLHWeginpaNchVX22ljid3Wz32QcxoZWj072L33miJ rMpoKELBicCc3moKoklEZ4dZcP+P5rRESrXSOrTWKvNB9T62JEoqXXWu9SJvLrcZszTI dh2Fu9PfBQkBC/oBbwuBNDynJZjIW4ncXtpu/lKtmxPPnB1zwEIGQfWte/qm2IPdbWpv 8yw/N0qciXTJ/MHdnNO7/q50KeVk1sNVw8on2t7dLCkxbF7dfcC9yoLpxYXec/apK99D 4tNA== X-Gm-Message-State: AOAM5310ys4mcoc0AJLMv8lA3W1nxG92jyRbThG9s0m5lqa6HVcVzeLT 1H0ZjAvh9RCTzQmOAslbu73YiA== X-Received: by 2002:a05:6830:95:: with SMTP id a21mr10280463oto.43.1633717141031; Fri, 08 Oct 2021 11:19:01 -0700 (PDT) Received: from [192.168.248.11] ([172.58.83.190]) by smtp.gmail.com with ESMTPSA id bj33sm33556oib.31.2021.10.08.11.18.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Oct 2021 11:19:00 -0700 (PDT) Subject: Re: [PATCH 5/5 v3] sh: fix READ/WRITE redefinition warnings To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, John Paul Adrian Glaubitz , Geert Uytterhoeven , Takashi YOSHII References: <20211005001914.28574-1-rdunlap@infradead.org> <20211005001914.28574-6-rdunlap@infradead.org> From: Rob Landley Message-ID: <1191978c-be37-87b1-bbc9-f0aa128d0961@landley.net> Date: Fri, 8 Oct 2021 13:39:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20211005001914.28574-6-rdunlap@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/4/21 7:19 PM, Randy Dunlap wrote: > kernel.h defines READ and WRITE, so rename the SH math-emu macros > to MREAD and MWRITE. This one doesn't apply for me. My file has: #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) But your patch tries to remove: -#define WRITE(d,a) ({if(put_user(d, (typeof (d) __user *)a)) return -EFAULT;}) Which is odd because git log says my tree is current as of today, but git log on this file says it was last updated: commit 2e1661d2673667d886cd40ad9f414cb6db48d8da Author: Eric W. Biederman Date: Thu May 23 11:04:24 2019 -0500 What did I miss? Rob