Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp551744iof; Mon, 6 Jun 2022 08:22:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy35k4ANhdvFOySKA6GUoXjgw6XYGocv7FPtdW7qFRNN8CHTwcFEEr15qRDQMsMTzVBRE2n X-Received: by 2002:a17:902:a507:b0:167:7a06:b2f5 with SMTP id s7-20020a170902a50700b001677a06b2f5mr6837574plq.128.1654528919922; Mon, 06 Jun 2022 08:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654528919; cv=none; d=google.com; s=arc-20160816; b=H8ci9xNxVosyABGbCWn+6ED+hyccSFbRWd7+iv6yyt013r/v4wt2bUreUR49tS1CCy yZ6wDrfB/aYAfmL88FFoPkC4NmZzBtj4smNwVEPmWuqnYz1ty+zRA3QLlvXwPdgZwN7b 2Wzzc4BIXwm4AgW/N6hctKetkz5MKpb7RbjtHXaD88MR4XOANyPihlV9i62mrOibqgTK xxzSh9jFlssWOyK4ad9ykXpbFel3PnS74qAGtINsFjVuLnPx21n2kzBpHnNt2B801cul s6maz+W/YyVkr06CbqCPUSBSmVJ0N5X1rGJzZOuQ2d48jJGH6hWfeyD6h9DKjhrxLSzq 3Frg== 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=ltHPrw2tHLSsWTo0k+1u7PmQZYz53U2tfsTdR1emhZ0=; b=BR7ZsEfX8W+gdBWO25uKk/Izi99fszNeuMZe8cXgQe4aRxsm7JHE3Jrv3Az+5dFKdC skr9uacHbvq3FDPnCksqfQ746QaEie8aNcK5Wi51gjmVoiisDLDXAziQjFpMPDbJg20C hESM/nYCiFJboHO/pmGCORcT6/yy+1zHbolhWL21UscmqgBPErxEvaPSWKjHB/toCBZe aeJsR+mSTGhpBXXcY2v8gsiW7qJlwNi629MwHHa9GwWt8PHsR4Yq6AoLI5s+Z2CayIIy UuQTPQNKFT+px5/nBp6A70hBnuRmIgS7g67P6jzXNXboaCWAhVPSaDhYhFU1aXlVTR2c SjRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PYEYK2LG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b5-20020a170903228500b00163fd24ca86si23097921plh.282.2022.06.06.08.21.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 08:21:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PYEYK2LG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F04ACC6857; Mon, 6 Jun 2022 08:08:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240102AbiFFPI1 (ORCPT + 99 others); Mon, 6 Jun 2022 11:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240093AbiFFPI0 (ORCPT ); Mon, 6 Jun 2022 11:08:26 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D7D82FFE9 for ; Mon, 6 Jun 2022 08:08:25 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id n28so19241089edb.9 for ; Mon, 06 Jun 2022 08:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ltHPrw2tHLSsWTo0k+1u7PmQZYz53U2tfsTdR1emhZ0=; b=PYEYK2LGgrS7dGWMjTgfH3vO0P5+3jFY6Mlx/DEzEnHnZ/iuQlEDObwfakoTUpcibu vd6qIuEO/VgUaJvfxY+N8/+tuE13SQ2vM7vUQFC1N3bcF/rqPNCH99NJMe6gMjqEBbmS U/Aps48dyjFzYs+skXBeTztDiogn7gM7CXeEhYKaaABaVYheqZ/k/KGYmtS9W4D4fUP4 b+Eo2wVHQhpBOfd5cZaKED+Qgoht8BZ9pC44phjlnS5AYAa7MYtbHxmIJl4xccSJW/34 y4Hr+e19KuGjJS0Act9mlY8CCkr7x5BzaZTLIHGIG4JlcLKvFLfFm1ZJqasHg/XJpraq fpVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ltHPrw2tHLSsWTo0k+1u7PmQZYz53U2tfsTdR1emhZ0=; b=onBEYl2exyXABnO5COAiGEOGoJMU7Fi+3rM6PPpBq7Oc/z//nMLWvOM2kKsXNfZR/e akdHTJ1duAH4MyFlDjtd+CWac3bQzmsg4q9Ks4DlXRQqS4noc3fsgmnSN7Tj8Y2G2JSu Mow3UfV51geGM6ekoe2SkLlQ2AVKG37V9Ew3l7Rv0PWrEDRDxRGJKUxJId/j9XePtHk5 DOGfs2kopzYmT4ryjGI8Fja3PCPBiLR3jh6U/8XsykepA6t8x+DAXurF5IabQA0n3rPA BeJjWvXuJyqImY6EgeSAsmyQji55H+v6eqZpNPTkf24qkK16RBWyM9nY4zQxuMtDTPYS 211w== X-Gm-Message-State: AOAM53255tNyNBgIrpfj56JI54ZwCkoqTZ03tzaQUyz0Foa4v4xf/A4k r7knXFaiVZhrQ00nAQYmC8AJbUIOjKQ1Eh5/rLakBw== X-Received: by 2002:a05:6402:2687:b0:430:328f:e46b with SMTP id w7-20020a056402268700b00430328fe46bmr15075923edd.33.1654528103838; Mon, 06 Jun 2022 08:08:23 -0700 (PDT) MIME-Version: 1.0 References: <20220606141051.285823-1-tzungbi@kernel.org> <20220606141051.285823-2-tzungbi@kernel.org> In-Reply-To: <20220606141051.285823-2-tzungbi@kernel.org> From: Guenter Roeck Date: Mon, 6 Jun 2022 08:08:12 -0700 Message-ID: Subject: Re: [PATCH 01/13] platform/chrome: cros_ec_commands: fix compile errors To: Tzung-Bi Shih Cc: Benson Leung , Guenter Roeck , chrome-platform@lists.linux.dev, linux-kernel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no 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 6, 2022 at 7:12 AM Tzung-Bi Shih wrote: > > Fix compile errors when including cros_ec_commands.h solely. > > 1. > cros_ec_commands.h:587:9: error: unknown type name 'uint8_t' > 587 | uint8_t flags; > | ^~~~~~~ > > 2. > cros_ec_commands.h:1105:43: error: implicit declaration of function 'BIT' > 1105 | EC_COMMS_STATUS_PROCESSING = BIT(0), > | ^~~ > > Signed-off-by: Tzung-Bi Shih Reviewed-by: Guenter Roeck > --- > include/linux/platform_data/cros_ec_commands.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h > index 8cfa8cfca77e..a5b749a85707 100644 > --- a/include/linux/platform_data/cros_ec_commands.h > +++ b/include/linux/platform_data/cros_ec_commands.h > @@ -13,8 +13,8 @@ > #ifndef __CROS_EC_COMMANDS_H > #define __CROS_EC_COMMANDS_H > > - > - > +#include > +#include > > #define BUILD_ASSERT(_cond) > > -- > 2.36.1.255.ge46751e96f-goog >