Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp792409pxb; Wed, 25 Aug 2021 15:34:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKT9v0R55knV7zcGIO2LevVXXrwQ7aPNK6YhQL0eHlLDO49luUxE3GMkY9WkSFFcJIeg5M X-Received: by 2002:a92:7108:: with SMTP id m8mr451223ilc.238.1629930867196; Wed, 25 Aug 2021 15:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629930867; cv=none; d=google.com; s=arc-20160816; b=DB1k8wmYCK6x5V5YHXZBZygiUCKglPoyBmp4eEkPfhdOe4z8S6N3iCxEHmVXV8pDGN JQtbaRKhzUA5tJp7kMDrEy6BUf5Iih+jjUzEsCJOk9ExSL0909YVSez7bZ7D0Dkxxxzw RPKmjXs09vBaRQr7yl2Qg5tdYrYTEXt7f3hLr4LshoLuah7zcn+fdP8cEfP0UHk5MPLD tDnYPfBUPFdWh5QA6Zqf8PHM1VeLmzEx+9w2JNSUsntltkkCaFBhzKjqvxqS2pSQvxXZ 2t9h/WQlsnn8ARRtDOSi21Q1FGoZW19Aq8FbF6qIHt7/LF+SwsfeFwKUufDRu1wNx3I8 OxiQ== 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=Kgp5GiEz4WmpnGVoTlE6arLJUO3fxcnpVDrKqn7lWLw=; b=dYRbt5o9UNmE0XtjmePh0BFl7FC+6QK7YqOBDN6TbfWrrtSxFlOdKYCZnn+S/CtAzl nWR/flSfwFXRUyUp7XZvFsL+LfJgSzYRgmz3NVEN3rHCsJbpweiIw1UO2nKpoQFLhlKB rLpke8Vn216Bh1/aU9f7FmFxYGKzWW4M3ezbHEDB142tyVNvufIZ2iE6bkTLEHjb166u WUGnix+0P7ZwWeS2Rcp4ZOwHOeEXjaPTQOBMZ1lF7LjaX3R+p6N6jQBHaX+AaJFRjPAk fzhKos5cY5MAtCUV8Tt1H1MFYIc2bZD3tVPexNNOEVx4Rkcre1yQbsOnLi9W5GP3WEtV XI/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HPFOPzBy; 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 w13si817973jae.1.2021.08.25.15.34.15; Wed, 25 Aug 2021 15:34:27 -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=HPFOPzBy; 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 S232816AbhHYWeG (ORCPT + 99 others); Wed, 25 Aug 2021 18:34:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbhHYWeF (ORCPT ); Wed, 25 Aug 2021 18:34:05 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81751C061757 for ; Wed, 25 Aug 2021 15:33:19 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id z5so1937536ybj.2 for ; Wed, 25 Aug 2021 15:33:19 -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=Kgp5GiEz4WmpnGVoTlE6arLJUO3fxcnpVDrKqn7lWLw=; b=HPFOPzBy6SGiYGP6n7007s+8XxhBCV9CfvtBH7fphvvbQzrKNdcVz4b6rSJdP2Bg/9 2m7RCr7FuGNXyJiuMbVhjF9BO+JzG+K2q27BduY1+O9H++gmpSZeEsNP6DUseQW2bfSc AJWEEAnSXAAU/FP/rk/LIYRwuOf9ExaQkCPTeSS8swjluq/BVlnessP0ezYTuVZmIdFn bIQR9OvbSfef7PAFgO6NeUoRJ0XAPIdXlhS8Pwphw+6sHoHhJHvl1sVt1/9QI5kmbmqg rFM1d3qu7JvjL/WOawUvElCIN6Q45tWSqddqvpZrtjWX4bWBc9OYIaGrK7MJooOMzQkb zFLA== 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=Kgp5GiEz4WmpnGVoTlE6arLJUO3fxcnpVDrKqn7lWLw=; b=qd9XQEr8P5lCcooPH9wUP2YwIkHiLxxmQjjmJR74JYLgdiAyCuZgewlrePfwyFGkw2 oEF+1Z0GImChZPLnsShZNjOAnthFHnC7/t27zur2Ae6EQxznuQWK8uAFvbtCm8jtX6y9 s6K+9JqwbWobpLlNoDGV1rzvOc088ebKqbO9R8xcYD6GzsSpTSO1yl+E8dPo7nRcp0S6 bmpixkeSepSFf5/tkJwD+S/k4yraBBHbHveJUpB7UWnG/xU3mbyXKDYo2VYcj457o+yW tgRvwKdsxTNMwmPkh2A9nedUNN/PJdmdXjO0D72Yi09acMD/yyYsmNa1JH6YV1iMedtN j8EQ== X-Gm-Message-State: AOAM531t21hi4gEV81W0r15yLwXbUOmdWKPbY2+KZmXJ4IvUIIJQUks5 24GJBoDEs3LDYbhG/qcKHVkED+JtodP3Euw0ri2sJA== X-Received: by 2002:a25:9847:: with SMTP id k7mt1238946ybo.170.1629930798648; Wed, 25 Aug 2021 15:33:18 -0700 (PDT) MIME-Version: 1.0 References: <20210825222514.2107728-1-jiancai@google.com> In-Reply-To: From: Jian Cai Date: Wed, 25 Aug 2021 15:33:06 -0700 Message-ID: Subject: Re: [PATCH] coresight: syscfg: fix compiler warnings 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 The last message was meant for the wrong patch. Please ignore. Sorry for the noise. On Wed, Aug 25, 2021 at 3:27 PM Jian Cai wrote: > > 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 inconvenience. > > On Wed, Aug 25, 2021 at 3:25 PM Jian Cai wrote: >> >> This fixes warnings 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 >>