From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47F98C433EF for ; Mon, 6 Sep 2021 15:08:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0445C60F45 for ; Mon, 6 Sep 2021 15:08:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0445C60F45 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x04UMz8tNNE31zAWCC3gA9ogfihiIgi15o8qSN8PbkA=; b=QuH8c+/qJGcYPk cGaPXT8c8yEjoglsCnleeFqt9O/ebaXAuRmGWmbUtqwwMqrOrm33m9eBT6fV/2Ynhbbid/cc4FtI8 2zZY8RnycvtsP23mm8Oqhq+bQn4iB04ZRXO1baGr24hJqc69glyptBeOpFMQZaYVwDeAr43GeUbRI yxfB2kmoowWV4X6eEEQYcmiaFCdVHOdXNdLlgyQkyljaB5y7dymO0MAJnaMA5AwtLcVTcVt8o2ZLg nqPyHzRmxT1G4pzsboWELDMaetRv+/1govGcCwUDPE0snRFMECWyR97GkH2Lq0yxq6xA/3rIKjwKQ j2agzbd14+zNXAABo/gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNGCj-001BKY-80; Mon, 06 Sep 2021 15:06:37 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNGCf-001BJn-HS for linux-arm-kernel@lists.infradead.org; Mon, 06 Sep 2021 15:06:34 +0000 Received: by mail-pj1-x1035.google.com with SMTP id mj9-20020a17090b368900b001965618d019so4443775pjb.4 for ; Mon, 06 Sep 2021 08:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=7bRVRr2cmpld6cVkhHmLiLm6xvgtUebQbicDG7ir3G0=; b=m3nCH0H6dheq/9gTKSlhvraisRdbU5lL2ciDS36vzIDNR1/GfkpADfpz+Lr8Zi9McP X54Xa3Xa+ngumTj/Kc19bIeGcTGHUbmVht9CjCjbeG4HmBSFRCTZbk1bbg1NYA5iLYlJ V+w6SYY5dzVgMDGqFxYfcXSkMUgtWk7XVfhRQfZVOmUYDYliDBdX2FLGOF1mfAC1fiul Y/P7hl0GWXTT04cGhvFT5k3hXHEc2B1jm1Ntt2Ibgq1poHOSYFrZehamga0XLgshVSsw tcm+Di7AMp44hpK6vNUklq8WVLIsdKydM/3QPz2d3MRdpBmEQSGHN/vibbH9o/P6MJ7Z sCYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7bRVRr2cmpld6cVkhHmLiLm6xvgtUebQbicDG7ir3G0=; b=E76glcVoq6LS7ugrv+o7GdvZU/oIXyo2BqLgx4G4yWJW58kLCrZc3UhCmGeLZ5Xa0X DCNokBJilWq81iUXkj48plY74uANIh2j48OC2GjHHgAaX0gCXskj0wLTdCkILJjs/hdB VLenQqMpsyjAB+l8rV5Qni9vOX7piYVnurC82xj0bf4uLOCkuEAGJTtH5XLCJhHdZpl8 5y0PS1qeAYqCUVqMNDg3ijsTphpuTn3W7HWV3FaNuuAlqLOBIqJdqSHeISKT1gcP+wY2 2qymw/2qFHA7M8ci2fIlnZcNWDgEHBzhZsxjqxQrzUHSs6ft6tz4DyU+jdynG9BgwE17 XWRg== X-Gm-Message-State: AOAM531PrdfrEAJ5Z0GIVyRGhHLMpRl0FbtuWnY2CFFkcrc2dP7jXYjE n6K3FpPdQ0l+Zq5Dteh56jO3ZQ== X-Google-Smtp-Source: ABdhPJz7QhFvvQoZNbJT/uu0Intg4qqFBqp1QJOwcr6xXyv7hMGFbr/9aIkaYAr/nvmPmo2gRdieZw== X-Received: by 2002:a17:90b:1d0e:: with SMTP id on14mr14275270pjb.97.1630940789541; Mon, 06 Sep 2021 08:06:29 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id y126sm5275753pfy.88.2021.09.06.08.06.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Sep 2021 08:06:28 -0700 (PDT) Date: Mon, 6 Sep 2021 09:06:25 -0600 From: Mathieu Poirier To: 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, Suzuki K Poulose , Leo Yan , Alexander Shishkin , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] coresight: syscfg: fix compiler warnings Message-ID: <20210906150625.GA1228692@p14s> References: <20210830172820.2840433-1-jiancai@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210830172820.2840433-1-jiancai@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210906_080633_657058_39AD43D2 X-CRM114-Status: GOOD ( 17.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Aug 30, 2021 at 10:28:19AM -0700, Jian Cai wrote: > 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(+) > I have applied this patch to my local tree. I will push it to the coresight-next branch when 5.15-rc1 is published next week. Thanks, Mathieu > 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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel