From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CE26C433EF for ; Tue, 7 Jun 2022 00:55:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235520AbiFGAzl (ORCPT ); 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: 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.