Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5947614rwb; Mon, 14 Nov 2022 11:49:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf5EAr1A42dsqVc4TYUcPgaDl2GiKkQIpTuNoX+B3l4aQ2d6qJSTKXNWXpygqInhBCYUSxqb X-Received: by 2002:a17:902:ce02:b0:188:ad33:23c with SMTP id k2-20020a170902ce0200b00188ad33023cmr683008plg.108.1668455364312; Mon, 14 Nov 2022 11:49:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668455364; cv=none; d=google.com; s=arc-20160816; b=Dl2CChxiuuDQzL0sU4Bg94lNrYh1EX7cBRv+wh/uh/NuML4C4a8k8pqo3k37XW5dDL dZ+oVpzpIQHGjWa/1BozKuQKETydNHvZ0/5KkVtd90rVuklps2Aa2em1dd92yD9VIhv0 rbJtL7ak/wAzqt28t0l8q8W1iwFJ3OdAUOMn8zchj4cL5EtlayiIpok8hy/gtbV7IuD9 JJOiRcA6ICLHKytsnbsa815SH/Trml1JzojQGvmeH0IdS37Aq6UfOgHCJ3GLGBxeIV+i ut//xTNI0Q4ZuzqeTM1HfvPsZuq9SWOv9jIAJClX4iVhJpxuR8NgbClKQIKKvjcG/VN/ aF/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=36v5gUBpLgcJSUQwqRiwLsp80Jc3uoS+E8w6Xxeu30A=; b=Sa4pSESNiJ5asH/wjsxgMZg1Jy9SI2LB9hsaV/pxvdGtDxQ0lbMVsYDRCc5TG1rEwz rEevJ8xxY/OD/o+1OniQRR8Xx5pWM5MMeajs+Ce/kDXwl7xlL104FzZmcSgHLFYaFfNP EtpxgmWEAEd3pUII1FSzSY6PyJJNl597b0SaiDmSqfcUeZbMj7mkMwWgJta4QssClQDP oK7qizTsQAbnoN+UGf2CDYJBNJre56RPzqnh5SHG9S0CuoRv2pnLfy9sMTcSL1jyRZ9E CC+vVE3QmUdq5RC2jSvleDhao5UWeBv35x85QD9Gg6BuKunl/yxttyOp42d4a+68AWqZ ZDIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Lrq1SGsh; 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=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 pw15-20020a17090b278f00b002135e1f5a7bsi15045849pjb.155.2022.11.14.11.49.12; Mon, 14 Nov 2022 11:49:24 -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=@gmail.com header.s=20210112 header.b=Lrq1SGsh; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236552AbiKNTP4 (ORCPT + 88 others); Mon, 14 Nov 2022 14:15:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236661AbiKNTPy (ORCPT ); Mon, 14 Nov 2022 14:15:54 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9916A2656C; Mon, 14 Nov 2022 11:15:52 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id f5-20020a17090a4a8500b002131bb59d61so12967449pjh.1; Mon, 14 Nov 2022 11:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=36v5gUBpLgcJSUQwqRiwLsp80Jc3uoS+E8w6Xxeu30A=; b=Lrq1SGsh/h58DcJ11Hw1HOf0hbKqOEcqq8+wNMBXe4s2lYB/Kg31XMTaPFCFKc5aQB mzKRTsTGzCUXsb3dGiFhjWLInKi8TjgiyQB1ejK5k+jWj7+Gb+4iqY4yvslZL6j5cA/5 G3kUrThX86oevlypswDZ6GD7XNF+YPxPG7h6C1kf8td+DZlE7X+n+idVkexUksjD3MH+ UV2CINhcjBNH1p7HkdUeXZEh9bgJajppw8x+VUngopg5zJxVaG3pZWlX5Psd+CzAsfMm CROhYczvRvN2FMe14wZaL7v7yx5MA6E2uGrcAZ1HlNAgiMPqVXNvOB067JdDfm4Ov1Aa +hLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=36v5gUBpLgcJSUQwqRiwLsp80Jc3uoS+E8w6Xxeu30A=; b=2YOhwkew4/Ad9fRnu4nAVcLopPaBx/WFo4oXYipY1qmHGCsP/xqG+PhlXQ7lP0ArJj CsnGYUiDrOiDYK1NrepmZVOhEWF9zT2IGssliLL9lHj4+eGOzf9OvB/sK5ROHqqMM0jr Jj/MvovsrwhKuHc7oj0u02gtcZyLDRxjqLIJ0I71HSBt45wfMTHc+3KkAvYusG9R3Gkt 2Mrpp2zTzJSbgsUgKJJ2QDiQiAueNBSR+8MgxjyTTchG7lWRM9T+4j0s7ROZiVxlv6+N jC50jplQS0ZcUzbXTY3JNQL/PI5ohPEjLrbHY76gttFXw5KsQI20hJE+Lra3jOP3rGmJ ZBLw== X-Gm-Message-State: ANoB5pnGq1dgxSZiOEKvp0ukzP7a9B4WtMxNtWc+i/4WR8i1BBpRK/KZ WjCoQtD79Thtn3r8O7CMk41/p34amepSeK6FyhtjFJWP1eM= X-Received: by 2002:a17:90a:8990:b0:212:dc2f:7ee7 with SMTP id v16-20020a17090a899000b00212dc2f7ee7mr14696996pjn.172.1668453352083; Mon, 14 Nov 2022 11:15:52 -0800 (PST) MIME-Version: 1.0 References: <20221114162207.62559-1-andriy.shevchenko@linux.intel.com> <20221114162207.62559-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20221114162207.62559-2-andriy.shevchenko@linux.intel.com> From: Fabio Estevam Date: Mon, 14 Nov 2022 16:15:35 -0300 Message-ID: Subject: Re: [PATCH v2 2/4] usb: gadget: hid: Convert to use list_count() To: Andy Shevchenko 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 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