Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp812276ybc; Sat, 23 Nov 2019 08:53:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzZLM0quwfsIU980E77zAe2VZjY1bpkho/UDhlkNk9VPhSlV1+tkTSp+I//gxUaBndtbQhB X-Received: by 2002:a17:906:27d3:: with SMTP id k19mr3780398ejc.290.1574527983948; Sat, 23 Nov 2019 08:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574527983; cv=none; d=google.com; s=arc-20160816; b=F6wd7v+npwEzz6dd5ujkhoH0VnroDK7tWoZWnFemb0QVR7TEnvju53f309O6zdL5dM 2sjviIYeJAXScjAoLUs7+8z9ZTkvFsQRI/2JG9LqehPUMTgKCfQ6dTDrI9Dy3OwYSgS2 rXSGVpc4Fnt9BOuSDzCSZCGGmvxuCQhWFZJyqz2DqNFLqGvzGgydbn40siOkqrlo5XHh 6CS0YwuhZ1iwz9RuY1yB73y66GQE8hsLpvA2qWffw7mWNA4WqglJmq7Z6cTQQHFkaiT6 p4S4/2buw2ZSWMQApoq2VjV/Q671/SATtMmuTS7UJL5x/TdZQzr4Y6JpuUxeCUnX97mT sCEA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=+66vHYsH7JVPePei6Sqt5pEwqov7Jl4jYo/VgAZ7vnA=; b=NCH3LUPp6GjAuMBrt0DOYcBNnlMt0w2rECCq4HWFa4/5i0rfGcz4wvjFLP1ry7JLKA wqiY9ARGMAlHlgJe5hJvA/i5WWx5vu+wVtHjS6a3bgTi3BqilRi44TcoOM69HkG3O42S PQMc/mW2e4SzVjU7fO2uG6TBWT24h0bvqe6lbPkp5vXxNbneV+a/RSv8FFbPAiwdZkfI irbO62rAuaQjRuxeG0cUVw/87ldVxypmkDNapBy9vrKPfWwBF8qekucAlDwIr8y8csFx GDbDYI6MDNGfjzBRa6pL22/9yIe6X/0YoO3X7XeilXCPuZp9HoyAsAAN8IjQgfESUi3B X31g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=gpMCYQSF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si1077294edp.78.2019.11.23.08.52.39; Sat, 23 Nov 2019 08:53:03 -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=@google.com header.s=20161025 header.b=gpMCYQSF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726855AbfKWQtA (ORCPT + 99 others); Sat, 23 Nov 2019 11:49:00 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:46691 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726762AbfKWQtA (ORCPT ); Sat, 23 Nov 2019 11:49:00 -0500 Received: by mail-qt1-f194.google.com with SMTP id r20so11753585qtp.13 for ; Sat, 23 Nov 2019 08:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+66vHYsH7JVPePei6Sqt5pEwqov7Jl4jYo/VgAZ7vnA=; b=gpMCYQSFpmd4mTdfW7RZoAjmqjlGANKf89gWOCz9vY0k4KIf2oGke+YgIwvMr23GhK SDoJm8og7z58h8YqwxpCOx2AVbV5RmMLJoFBjrMLcsjemnXhNMTsZnxXf426a+vlEK1/ +NSiP46mA9Bc2RHXfYZql2ncpubyp3Jxh4Q3zWDtq1b1Q5yEw0BDHjsMfwBwhMx/AN1a 0ESXgIPifE6WJwD0i72IhNUvSAgVW+nIhsVqRFv+igR6ZEmhXMmQ0pWuQVtV00udXtWu 0/DGViJOP34zHvJVqUq/sQdT11cIdIiBDYChBMO8U0aQ3rRYpPxFMCRNN2ZsUXzC0SIu iDEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+66vHYsH7JVPePei6Sqt5pEwqov7Jl4jYo/VgAZ7vnA=; b=hzb36L949ljJoSncEzObeEXZ6PvPG483uJZTuxmXpXbwkQNJt61Guojw2/vsS+AyAJ o1H5AFOlBxMCsYxr/ooDoqaLusL+gezXL4jiH5akiK/+njUZRjTxOkRcd8j06ODoT7Ql I6PuS9hMa/F7iGhk1OY9s1vv6ih7iUjjkoXHlqvhEggyd6iUFfLWMN/jv35EFNJU7Hi8 n1Z4MlrY+ttkmRlL9S8R00m4QLV6tYE4aUir5hTCA4lFxcQ08BE9fwQeXyK0K+boDmNr wxq73tqu744gerYU7RPKPI/P/0KGxAypIXAOvYxAZt88j8WnYvuROCsc7mpUI9ei0H7x sqQg== X-Gm-Message-State: APjAAAXyVqk+NfXufDEzdtGZCy5TMfB7u9k8uuh0lkYjeWtOI1Q+qbP7 s4EA/IT0pDfnY2CYQXlJsyRfyRhQ4nraTkIXqH65gA== X-Received: by 2002:aed:33c2:: with SMTP id v60mr8462945qtd.168.1574527739339; Sat, 23 Nov 2019 08:48:59 -0800 (PST) MIME-Version: 1.0 References: <20191121191536.186051-1-pterjan@google.com> <20191122100844.2e9b22c6@lwn.net> In-Reply-To: <20191122100844.2e9b22c6@lwn.net> From: Pascal Terjan Date: Sat, 23 Nov 2019 16:48:42 +0000 Message-ID: Subject: Re: [PATCH] Delete obsolete magic constants from documentation To: Jonathan Corbet Cc: Federico Vaga , Harry Wei , linux-doc@vger.kernel.org, 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 Fri, 22 Nov 2019 at 17:08, Jonathan Corbet wrote: > > On Thu, 21 Nov 2019 19:15:36 +0000 > Pascal Terjan wrote: > > > Those no longer appear in the code. > > I have some more patches to cleanup some of them from the code but this > > is an easy first step. > > > > Signed-off-by: Pascal Terjan > > --- > > Documentation/process/magic-number.rst | 44 ------------------- > > .../it_IT/process/magic-number.rst | 44 ------------------- > > .../zh_CN/process/magic-number.rst | 44 ------------------- > > 3 files changed, 132 deletions(-) > > So I absolutely love this patch; we really need to clean this kind of > cruft out of the docs. > > Unfortunately, it doesn't apply to docs-next; did you prepare it against > linux-next, perhaps? Is there any chance I could get a version against > docs-next? Right, that probably because of the lack of my previous patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fba67e8f897870403e1a4f5fe3835c870cd589e0 which hasn't finished its journey yet I am not sure how to proceed as there are a few other patches for various subsystems I am planning to send out (like deleting RFCOMM_TTY_MAGIC from net/bluetooth/rfcomm/tty.c or GDTIOCTL_MAGIC from drivers/scsi/gdth_ioctl.h) which will also be touching this file and I'd rather not cause some merge problems... Maybe I should not update the documentation in the patches removing the constants from the code and clean it up separately? > If you're up for further work on this file, it would be nice to get rid of > the 2.x "changelog" text at the beginning; I don't think that has any real > value now. Sure, I picked this file and initially started cleaning it up, including deleting that changelog, but then decided to first clean up the code referencing some of those constants without using them. There are lots of other things to delete in this file, like references to OSS and maybe even the file itself given that the practice of using a magic field in structs is no longer common, but I can start sending a few simple cleanups. > Thanks, > > jon