Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3784739pxb; Mon, 30 Aug 2021 10:32:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4CX3mQ4Py5RWcF539I4H6wF9PLPZJXq41iiNjMvO0Iysbky5sxsfyRXiGt8QSHqkC6NES X-Received: by 2002:a17:907:ea1:: with SMTP id ho33mr25823829ejc.271.1630344758801; Mon, 30 Aug 2021 10:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630344758; cv=none; d=google.com; s=arc-20160816; b=G+U+XO3uDxTi6rdIs9zuSrC08sDBUWO+ylKgYvRh5hu1CrKLyS5cIZteVltAtJhb9n 3x6clb5jJBU4VMHNtjfymVx5/qrbhoH0SEqeBmF365wn3lJejwkUoGgfS4d3nFOrRCIs To32+nLS1QKS57wXMZf6jb52e3WI3re98bqm59M/XV6vswLhJaUcGizBjeuP7btaC4uq BN/NYGPsQSfvX0MgqTM2tTnStQypgdj8VC0Vt+m2jRHzyXTNjub0FeLiTjJZrnfvftp0 2G7zIVZsa5YJWX1P7gRbBhg0AvzlOibQmEaLK1SFmR9+HuNv/ZHJiCsnWUcgYEeHxY7i 4/jw== 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=kodoJmi6WDuZJrPTFcRxRUB0Jbyp7ZG0JWBLCSvowuQ=; b=rSAVC9KGE9oG7bLIKQ9WEqwXvfs2Gpv7rcSIbuSJv0YP3jTVCnMr6GLYCas6g8zkqb zOF2kIkggJZuPUr+y+NtnAMB2TTAQuLSMPtqBLJast425r+gstkM8DgZ3Zi2Ek9ROmVI N/3iOsfKok2c7InVWOiwPHQLC/IwzXFioqOrZzv6bFrKfCeU2yoSqoUX6IZ322iS3l3z v/DtGlWIRZpokGUaf6r0Dvmf+57nQjFc+a2pLuf7o/HYQwqQRofcYOJqvpoMHCdQhte5 BKiNOdkG6Pq7V7AoSfcD9toZA1GZhqnl+nw26y+8ZYucOmRfu2L0AYBlnNt68NSawjEq tESw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=DKia4FFu; 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 21si8257667eji.148.2021.08.30.10.32.07; Mon, 30 Aug 2021 10:32:38 -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=DKia4FFu; 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 S238088AbhH3R3T (ORCPT + 99 others); Mon, 30 Aug 2021 13:29:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232236AbhH3R3S (ORCPT ); Mon, 30 Aug 2021 13:29:18 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF50BC061575 for ; Mon, 30 Aug 2021 10:28:24 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id o76-20020a25414f000000b0059bb8130257so2417876yba.0 for ; Mon, 30 Aug 2021 10:28:24 -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=kodoJmi6WDuZJrPTFcRxRUB0Jbyp7ZG0JWBLCSvowuQ=; b=DKia4FFu9QYBM6YQMGDmGO4N/gnhRt/zkglFnEQ+xM4/6x0Al+7Hcxn4C8V6UUEn0a 62/zA2l0mkTghgk7ZWmvHOx37VnFzLHWr1Gi52b6AaSky64RsYk54wzRjflBeLz6vKuS NfkpxyeWzKPZfUkjixMkBLEHLemy00RYk+aKg9cTXp44Y4jGAZA26bjzbWHte0EvbZ+v QqU+3SGuAY4zlVoKSMyT0rwr/raL3vig2z/oCHfuwmSHyuY+Rl/o1gQ7+Xo4lssrhYJJ M371f0B1Iw0WA0d9ltb1wJ7PTg5ayA22zn1UiD+3KcVD6f7DO9XOSFNbSYDQIiSHje+8 z9nw== 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=kodoJmi6WDuZJrPTFcRxRUB0Jbyp7ZG0JWBLCSvowuQ=; b=fn5Y5EjiQNxk96AwHPhaMn26jgn8WiqAaJw6P4RI8t1s3xhQv0ARZqa5vbhKBXUL6y 9XlOlKtfjNVlZSQXsbJ6mJii8JszY0aOHkGvFYkZHuPdLt3ZBzayZsC1BgNzwGHH4PQg MdV41P8ZeOZmQ4UvWXHkFEeHJMGCJoWSFCs2i18SXYe3sKWTHOSfipW8XvhOHj2X92g4 6LVi0s7FCBmqDDFdYH0AGlnWjj5C5PU5KGRqKrnXd6ZB7aE02h+b4pFi79Z5y1ezVWe0 iZTP7r8wQ0tI5H0lAZZqPk4Om2ngF6mOU9bcRPZ/zkRUB/z367kRTFIdoa0qHvdgZ0nG k0SA== X-Gm-Message-State: AOAM530TKEckXyXriHNxvTNpf5dK6oJzIcjAvJqU/0+NyEbFmj5MqTuF 2qdG/zjn9MlvYDIhkIgKn6SxadkCAt5O X-Received: from jiancai.svl.corp.google.com ([2620:15c:2ce:200:dd51:f64e:22ea:f5ac]) (user=jiancai job=sendgmr) by 2002:a25:9847:: with SMTP id k7mr24040661ybo.170.1630344504154; Mon, 30 Aug 2021 10:28:24 -0700 (PDT) Date: Mon, 30 Aug 2021 10:28:19 -0700 Message-Id: <20210830172820.2840433-1-jiancai@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.259.gc128427fd7-goog Subject: [PATCH v2] coresight: syscfg: fix compiler warnings From: Jian Cai Cc: mike.leach@linaro.org, linux@roeck-us.net, dianders@chromium.org, mka@chromium.org, 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 , Greg Kroah-Hartman , 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 warnings with -Wimplicit-function-declaration, e.g. drivers/hwtracing/coresight/coresight-syscfg.c:455:15: error: implicit declaration of function 'kzalloc' [-Werror, -Wimplicit-function-declaration] csdev_item = kzalloc(sizeof(struct cscfg_registered_csdev), GFP_KERNEL); Fixes: 85e2414c518a ("coresight: syscfg: Initial coresight system configuration") Reviewed-by: Guenter Roeck Signed-off-by: Jian Cai --- Changes v1 -> v2: Format the commit message and add Fixes and Reviewed-by tag. 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