Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp946614rwb; Thu, 11 Aug 2022 12:49:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Dz/3eIbNtRXH2+cCSnPDGjJ6RIMgCThmhf151pSkd9Vhkjr+uw/IBaTkeQb5WhPxeK6UD X-Received: by 2002:a05:6402:1492:b0:43d:7b8c:486e with SMTP id e18-20020a056402149200b0043d7b8c486emr601286edv.367.1660247369079; Thu, 11 Aug 2022 12:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660247369; cv=none; d=google.com; s=arc-20160816; b=UKSpwt1gXupftLotNDrvCxVHUXBuE24VBskQvi7Ln/hH+FohnQ2lLXRuBF3PvXAG57 QDCaIyH8vqt0chMfvYKBNE/gFgrrOFPWsrlwoMTiVZWeIBWVV2DVssbfYCJsCO4703p2 qrnR50jxIeW8zZNErV4ucl+dNamgMzSIwE9I4UkjztiQRmGPnSFzkZ88D3ebjihuFPF5 kR1COab8DVgJXSfLcNRO177aFflWYA8rc4PG/SE3/E5HwmEQGGKkADwlMBHmMtPUWI/T 5d3p6Sl2X9U0dylTQe7BmYrV9P5lRSuCBLy+eKqNQZcv91GCBfNy9DR/5ApoLfB/eXAx ECGQ== 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:from:date:dkim-signature; bh=YGF/mB8jaM0e67b2x/Uc3V5ALd7lXhffoggybMzGXuw=; b=UeIgupcs/FkNpqsa3/+TOd6U+Hi1LFhFzQPQzsyrpZeSb9WJQy2WttHU5DgFe0rvGy lALUmp/12x5AFpt8zXkV3Xqy67EZf+4GQ7+RSobFD8OwhyQxulPTOCHdN4P4/8b+YQvm MK9SzwCBW/toC90UfZVQqcjMQGhVVrjZhrcNtCERwKq6vTzcBFTW1O8p61U+gA2i7KkI 6vKyu1+Rmcz4xJw8CklMPHwIQERuC/mCW4l2sI+EQMkypYEBYrwB9k2toia9G9SK7iyp V7qxcj63ickOqKkbm9aelgNSaRa5CxFuZysxuyJg8EAr9qCXO0j3LGzP3Tj7KfR3EmM0 JCgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mkNi12XL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a1709062c0b00b0073159d94151si30659ejh.499.2022.08.11.12.49.02; Thu, 11 Aug 2022 12:49:29 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mkNi12XL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235632AbiHKTgV (ORCPT + 99 others); Thu, 11 Aug 2022 15:36:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235402AbiHKTgU (ORCPT ); Thu, 11 Aug 2022 15:36:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87B95883DC; Thu, 11 Aug 2022 12:36:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 243BF60FF4; Thu, 11 Aug 2022 19:36:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F233BC433C1; Thu, 11 Aug 2022 19:36:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660246578; bh=VFDZCqb+1IhthOrU2AnhG14PREmnKQn1Hn8rRS3DcUs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mkNi12XLJTAZS+XyEUTx3wbZb+n800pOLn3zi4w7oDn90Fgquo4stiLUuU6sp6ci0 HmOTwklaoNaROUv1m8dx8FDJD335j7uhNtpHeKIVrRUfOquQv6QKNOGbM63hSwuLrS EHyzROVN0masmZLkWFud3XspFRVwMLX1JWXvQSgmxxNIRGOVxvu3TLHTBeJ+EZLj4+ srE1ZV2HL0wm2ox7EbHLp0AN0k/2hZfiXWeDyqj8TMKRHQvnCb/wuReaJNjFycXnhj 4jDiw2xxNhf+0kjRpqO05biS4y7MPSblbwZVcJU5MpqYcOr1RTlDWMsS6sS0EpB943 x9Qp/O0babeOA== Date: Thu, 11 Aug 2022 19:36:16 +0000 From: Eric Biggers To: Daniil Lunev Cc: Greg Kroah-Hartman , Adrian Hunter , Bart Van Assche , Alim Akhtar , Avri Altman , Bean Huo , "James E.J. Bottomley" , "Martin K. Petersen" , Mauro Carvalho Chehab , Sohaib Mohamed , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH v6] ufs: core: print UFSHCD capabilities in controller's sysfs node Message-ID: References: <20220803074955.v6.1.Ibf9efc9be50783eeee55befa2270b7d38552354c@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Fri, Aug 12, 2022 at 05:32:34AM +1000, Daniil Lunev wrote: > Hi Eric, > > This is describing the directory, so please include it in a documentation entry > > for the directory itself (/sys/bus/platform/drivers/ufshcd/*/capabilities/) just > > above the documentation entries for the files in the directory. > > Should I keep the comment in this file as well, or remove it here when > adding to the documentation? > > --Daniil Avoiding redundancy is nice. Maybe make the code just refer to the documentation? - Eric