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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D547C19759 for ; Thu, 1 Aug 2019 10:59:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DD336206A2 for ; Thu, 1 Aug 2019 10:59:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731312AbfHAK72 (ORCPT ); Thu, 1 Aug 2019 06:59:28 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:36516 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726756AbfHAK72 (ORCPT ); Thu, 1 Aug 2019 06:59:28 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 8EC6C28C327 Subject: Re: [PATCH v4] platform/chrome: cros_ec_trace: update generating script To: Tzung-Bi Shih , bleung@chromium.org, groeck@chromium.org, rrangel@chromium.org Cc: Linux Kernel Mailing List , Jimmy Cheng-Yi Chiang , Dylan Reid References: <20190730134704.44515-1-tzungbi@google.com> From: Enric Balletbo i Serra Message-ID: <106711f8-117a-d0df-9b66-dc6be6431d07@collabora.com> Date: Thu, 1 Aug 2019 12:59:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tzung-Bi On 30/7/19 16:07, Tzung-Bi Shih wrote: > Hi Enric, > > I found it is error-prone to replace the EC_CMDS after updated. > Perhaps, we should introduce an intermediate file "cros_ec_trace.inc". I am not sure I get you here, a .inc? could you explain a bit more? Thanks, ~ Enric > The generating script replaces whole ".inc" file every time and the > cros_ec_trace.c includes the "cros_ec_trace.inc". > > If this proposal makes sense to you, I can send the patch after this > change landed for*-next. >