Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6054495rdb; Thu, 14 Dec 2023 07:14:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDqVtWwhbBb+bOjsdo8H+W8nikRxp9F0PAiQNReHBelPJ4KPGVXCAD7VadsCNZcdwFIHXP X-Received: by 2002:a05:6a00:4581:b0:6d2:6b0c:613f with SMTP id it1-20020a056a00458100b006d26b0c613fmr553171pfb.67.1702566871645; Thu, 14 Dec 2023 07:14:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702566871; cv=none; d=google.com; s=arc-20160816; b=F0oyNbGnWaloNFvShqaSom6teLkxSYmQ5BmSTdq1IPlhmkpShMMHmUju8YAAZY6AdR lETaluVpEw5IoWiht5xYwNsvyyPkdS8ZBJkC+Q3PVBo+GSfY1BZZARIE0Q+vzzYVCLed HsH+HjVFT2gRJ2oqymqHiohJa16MT6wfrhqoJa4PRXpWP62wEiS1bonMqCHFy/fAHwqg g9cMkz9eIPCAM45kCwjuVEcvtfCOq5h8i8MwLaoQVWVXgRO/+rKOEd0cAhD/xGuJRdiL 5esb64LPTMLxGEhg7lYyJ2YEcT17AiSFC6XYWEB+9W79+T7SQIvm29Qc4iqMVqZ/Xleh SFpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qIWdo6NVbFpYOPkeNMqB58yzv6AOAy/A+IX2G5sGJ5U=; fh=BiTih3HBn05OJvpBeKJCJhFgvirybBPBq65CdTV6sMo=; b=zvTRnJX+p6PM+HIRVUsqrQKlUCMSvb+2BBs4U0ADdzZPKw5/n104VT62U7NM/F0Tau qwpn/kGlDuHLo64TbCJeZUidsRscpjMXCN9hi6dB+maJ490hNT+TIAQ+0qzq9ZnQtOyC Rr7abYcQ6msGTyZb7XZG8gIzHNCvrCQjWL7ETefGRJUcW+XRgsv86RTLa938c6lFbVVK xcd39EPZGdCOvsKQMTuqAYgP68rornMZ9Ogl0tSuiAv1TarEZrEcoAj8ThNMf4WyryqW wrdSMNOGBrkPJMNRcK+u8QZRai73kiCpUiQX6XE2ST0wCizYIE55JqRJ6VKbBF+7Wvcf zAHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n4-20020a654504000000b005c69365abbbsi11233805pgq.318.2023.12.14.07.14.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:14:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 15C7A80EA971; Thu, 14 Dec 2023 07:14:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235603AbjLNPOE (ORCPT + 99 others); Thu, 14 Dec 2023 10:14:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235688AbjLNPNk (ORCPT ); Thu, 14 Dec 2023 10:13:40 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5FBB12A; Thu, 14 Dec 2023 07:12:41 -0800 (PST) X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="426262253" X-IronPort-AV: E=Sophos;i="6.04,275,1695711600"; d="scan'208";a="426262253" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 07:12:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="774400928" X-IronPort-AV: E=Sophos;i="6.04,275,1695711600"; d="scan'208";a="774400928" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 07:12:39 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rDnO8-00000005sJu-3sMC; Thu, 14 Dec 2023 17:12:36 +0200 Date: Thu, 14 Dec 2023 17:12:36 +0200 From: Andy Shevchenko To: Kent Gibson Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, brgl@bgdev.pl, linus.walleij@linaro.org Subject: Re: [PATCH v2 5/5] gpiolib: cdev: improve documentation of get/set values Message-ID: References: <20231214095814.132400-1-warthog618@gmail.com> <20231214095814.132400-6-warthog618@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231214095814.132400-6-warthog618@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 14 Dec 2023 07:14:23 -0800 (PST) On Thu, Dec 14, 2023 at 05:58:14PM +0800, Kent Gibson wrote: > Add documentation of the algorithm used to perform scatter/gather > of the requested lines and values in linereq_get_values() and > linereq_set_values_unlocked() to improve maintainability. I believe this is based on the old discussion in the thread where I proposed the patch to convert this (unreadable in my opinion) code to use bitmap APIs. -- With Best Regards, Andy Shevchenko