Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1185339iof; Mon, 6 Jun 2022 23:40:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGJi9TzakPE1khFINkY5zlgyj+qjtPvCdcMZue0hkc3SUO7Bi4l0Y0TMzEPSTqtPaAjx0/ X-Received: by 2002:a05:6402:2682:b0:42e:1c85:7ddc with SMTP id w2-20020a056402268200b0042e1c857ddcmr27619597edd.143.1654584025273; Mon, 06 Jun 2022 23:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654584025; cv=none; d=google.com; s=arc-20160816; b=nMJCTP/31YeUUZZz6Oah6KDXCdFcmCN7mPghzohBp29OXQ8Ky++jDTKxCepEPh9TLA 1Cflqam5ZvElani+PNF+9qHaluc5GmwPadh9dNgqowSsu+HI9954kaTezCmUgpNQYFlX pGjz5/9LsAZd4/ZrR3otJXrxjXOr7ayT9uviRv3p9g+CAxugkduB11MXfdGe02eUL1Hm QJXIyJtSeXis1lrVTD+WvhQf+1YikSQdgr1252yqslypQ1elGJkbfcgk8XASmJKWqiFn z3mLiwAkmps0zw886ypORLOl7vth7BjkMUyuHab7NLpr4/mpTM0+VgEmDHR6crBUEThj Ve1g== 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=QFqXZvbwv6yOLVmcnq9pteQTkfgOrJPnYsUAbxdmNOs=; b=CLsgWGY+jY//v9YujvPItP9F7daaHm3SiSric7n4MJRmxqYz3WOmvve1yIfeSiaI2f +BY4vj7bzhhPloL9RBUuKm+ur/RgVUAwGijYV+QHHqkBwYA66OC9yyCtVgaNtx1M4Ks5 Aj0tU+Bv3TLHOwIdI+Ka8Nwj9FtNvMvahTvfi2dQmSoQX/dlVXsOUbGhWs1ORoseanv7 KJv93fsH7bpGvecX1dPIOcIMSdLo7Zg3+bq7+ei4E1TvwYS8BLYl5e9qN6Eqs91tftJU zrWt6aGC2w2BzaoodfqH+r7A62/eDOhL3o5STSgsdejZeKfgVCOnKAIwe6liyf/AT2Yl zNFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PUHsfyWZ; 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 dd16-20020a1709069b9000b006f49faa49easi21534535ejc.974.2022.06.06.23.39.58; Mon, 06 Jun 2022 23:40:25 -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=PUHsfyWZ; 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 S235517AbiFGAzl (ORCPT + 99 others); Mon, 6 Jun 2022 20:55:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233748AbiFGAzi (ORCPT ); Mon, 6 Jun 2022 20:55:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86362BF8A7 for ; Mon, 6 Jun 2022 17:55:37 -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 1FD7D60ECA for ; Tue, 7 Jun 2022 00:55:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9DC2C34119; Tue, 7 Jun 2022 00:55:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654563336; bh=NRUQsLYrMXbJ6K3FojmmsbXnxoKX1prtQJUYfKxhNn0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PUHsfyWZoPGYX7H0pjNAAxuTQ15yAph7bjwH6LWHAGSfkxt4pLBmyER7sacp4Vzsm mpoJKT+MZIcRPlpoQpDdFRJ0jxY33LUqu8+QXI6PFTDBQcbczFx/32JaE8qbB7XoxN 5e9m54B1CEp7rCyrBbm3dc/AUpOyc5luxbosFOy2ZZy7t83LmmUm/pcRu0i2K35iyY /eTegYRJ7jRg8jY4vS387Lzp8LaiQJ8KZ1h2EQ598YkqkVc+8fHMl0pXKoIb5X+ACo RY37XjgRaZDJqZhLpdzZ+poFwTxpNKOuLRaL/pLcuGTsA0OHh+hXMntz1jDVdY+9Ox bMKI3Hp4KvJEQ== Date: Tue, 7 Jun 2022 00:55:33 +0000 From: Tzung-Bi Shih To: Guenter Roeck Cc: Benson Leung , Guenter Roeck , chrome-platform@lists.linux.dev, linux-kernel Subject: Re: [PATCH 10/13] platform/chrome: cros_ec_proto: arrange get_host_command_version_mask() Message-ID: References: <20220606141051.285823-1-tzungbi@kernel.org> <20220606141051.285823-11-tzungbi@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-8.3 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 Mon, Jun 06, 2022 at 09:09:25AM -0700, Guenter Roeck wrote: > On Mon, Jun 6, 2022 at 7:12 AM Tzung-Bi Shih wrote: > > > > - cros_ec_get_host_command_version_mask() is a private (static) function. > > Rename it to get_host_command_version_mask(). > > Personally I prefer to still have prefixes, even for static functions. > If the idea is to have a shorter function name, maybe shorten the rest > of the function name a bit. Ack, will fix in next version.