Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2154554pxb; Sun, 18 Apr 2021 21:09:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCuzFd+rJDzKqlAohLe8uonhi+BnmMPdNSa4y7iRfJtRrdS50iKEamu0xemRyJ8kZa3ASE X-Received: by 2002:aa7:962f:0:b029:247:b6c:52d5 with SMTP id r15-20020aa7962f0000b02902470b6c52d5mr18320817pfg.50.1618805356115; Sun, 18 Apr 2021 21:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618805356; cv=none; d=google.com; s=arc-20160816; b=t4PPL6N/n3nTSkPpHtiClxIvhzufFM16SYDzx67kdeNFFGG55W4BzzS0Gkt4h+jyS1 2GDrOHrHffUu/qgpWohtvdVk1hLVvNOanXobobKy31BOsWU0g0tgUP3/ZGi0mqyVarQD tHM3gDGitRgoD3oN7DVXEFQ8EHQhhHKN1ImCkCryEm+8zPfUZXuGfXjIPpMY+JY0jvDw hV0uFVCBbQyDyMcjrLYV0xcRfpe2w1Go1ehxW+85YnbXxVTA6VDTwOJSLvUewlIc4sBp MLROJgMWxiYtDQ2cJGVgN6dpy77VmCTqug0y1X48WCAeCB952Aklqe9rDN+nTVbl2aZ7 e2kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=Rz1A5ZAPrM0sPX97GLNngpiV3WV2/jPlm6zeEAAJGKs=; b=t70hsmTN5LWY76GdC7Tlr3VnnNr5wsWFQd7/EU0sfHefv2kCHrK/9ZpA5NvwZoZsPY TraCHThDoQh0gzmrqZBrxobzk2jAYRKJL8X/YOfuDTqY/OHLBDwNlH2bicJj3RTv/TSp V3rDKhFOOY3ArRTxZi+w3YQuaATvkTU6Mc1WUwhlfJMa7ZlFHScEgtanFZIwAK9v7aaa wWbTFXoUl946KhFx7K7Sg0nAyLfEC9oC2Nfx7vz2t/yxYJ3svEygeLz4EceXACxvfaRT 5wUEAnPsqSo4YlAOa+4XBerjvk3DGw/lAWx0lmPBkkVii7e1k0JFpckaiUGwNgp1X1Gc M/Eg== ARC-Authentication-Results: i=1; mx.google.com; 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 z22si10726729pgf.543.2021.04.18.21.09.04; Sun, 18 Apr 2021 21:09:16 -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; 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 S237615AbhDSEHf (ORCPT + 99 others); Mon, 19 Apr 2021 00:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237494AbhDSEFc (ORCPT ); Mon, 19 Apr 2021 00:05:32 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 144B5C061760; Sun, 18 Apr 2021 21:05:00 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4FNtVr5w9cz9vH8; Mon, 19 Apr 2021 14:04:36 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Tony Ambardar Cc: Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Ambardar , Arnd Bergmann , Stable , Benjamin Herrenschmidt , Rosen Penev In-Reply-To: <20200917135437.1238787-1-Tony.Ambardar@gmail.com> References: <20200917000757.1232850-1-Tony.Ambardar@gmail.com> <20200917135437.1238787-1-Tony.Ambardar@gmail.com> Subject: Re: [PATCH v3] powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h Message-Id: <161880480720.1398509.14927712402293166726.b4-ty@ellerman.id.au> Date: Mon, 19 Apr 2021 14:00:07 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Sep 2020 06:54:37 -0700, Tony Ambardar wrote: > A few archs like powerpc have different errno.h values for macros > EDEADLOCK and EDEADLK. In code including both libc and linux versions of > errno.h, this can result in multiple definitions of EDEADLOCK in the > include chain. Definitions to the same value (e.g. seen with mips) do > not raise warnings, but on powerpc there are redefinitions changing the > value, which raise warnings and errors (if using "-Werror"). > > [...] Applied to powerpc/next. [1/1] powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h https://git.kernel.org/powerpc/c/7de21e679e6a789f3729e8402bc440b623a28eae cheers