Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2246051pxk; Sat, 5 Sep 2020 14:18:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziKaY5L37xpuStRhxvrlZtjAAhBppiPFyVouzzoidl/hTAB4kMUzjF4GllenjZ8TggtH24 X-Received: by 2002:a17:906:724b:: with SMTP id n11mr8140371ejk.328.1599340722832; Sat, 05 Sep 2020 14:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599340722; cv=none; d=google.com; s=arc-20160816; b=Af5Xuo0q/W3ZqeMhE7ae/kXKh0Ad/bK7hSNu3h2rwSQhUWf/oD9FwdD8o0W0AGCzYP ryMNQB+0s3wmtAdvf/VE/t+3CpQJTZ5ApD+tOBZHc4knHdJiMiPKuOskjHYNrgAwFuT2 26AvXkS8C26pmCAMLtk4mPMY/zAB+h/w4nIxr44CEGFy0TDW6FtEcOhbczK3ygf1v3mD vq+T7ygb4kXUqcJbjqFwgZJYC+vV0Xoogz4FW/hHefhFIDJ2pBTEwQzsyX0St38U7NqI yYPpLhCWW1ea49RpYC5j+eXacqxw8j+EIc6l8ZonWYsZP4xmcM2rF89IGrL+4jp8yvS1 f+Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=9HVhvVwQsPl2s5OBkHl5FVvyzy/fk4PJlFsUEzCu4Fw=; b=RpW4PtLShfnfJtCdTchUgl9mKUhu7BF4TiMz8VMYVyDUJcNDpr1AO7mTNTsV7HnSJl VNONBGMGwCEjRgmqXCfPSyS0BUzjZcdLrPut3cwHo/CSUJYztTfhEB5e7ZR1QoLwxL03 NbXUKgmOQZkpOY8tnbjOO1a0ODcQ8ozawJGJH7cG8lcrZBwRPRjinRdKWqGhD8q/sSiH BGTvT+t+XhYFGLO1jbyJxDcHW6Kcgp1G4/4gi/V+nLE9Lpo4gouOjOFocdTYDzCIkm2v JC+VRo4QvthFxs6QA9kKwHZhdtijAY/b7GkvOfw56I1o/WQcazfavpCU54pCmJT4cQNG onyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=Sf1RTTj+; 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 a19si6775334edn.223.2020.09.05.14.18.03; Sat, 05 Sep 2020 14:18:42 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=Sf1RTTj+; 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 S1728688AbgIEVRG (ORCPT + 99 others); Sat, 5 Sep 2020 17:17:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728323AbgIEVRE (ORCPT ); Sat, 5 Sep 2020 17:17:04 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C5DDC061244; Sat, 5 Sep 2020 14:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=9HVhvVwQsPl2s5OBkHl5FVvyzy/fk4PJlFsUEzCu4Fw=; b=Sf1RTTj+yITwRXpvzoMqMM7pGD 8EuJG+UMj4Ayd9jviLU0cQZ3duxk0YAWOjrTyjOygQXBVxEHeGt+mE0lVj5q1LhgXI/KcQPX3PT8I rrgwZHed+EGRhYW5zkKaZNqzoMGo/qLx+8xupROYuv3lq6eCYJXYB9vTBQykLU9pBt5aEqcldtvUc vMy5uXj9fW6AHOI+xsw4D6X+VVO7bRKEp11qoPv5148AuTTKvKELBEEmCtPO4NGb0QNPQU7uY+/vi CwUuQt1WywMmfhFAP79dd0mUe3ZTQw8GrFN6uHJ7v4hJ33NBz/ErhVa8/1k9vbeGdZc57v3QXURJw irU8TLlw==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEfYK-00057z-9H; Sat, 05 Sep 2020 21:16:52 +0000 Subject: Re: [PATCH] scsi: docs: Remove obsolete scsi typedef text from scsi_mid_low_api To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , "Martin K . Petersen" , "James E . J . Bottomley" , Jonathan Corbet Cc: linux-scsi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org, andrealmeid@collabora.com References: <20200905210211.2286172-1-nfraprado@protonmail.com> From: Randy Dunlap Message-ID: Date: Sat, 5 Sep 2020 14:16:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200905210211.2286172-1-nfraprado@protonmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/5/20 2:03 PM, Nícolas F. R. A. Prado wrote: > Commit 91ebc1facd77 ("scsi: core: remove Scsi_Cmnd typedef") removed > the Scsi_cmnd typedef but it was still mentioned in a paragraph in the > "SCSI mid_level - lower_level driver interface" documentation page. > Remove this obsolete paragraph. > > Suggested-by: Randy Dunlap > Suggested-by: Jonathan Corbet > Signed-off-by: Nícolas F. R. A. Prado Acked-by: Randy Dunlap Thanks. > --- > > Hi, > > Is this documentation page still relevant or should it be removed? I'm asking > since it hasn't been updated in a while and there's mention of 2.6 kernel. > > In case it is still relevant, would patches changing the embedded kernel-docs > for references to the kernel-docs in the source files be welcome? > Also, I see that for example, scsi_add_device, has a kernel-doc in this page, > even though there isn't any in the source code. Would a patch moving this > function description to the source code be welcome? > > Thanks, > Nícolas > > Documentation/scsi/scsi_mid_low_api.rst | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/Documentation/scsi/scsi_mid_low_api.rst b/Documentation/scsi/scsi_mid_low_api.rst > index 5358bc10689e..5bc17d012b25 100644 > --- a/Documentation/scsi/scsi_mid_low_api.rst > +++ b/Documentation/scsi/scsi_mid_low_api.rst > @@ -271,12 +271,6 @@ Conventions > First, Linus Torvalds's thoughts on C coding style can be found in the > Documentation/process/coding-style.rst file. > > -Next, there is a movement to "outlaw" typedefs introducing synonyms for > -struct tags. Both can be still found in the SCSI subsystem, but > -the typedefs have been moved to a single file, scsi_typedefs.h to > -make their future removal easier, for example: > -"typedef struct scsi_cmnd Scsi_Cmnd;" > - > Also, most C99 enhancements are encouraged to the extent they are supported > by the relevant gcc compilers. So C99 style structure and array > initializers are encouraged where appropriate. Don't go too far, > -- ~Randy