Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp792013pxb; Wed, 25 Aug 2021 15:33:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNhQt2nfm+34WFB3vdn8KPPHZLU6/xHmSbktCfY3eyjh32AETaYSFEQLyCosWEXeTTM4JR X-Received: by 2002:a92:d10d:: with SMTP id a13mr444291ilb.87.1629930815495; Wed, 25 Aug 2021 15:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629930815; cv=none; d=google.com; s=arc-20160816; b=DmcKj+aVGiUYK2XcQ+e5MmhcNCVuGczyblOUNOJSYoFvppcrdzR9Yiwlbsmpe2qzFa VYTGrVypfHPjNl5Wz+negztKm26QSp//fuLtx1WjbvCgiQLJQuUCkUHLSziDr28vGjXw N+MVYZ7rXcZy58ZT/2zTRfWbOltp2fiOOpDgQNCzSvREaypaRogoXObDzcc7ZPfRW2mV RhAmMFbV/45tsZUASTW10B9X2HCn6zAsok6SjmYHLswSMRJ1LABWjWZ7iKy+wG06Ijp1 zNDgHFk+WSltBizx8k1o0KLGr1rYmY3geSoknYwcdR4pVSpeuQekkWURFywpU62ztAYd VYQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:cc:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ptWadA4HCMeQHLRnXPnOPfNeTy4dya/p1yelvBBPdOw=; b=DvKz79mjrGqG57epS5u+RK/zJ37zx6aCHmt+qEic/MUzS0aBZ+kS09y6MnY3X+3Ca8 pze+Z3ZXaMLqjZ44AZr5x1EXnVAxBYZrn8L88FVytK0h6gtzV6C1JyW9u3KqSq7wrG9+ 1JW7OoipWchRx9HoPoPb8L3/wQTJTMjuzVUYBW3bl9Y5KRfbIiP9CpWpYPphZs5DA0TB yQRm3f6PK+bnjgVoi8DDnv1UKVnQVECzcplwgAk4hXGPquDeF1yDAWxQxRobs0Rs5OE5 yZQPiV9Pm2N9Ni3X6RNEAUmBmS1jXdd21G6Fr9JxtdoeltnG86W0trOdtgcahwenUOVI Y/ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=CJFSEB2a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e101si846291jai.50.2021.08.25.15.33.23; Wed, 25 Aug 2021 15:33:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=CJFSEB2a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232695AbhHYWdZ (ORCPT + 99 others); Wed, 25 Aug 2021 18:33:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbhHYWdZ (ORCPT ); Wed, 25 Aug 2021 18:33:25 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E422EC061757 for ; Wed, 25 Aug 2021 15:32:38 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id n15so1869368ybm.12 for ; Wed, 25 Aug 2021 15:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=ptWadA4HCMeQHLRnXPnOPfNeTy4dya/p1yelvBBPdOw=; b=CJFSEB2aSJuS32LVbLByi6Oo/eFBtaHvVMXFh5j0ChqYy80SAIT2oyyP1jaUwAN9f3 Cw4q4BHbGverTdpnlNggEdoVjDUEOI8o5ONUG+p+D6RNfcKlPP5Lq98MzZ8KvMH/GiEj SKK2LB3ICfN3vrhPPBfuLflyl1NTrpQcfYseF4cVKpEebLwZoczIhd14THjcWH/RgXA5 n50Viu83Jx/ihfqpVdlfKnpDbpCkLAzEMVrDsn04XeJ4Gcuv9ndBK+g4XoyM9kHNlaOy vqjRqJxwnOWD8AMVhGSUj2X2CX8B8haOBDRg4ADJPqvBy7w0dOMA7ezF/isphgs4tdPh GJzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=ptWadA4HCMeQHLRnXPnOPfNeTy4dya/p1yelvBBPdOw=; b=mGG8hj1HmtPMkRuZ1icLYtG5oHbc7Ic1BdjYfdg/vn3Y/gU68OrBxpmv2KI/CgJNgv UaFchwFQY8fbigTfRFVXqMLnF5+u66SKYcomCDLT1P0G1qgZp50b0Ulwhrlcum8PcnKn IPekhR089I1a+qwA6F/zfD2ee9HkL4VIpYVVGLDOLnvFHWK1qnxhfK5zuaQL2n5L+oMu fa9Fd13OwMYVaNrWlQfnphwVVOhVcQXJBHPhG81liyIx3AIFZNPqlcW2oJ2wUo+RExKu tCzsqYz3B4eWRw+xKWeWDlh8E+5zXsBgCFtnP2y8G2fu0XtKaPVo+IW/6VhZMDyJCUsb M88Q== X-Gm-Message-State: AOAM530zL0V9W3hpnJGab8uoDDY42dmiWwkusSGDWw931Qg/FhwmDXjw QGlvTErg5fNsLqihVpXRVoRFYfDBD9CFcEExXinHnA== X-Received: by 2002:a25:f20a:: with SMTP id i10mt1203550ybe.236.1629930758075; Wed, 25 Aug 2021 15:32:38 -0700 (PDT) MIME-Version: 1.0 References: <20210825222051.2106481-1-jiancai@google.com> In-Reply-To: <20210825222051.2106481-1-jiancai@google.com> From: Jian Cai Date: Wed, 25 Aug 2021 15:32:27 -0700 Message-ID: Subject: Re: [PATCH] coresight: syscfg: Add initial configfs support Cc: mike.leach@linaro.org, dianders@chromium.org, mka@chromium.org, Guenter Roeck , Manoj Gupta , Luis Lozano , coresight@lists.linaro.org, Linux ARM , clang-built-linux , Mathieu Poirier , Suzuki K Poulose , Leo Yan , Alexander Shishkin , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please ignore this patch. The title is incorrect, I've updated and resented it at https://lore.kernel.org/lkml/20210825222514.2107728-1-jiancai@google.com/. Sorry for any inconveniences. Jian On Wed, Aug 25, 2021 at 3:20 PM Jian Cai wrote: > > This fixes build failures with -Wimplicit-function-declaration, e.g. > > ^[[1m/mnt/host/source/src/third_party/kernel/v5.4/drivers/hwtracing/coresight/coresight-syscfg.c:455:15: ^[[0m^[[0;1;31merror: ^[[0m^[[1mimplicit declaration of function 'kzalloc' [-Werror,-Wimplicit-function-declaration]^[[0m > csdev_item = kzalloc(sizeof(struct cscfg_registered_csdev), GFP_KERNEL); > ^[[0;1;32m ^ > > Signed-off-by: Jian Cai > --- > drivers/hwtracing/coresight/coresight-syscfg.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hwtracing/coresight/coresight-syscfg.c b/drivers/hwtracing/coresight/coresight-syscfg.c > index fc0760f55c53..43054568430f 100644 > --- a/drivers/hwtracing/coresight/coresight-syscfg.c > +++ b/drivers/hwtracing/coresight/coresight-syscfg.c > @@ -5,6 +5,7 @@ > */ > > #include > +#include > > #include "coresight-config.h" > #include "coresight-etm-perf.h" > -- > 2.33.0.259.gc128427fd7-goog >