Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6031459rwb; Tue, 22 Nov 2022 07:58:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Is2Noi0Ok649G0RUnpWY9aqdwhitLVhCObSw8mSyceyNtuOE0z8rTdMLax5jrg1UGSP5Z X-Received: by 2002:a17:906:b04c:b0:78d:9b0a:7b0b with SMTP id bj12-20020a170906b04c00b0078d9b0a7b0bmr20343824ejb.197.1669132725822; Tue, 22 Nov 2022 07:58:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669132725; cv=none; d=google.com; s=arc-20160816; b=IIt7cUGhW9FILKUcAHjzQl97txLQwyNqpMvQ8ioje/ztNnEAtlCm5aOs5hCfl+AVzN lsiJW2iFzSrAZnrmTEmCV3sm04u7bjK6RuVUEV+Qhm2RkgA5ha2wKyRuDOtmegX3npqg Ge6PKGOPgKTtT9ceUSm//FHDXaJsqG7QEo7XcuY9ANbKfRV8p1x8W6549Gj1nRCU7dpc Z22vC+Tyj6mGtntcahPBVxYsTbTRNT535XhMZEAUfvIQy2I5uzbnd9K8ymYt9eacn1yN wY6FNgenYCVHhEufuGVv0ezGzGhHB3LsPZzhcoycm6+54kKOK26XvwLnvTRAMloLrIyM mLyQ== 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 :dkim-signature; bh=dPGmeE+T7OYpwnJgS1mdDyBuxg1lqMqTEWr5F+jmCdM=; b=rp0WA0zk7DMIflVfB1zfMlTMjKYVbksun0lRG3X9CvgfU0zfiocs9UuuUB0u5+Ez+H l4pDKDQaTV4UObfS3SzdpD0Tr9+p6o7+RrspO1zKH6u/8GEVeUW7/Ayix/eS/VCjUWum mmcsuJuyATHHak+KgLiJBNG5WnFaCG6hb99o/KPcKnLdZ2YfVvSgHnlYKivc+Ox2Q96a irGA1WxH2XPbyOEKXJaluOBbkrbdJ7CYzUg+QNnus2VAS+9ozWwUuPg7KjYbi5k08QhV KFq0A8VueNLwTCBaUh/RIVYXAzS8W5i+5xoey9fcCXtxsfRXNybLzdv7wH7KA1GiWVhT AoQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OuK3+nnJ; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf1-20020a17090731c100b007ae186b15f9si12563492ejb.597.2022.11.22.07.58.24; Tue, 22 Nov 2022 07:58:45 -0800 (PST) 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=@intel.com header.s=Intel header.b=OuK3+nnJ; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234027AbiKVPVR (ORCPT + 90 others); Tue, 22 Nov 2022 10:21:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234016AbiKVPVP (ORCPT ); Tue, 22 Nov 2022 10:21:15 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5826663EC; Tue, 22 Nov 2022 07:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669130474; x=1700666474; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=s3VVg2g632Tux17uwTkaAb/v5mQIhikDvfW22IAN4Os=; b=OuK3+nnJb1LRXZb+k9CkuD8SWVrCvIZF8nE3/JYGGrh1brjqVML3SdP6 V98uA+ms0BrQmDyQTJvV81f5tYcR2XQTH0rbFjgQlQDUMlhUKmaTWu6bu QJVC6/Dprgsrpgpu6SrRu08+Q/yVTrqTWa4cENisiMoUDUOHZyNnczUHR 88zW8lL2znmEtDmiNCaRu1YKnCBU4JFT65KKPabE0RMDvPD/fT3Xq32Rh CWwOfDzRahGt1zfUYaWHj4P2dvt367CmyGc9ZAUxDGVoyQxfRGvQ7BgQM C7Vg5I14USreFsTaMXl7w5AA5ve5UzvivHHtAZJQk14DnKl2qfyFeyYhx A==; X-IronPort-AV: E=McAfee;i="6500,9779,10539"; a="301388858" X-IronPort-AV: E=Sophos;i="5.96,184,1665471600"; d="scan'208";a="301388858" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2022 07:20:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10539"; a="886570850" X-IronPort-AV: E=Sophos;i="5.96,184,1665471600"; d="scan'208";a="886570850" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP; 22 Nov 2022 07:20:42 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oxV4i-00FsuP-1K; Tue, 22 Nov 2022 17:20:40 +0200 Date: Tue, 22 Nov 2022 17:20:40 +0200 From: Andy Shevchenko To: Fabio Estevam Cc: Jakob Koschel , Greg Kroah-Hartman , Mathias Nyman , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Tvrtko Ursulin , Kevin Cernekee , Mathias Nyman , Rodrigo Vivi , Andrew Morton Subject: Re: [PATCH v2 2/4] usb: gadget: hid: Convert to use list_count() Message-ID: References: <20221114162207.62559-1-andriy.shevchenko@linux.intel.com> <20221114162207.62559-2-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 Mon, Nov 14, 2022 at 04:15:35PM -0300, Fabio Estevam wrote: > On Mon, Nov 14, 2022 at 1:22 PM Andy Shevchenko > wrote: > > > > The list API now provides the list_count() to help with counting > > existing nodes in the list. Uilise it. > > s/Uilise/Utilise Fixed for v3, thanks! -- With Best Regards, Andy Shevchenko