Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2241055pxk; Sat, 5 Sep 2020 14:05:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhJugFEx2HvXalE/fvGuJP3dGVoEbPdqyR68RDhu512S4UQZ9nJSR/4pmVUVzTrkqZMkxn X-Received: by 2002:a17:906:2dc1:: with SMTP id h1mr5033399eji.436.1599339902486; Sat, 05 Sep 2020 14:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599339902; cv=none; d=google.com; s=arc-20160816; b=tNvYCvN3Lp7vjqw/aNFzzD9JMz7lcm90ABunas0+xm0bB8ShvNPhB3tiI1XAAooq2T pwc14R+O0Emgm9jmrzO4GvOivemTGsrl01j2hSgzabQmEce+EP+jH4OSWMhi0S88Q7IJ 5P11Bmi2BCt5P6MSNvU+/gSuyagqP7fjLaKHJSCEB+qUPlauvaQjn6VUNt22qKT8FuNr WVG0WXBxhdD7Y1C6oQnIKfMHIx78+DXqbZjXZrDkfk08qh9fQw+UO8QgS+WS7Y+kvhUZ dNiKTYCpZ7EWE8djpUH3fcWkCa/r9rQVgClnlZ75BaKoXvRemjFyYfbYoZaOjjvgIYyh +RbA== 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:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=LMc0+1Hk9Afqm2G2fAFvBrU4ZxBzAUSkkiTlQeegv3s=; b=OvJby1OozxKHKI/8NdSpRT+lnODKGGNwBio4JYmNpubcXDTW8vQqrKf+YoERcJCqdB CEPAr2L4zuvinx5cZwZ8nwPehpeVq4L3+k0l/TWziqV+hElAIQpGTFNSRm/0BC1hViq2 SDyCAiC59GMCJjNojVHKgecFL/8eTjY/SzN/oHFMcQ6HLW+IBIAjU5v33yzOxJWZeHoh RYx/oglO5viXFr1xsdfRGbEwDm1dWpYOiGldZfvK5lYeFj1O7wAAQD5uhIxMrbaM4J98 ZgpvB15+HK4LuphLC5dU+thlPX4rKuWj8aCYmBwFgP0OY4P2rvtzW8UwvODonaC81ED8 hTUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b="nUA7y/Sn"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si6876475edq.571.2020.09.05.14.04.24; Sat, 05 Sep 2020 14:05:02 -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=@protonmail.com header.s=protonmail header.b="nUA7y/Sn"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728426AbgIEVDH (ORCPT + 99 others); Sat, 5 Sep 2020 17:03:07 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:38630 "EHLO mail-40131.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728400AbgIEVDG (ORCPT ); Sat, 5 Sep 2020 17:03:06 -0400 Date: Sat, 05 Sep 2020 21:03:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1599339783; bh=LMc0+1Hk9Afqm2G2fAFvBrU4ZxBzAUSkkiTlQeegv3s=; h=Date:To:From:Cc:Reply-To:Subject:From; b=nUA7y/Sn9q9y//BxtOdoNpUQnuv7q0AcPHKpHu7vsmNhgKtCQOVv2+ghMkLiHRjx7 3wsnrmvURegws2+JgOYC0WJ8Km+hUm0G+RBkMOPRKJ/VfaYjnmBPe8EdNGeaA1iQnD z1Va/YFrz7JTG2uLW1r8QyeTuRDq+d1gy+avWtSE= To: "Martin K . Petersen" , "James E . J . Bottomley" , Jonathan Corbet From: =?utf-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Cc: linux-scsi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap , lkcamp@lists.libreplanetbr.org, andrealmeid@collabora.com Reply-To: =?utf-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Subject: [PATCH] scsi: docs: Remove obsolete scsi typedef text from scsi_mid_low_api Message-ID: <20200905210211.2286172-1-nfraprado@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=C3=ADcolas F. R. A. Prado --- Hi, Is this documentation page still relevant or should it be removed? I'm aski= ng 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-do= cs 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 pag= e, 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=C3=ADcolas 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/s= csi_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. =20 -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 supporte= d by the relevant gcc compilers. So C99 style structure and array initializers are encouraged where appropriate. Don't go too far, --=20 2.28.0