Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp786175pxb; Wed, 25 Aug 2021 15:21:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwu+HT7J5irfpIYoWEnXbGksWkHR7eaOM6+b7zph+ItUMFYo5K2X4c+yuenQTPsi7aj8JTl X-Received: by 2002:a5e:da44:: with SMTP id o4mr552619iop.147.1629930118274; Wed, 25 Aug 2021 15:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629930118; cv=none; d=google.com; s=arc-20160816; b=Me2FXqVNZmtDgtyjSfOCONfpZFvF95u1Ko/EftMk51it6ncY7rsgayk/InyYf7PTQG tSU1nQ3oBXsdx1JU7GWgy+OPntpLqT+PTuOw6W9Dbfq29IBzke/z18f5+IiIdHFmfmxZ WspfGQTSqFGt4TZypqtdTknpacZUV0o+hirB2rKwCVxHHc4aXJc7aWKfwDr4gHC7DoOA TwPVWEUL6TlQilEYh8bQQG9QGbT7SFM0LbFO6xna8ACuimZojOaanO9bqQrHkHrIdj1x pbeqpd3tRNeyWkUIfUV8jOO++BfShp4j+il1EdPxncgeEUhWlP8resM+dNh1gWDSvl4O LqnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:cc:from:subject:mime-version:message-id:date :dkim-signature; bh=BXmW2RjvQEh9Bli/X6dqHjbl1+e3RPnk9A5yhhpZXUk=; b=AFrZoK6HWz4riaSwkPC6NfeYBhWJ/qVmxd2OFqw3B+rmiGsHz1+JGO3J80jJOWmpqK S2JDpCRRuXMcT4sE8/fPa4WDidYhNntPQd9IQVLFKFXgHYR4zgHC/VmxctTwyQSeFxGs lahK7RK/YXHjmQzo6u+OrIF0U28MXecv8kWh30Edn89tieDdKMyHsBYaPMnrtXIrE+Qi HtL3ZeSNdz/SC2PQrz63geOX4C3Eo9ZGZHc8yvr+uWciKqwMz1nca2s4jtfIIliEpCFz rbS1fxoPAKp89h1YZCaqw6X9kSfUBY6+Nd77qbLF0ZvfF7Fn9h/l509udLtbRthqLqZQ D+2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=VWNy4eOv; 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 l6si913948ios.26.2021.08.25.15.21.46; Wed, 25 Aug 2021 15:21:58 -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=VWNy4eOv; 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 S231886AbhHYWVo (ORCPT + 99 others); Wed, 25 Aug 2021 18:21:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229922AbhHYWVo (ORCPT ); Wed, 25 Aug 2021 18:21:44 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C8BC061757 for ; Wed, 25 Aug 2021 15:20:57 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id j9-20020a2581490000b02905897d81c63fso1012239ybm.8 for ; Wed, 25 Aug 2021 15:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:cc; bh=BXmW2RjvQEh9Bli/X6dqHjbl1+e3RPnk9A5yhhpZXUk=; b=VWNy4eOvlQFRZ8qoPA8z1o2whMkIDETXh0On6H5qn9bqrDUxbp3yqRbzaHI8VB+6Cp mcNSoEm2cJEIP5tU16FVLKnVKT3NEegWiGqFcB1hfiG+QhHqTHP/K9vzTKqVDDQ+QHuB fl6i2hYMPFefpjNwiKdFZys6rvaOK1TE0JMP4mUVtw+WEC6xoPI18CYF+6EmbfHQVpwJ mRdne2iRaOeNlGuFoC46ugE5WyD9MiOsD0m+IzwzVL++FWgYD1sWmDsMJABgX4MCrfAE wvLxIr1FVRohOGaRkod7V5nz+EegDGuT5TYNZ4y12Eb7OblDTOsp92pNDEzFSCeukgA9 bo8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:cc; bh=BXmW2RjvQEh9Bli/X6dqHjbl1+e3RPnk9A5yhhpZXUk=; b=mPzcWYMGBd4s1YdwQitURw1g5HqjcdGOLkVdKMswn+D1B2es8T0CEbfC5Hy0nwbpq/ 9S8QSbVcj5qGYRix4/u/MzVh3i7tR3bGT37VQ9TdEd+Qd8nYtrVa4VvADuqe8rjIWrdS c3dwgHy8SXHyA72v3BeMz0FkH0SRSavj4ou195leDLDOR1ojOWSxdythMxt5mo/uRO9N 0R8LrKhqj2KCzyf768pEpjXXRYJnliTG90oWat0xx1pKCJtch9sYfWQQcKH9SyFbluVl TvsuL5rv6PHSUprcu79hCzQyU4jhY51OWZgGP3kiztDAieq7PKLZvXVx3AYwRQDLFNoH qptg== X-Gm-Message-State: AOAM532CZnZgHLmKEv1JayhV0Ntq18GhxS9YEWTx6M3rYaTCCwSQOONF naaLNLqU3d/nzC7eS2ReThZ+f2ttuYNl X-Received: from jiancai.svl.corp.google.com ([2620:15c:2ce:200:3664:f78f:3b89:adc6]) (user=jiancai job=sendgmr) by 2002:a25:ea52:: with SMTP id o18mr1346886ybe.150.1629930057109; Wed, 25 Aug 2021 15:20:57 -0700 (PDT) Date: Wed, 25 Aug 2021 15:20:51 -0700 Message-Id: <20210825222051.2106481-1-jiancai@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.259.gc128427fd7-goog Subject: [PATCH] coresight: syscfg: Add initial configfs support From: Jian Cai Cc: mike.leach@linaro.org, dianders@chromium.org, mka@chromium.org, linux@roeck-us.net, manojgupta@google.com, llozano@google.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, clang-built-linux@googlegroups.com, Jian Cai , Mathieu Poirier , Suzuki K Poulose , Leo Yan , Alexander Shishkin , linux-kernel@vger.kernel.org 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 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