Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5889422rwb; Mon, 14 Nov 2022 10:54:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf7NeejI/lVJCk+ElXbjXnIaML6GsZhe6Bs8/ycjVoaimiq3agZki72sBT2ZkKWJUoyIpBoF X-Received: by 2002:a05:6a00:a16:b0:56a:fd45:d054 with SMTP id p22-20020a056a000a1600b0056afd45d054mr15380145pfh.3.1668452058609; Mon, 14 Nov 2022 10:54:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668452058; cv=none; d=google.com; s=arc-20160816; b=m68KX65wTnj6Mk4JBzzaljQX+IEUFcPIQ0Mmxba/fy8raK6puQKx+JwHzVqTAPeWgX g+n4O0yc3HhnkUpnjsKQMqH/2cOHfPYN3CxklWElmX0KF+HYue3VzJyVGhyMF7mcTqpa +pKSYj4PeLvRD4k5YIS69jsd/upKVjwL3j12b27+3v/ueep4A+0vqEcmrDB4tJYt2W1f 9z43CWH+Ww3xBv9pzcquF/sBAjF84LC3l5cncf8htoS/w/cOjzx7/kpg9EH6wDRDgOGl nEq+jt94LCU2an+tHJwV1ARR6yLS8F6u5mvEWnp2BEDKzkvXKFSWYdMutUu4+S8hoRqo HVSQ== 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=tkuLO1Iz3Nv+go+kcrmPAOJ6/R6ppNI64d9MS9eDa6I=; b=uOW3bn1+u27S7/tBHk4FP6J0f4XvFmP0gXITjHXYTHjyp8cKb8LVovpW0+HqVvBRoY JwhLqGmfT+4W/gsEFle5kct3SwqcyTE7HtSJy1TodjbcndFvPUlhAMhvHApuG0DJZGg5 1J6N77oEI+L2IiGVyAyUcp0kYVnd/0WP3GX4uCXKQNzD4rVe2ok9egPd4Iu8xJmZlpoL +v3qlDgOg5A62wKCLGiO38Zp9uY3d0RmqDyPYl1kQeRFvoS8XV9Cv3w3/mpHocNB5NX+ 31gjDLQxaxAo8vDqrLgbYqsV2hB3vnKjZ+V85h637Eo8PNsvfVmigckrbOKUH3R9zwot HPRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Hd/WpQA5"; 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 m3-20020a170902db0300b001868277386dsi11635203plx.192.2022.11.14.10.54.06; Mon, 14 Nov 2022 10:54:18 -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="Hd/WpQA5"; 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 S236735AbiKNSsV (ORCPT + 88 others); Mon, 14 Nov 2022 13:48:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235954AbiKNSsR (ORCPT ); Mon, 14 Nov 2022 13:48:17 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE67619035; Mon, 14 Nov 2022 10:48:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668451697; x=1699987697; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AHgkLYtPHhgu7JKiPxVsv3AUt6xSMXEpy9zlW59ER+8=; b=Hd/WpQA5Z/A2jtLwU1dRfNnaK1l7rekliILwLMGrDlFt1KkSBpFZzMHz 1/iWOYyRrdi6OZiyyH0A81fdvkcMceTl91hjID/OIAVvRQoX1rWbpErDY zhuWfhL/12gZXtS/K2uhKy5IjTDVQ2vaYgrbaqDOCi5WA1ggDoAlhESRz AxBsCfod3SoAiPjqbfz7EqNcR2/e1C85ohMXjZ7xnwZM8uXrhduBYhNlL Z1de2EQZXF/442LTau/yv8OFEiTBMI13GkyCpaLsYElYYedLXfO1TOx5K dTzMtPkda2O1WoG3SEde5dk3rISjCClhjBfvgc6GrrXaCTGCQ1dDIzSBo g==; X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="313197923" X-IronPort-AV: E=Sophos;i="5.96,164,1665471600"; d="scan'208";a="313197923" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2022 10:48:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="813369368" X-IronPort-AV: E=Sophos;i="5.96,164,1665471600"; d="scan'208";a="813369368" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005.jf.intel.com with ESMTP; 14 Nov 2022 10:48:13 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oueV7-00CJ1A-27; Mon, 14 Nov 2022 20:48:09 +0200 Date: Mon, 14 Nov 2022 20:48:09 +0200 From: Andy Shevchenko To: "Ruhl, Michael J" 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 , "Nyman, Mathias" , "Vivi, Rodrigo" , Andrew Morton Subject: Re: [PATCH v2 1/4] i915: Move list_count() to list.h for broader use Message-ID: References: <20221114162207.62559-1-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 06:11:51PM +0000, Ruhl, Michael J wrote: ... > So all of the non-list_for_each code appears to be an inline. This is not true. > This which, resembles the non-list_for_each pattern is a macro? > > Just curious as to why the macro rather than inline? See above. However, I'm fine with the inline. -- With Best Regards, Andy Shevchenko