Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp351952ybt; Fri, 19 Jun 2020 03:34:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRS9zjwqUNQPxPPuF/DJB8kBXxLM5XEE4wrZbb0XFXi6m3mZ4GrJiGL040PkdN3r00b+1C X-Received: by 2002:a17:906:b89a:: with SMTP id hb26mr3052022ejb.137.1592562864445; Fri, 19 Jun 2020 03:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592562864; cv=none; d=google.com; s=arc-20160816; b=lLvOJUtWIFvf7oWUPH+x8hcPBtSAywiWJpioqTX/XfFX/SSJjjnHOKThJpDtksbwQy rCb8UojqqgS9Cg3eddle8EgckMYUNWwAwppmMahGlb9XLubqs3WK3qbzI5iZI0V31cI1 y68nfFXzCl2fQz9V2cxejAvK91Mihfp7LEBrjmtKfoCrU31WLqlJ9LWXXH88C2vR/nBc mZkhQnuw2F4LhckKDYNw1Mhk2a3hFPyTk+bUIQ1W7x+yrPqyS6mOMBKEN/YwSl6E+vND v1V6ucfwJrO/fGmipfdBQjOTnCODF9tFANR5JDjdm71p1pPouXIssgvMHq9T4kNi7pqF gsWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=6X6R/Rg01CQ6eV08uXP9uUQq0SkHOnx8xuPZVNQRClc=; b=XHi+RpaqHRm5r5LEIoIMLd5nd8xIC6LkcOq49qkBzQnstufhqsTJDarqb6q3CSOovQ gpw9LyWiNVcwkfY4uciGOs7+9ymJNM9F4HaxaDANr8IBjJg+qaCQk0iElwwX3Q4ABXev Z4aE7aA69qW654/v9kEkieJE2pHzMB8wjEj7YQno4N8NLVFbdqjrO6rv6GnWwNffwmLJ KayacLfcXu91RNh+kr4/OTaUS4YLNxiS6pJ587vlznYjMTEK466OvKbsCOE4Me4L18fK j78D6OZhDKouMXGmvxDaWPOzyv9Y9FWA0A1RqYN94uTbm+v3O7dBBcqN5MWbdMLL4+Dl 4KEw== 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 o18si3495073edv.545.2020.06.19.03.34.02; Fri, 19 Jun 2020 03:34:24 -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 S1732438AbgFSK2s (ORCPT + 99 others); Fri, 19 Jun 2020 06:28:48 -0400 Received: from a3.inai.de ([88.198.85.195]:37880 "EHLO a3.inai.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732386AbgFSK2Z (ORCPT ); Fri, 19 Jun 2020 06:28:25 -0400 Received: by a3.inai.de (Postfix, from userid 25121) id 66EA058743C1C; Fri, 19 Jun 2020 12:28:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by a3.inai.de (Postfix) with ESMTP id 63D8460D220A6; Fri, 19 Jun 2020 12:28:08 +0200 (CEST) Date: Fri, 19 Jun 2020 12:28:08 +0200 (CEST) From: Jan Engelhardt To: Christoph Hellwig cc: Alexey Dobriyan , torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arch@vger.kernel.org, netfilter-devel@vger.kernel.org Subject: Re: [PATCH] linux++, this: rename "struct notifier_block *this" In-Reply-To: <20200619074631.GA1427@infradead.org> Message-ID: References: <20200618210645.GB2212102@localhost.localdomain> <20200619074631.GA1427@infradead.org> User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 2020-06-19 09:46, Christoph Hellwig wrote: >On Fri, Jun 19, 2020 at 12:06:45AM +0300, Alexey Dobriyan wrote: >> Rename >> struct notifier_block *this >> to >> struct notifier_block *nb >> >> "nb" is arguably a better name for notifier block. > >But not enough better to cause tons of pointless churn. Feel free >to use better naming in new code you write or do significant changes >to, but stop these pointless renames. Well, judging from the mention of "linux++" in the subject, I figure this is the old discussion of someone trying to make Linux code, or parts thereof, work in a C++ environment. Since the patch does not just touch headers but .c files, I deduce that there seems to be a project trying to build Linux, or a subset thereof, as a C++ program for the fun of it. UML could come to mind. Is it a hot potato? Definitely. But so was IPv6 NAT, and now we have it anyway.