Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp465558rwo; Fri, 21 Jul 2023 15:07:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlG5qZz/LWZEu2rJDlk31l5fhU+YnePJIe6byPgYJm75wOsgRzSpK2x+8K/djYW6PW9iG8tk X-Received: by 2002:a17:902:d2c7:b0:1b8:5a42:5145 with SMTP id n7-20020a170902d2c700b001b85a425145mr5416228plc.31.1689977254111; Fri, 21 Jul 2023 15:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689977254; cv=none; d=google.com; s=arc-20160816; b=l7jFfPF5KcKDnYpMMN5YwOKadZU4dvEg6okwXm8QPQfLVvIeUYkZYq/azM/B320wd2 FjGQBedRBQnZF8RIp7QmzXH11Tj2myt4Nsdar3ozU4WYj2t58pNzFauDOnURq7uXHHCj FTbCMJfi62GBlsLVW6I5pNNd7w1RUf36pDBDI/y+YxYbmVOJKaJwHA/5W/5/zzagC1dd CBk4uE0LkduLgDbChc5dAxOWW2cDvGDm+ScMkObKdz/dFRQ1lK22Dv97mtScgC3iJxDk WZ1u85y5IVx7HKWKtcYvdkY7p3kXG7a72JpWnPRWCLjbJ16p2XmqQikP65yT3c6FTJ/f r9LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=dbSoIOZlz1+/Z6vR/um+tWtXaawBTZlWctUv1YBMfBU=; fh=HYTcYZvoE4QCQQecliaPLPa9G6a2rnwopeL7S7eqeas=; b=y+STLERes7pNKDwR3jlXVlZJ+ofnV/hgOmcKRsWVkfhyTI0DYdeBojpO0U10HhZ+L1 KydMRgwAykFc+dVAjd7OMKnhA93taSss0ZqcE0hxFi6ftepvLCw8ceF4PP4SuTbihKl+ K/GiORH6bpsQL3XtOcCOVS+Ltjo3YgR0uYxdsP+8gb/ofX3Q0Qerh+0xqscawjW4gGSP j5yYqnVlLFolbJbF2DxgY9HAlLMgqsXHdqZwz7buoK2hK+C6eGqDOErpnyETt10VbXKi IF3eLXU3Mi7N5EvQzpIkNB2vRFaXU4GXCHYmMzvuKLkzlOk/8NdAwaARK4jJYfoD1FzC vUIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a170902e80800b001b178baf356si4214078plg.95.2023.07.21.15.07.21; Fri, 21 Jul 2023 15:07:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbjGUVhq (ORCPT + 99 others); Fri, 21 Jul 2023 17:37:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjGUVhp (ORCPT ); Fri, 21 Jul 2023 17:37:45 -0400 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9DB272D for ; Fri, 21 Jul 2023 14:37:41 -0700 (PDT) Received: from localhost (88-113-24-87.elisa-laajakaista.fi [88.113.24.87]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id cc4c06f2-280e-11ee-a9de-005056bdf889; Sat, 22 Jul 2023 00:37:32 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 22 Jul 2023 00:37:31 +0300 To: Randy Dunlap Cc: Andy Shevchenko , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Nuno Sa Subject: Re: [PATCH v2 6/8] iio: core: Fix issues and style of the comments Message-ID: References: <20230721170022.3461-1-andriy.shevchenko@linux.intel.com> <20230721170022.3461-7-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_BLOCKED,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fri, Jul 21, 2023 at 01:48:34PM -0700, Randy Dunlap kirjoitti: > On 7/21/23 10:00, Andy Shevchenko wrote: ... > > - * Return: 0 for successful release > > + * Returns: 0 for successful release. > As documented in Documentation/doc-guide/kernel-doc.rst: > The return value, if any, should be described in a dedicated section > named ``Return``. > > However, as you (and I) have found, "Returns:" also works as a section name. Plural allowed for some section(s): '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:([^:].*)?$' > Reviewed-by: Randy Dunlap Thank you! -- With Best Regards, Andy Shevchenko