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.5 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,URIBL_BLOCKED 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 2A4E9C4320A for ; Thu, 26 Aug 2021 15:51:16 +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 D9ED460FDC for ; Thu, 26 Aug 2021 15:51:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D9ED460FDC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net 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=ll2AnBQD0d3R9pgyAIDJg8oCE3MwqsPZ08F98mPHPf0=; b=cWwp1+tGbR+/Ly CoH8bUp5S3sVcPTkX7CZE/jIDs7Ut1J+tWmLZzuCtMX+uDk6NRQvUHxwInyGqWAVEV0gkmu5hYc+x cLl/ma+saKk3pEUW1aIWLpr2htSIzslDLa6lz81zFxWkhqJnKz9ERXZyG+eYre4nHFtvU/KIwZJlQ +vM6mIqdcbmaiOlk+f8Ny+zx+T5xJzjh2V+jXpvDzQmmpP5K9XAPcWb0Zh75JlWOgS7dHw9uLgtSM 79jo220VHXs0fAURG62PzzIw8ZkdhS1VicNBEpmQMysEauv6ZiL4lApXrSxDeITVOUHDHvPwrArJX 3GxrYf49XR79g1y4LazQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJHct-00AVhZ-Bh; Thu, 26 Aug 2021 15:49:11 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJHcp-00AVhB-7W for linux-arm-kernel@lists.infradead.org; Thu, 26 Aug 2021 15:49:08 +0000 Received: by mail-oi1-x234.google.com with SMTP id u25so5191619oiv.5 for ; Thu, 26 Aug 2021 08:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Qa0fqLYy9vP/cy82c+R1T/pMSHWa/WdHi0MVUVDi4jA=; b=M7jfr02E5dD4+M0dAvgKeiThaQE1g3FeQz8OCuEraAfu/zDSXYCOfXe7B6wVke9GyG euM0Fc33dJym41pHswF0XjIZdfjGn6Zyw9I/ILJMjVuIm1jl1bhFwRamchltkT/AF39f hN7gP0W3sRMTVDGjG7uRpvT23BayKZDDGiKSZPPIShoUyxvB31OWweaAcr5El9bftkaa TT23e3EV0sOp8XHIe1zvge79EyGd6IS1KWykrDMI6p96GvPOTEkpy05zXUWIfeNOHTw6 48yrknZHPclaUeONFgJwPKmlJGZ1W+qQSZerQZUGSs2h6GQBgGrOUZTqyToemvU/klbv 3NMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=Qa0fqLYy9vP/cy82c+R1T/pMSHWa/WdHi0MVUVDi4jA=; b=n70l3YcScw7Q52rtGyyOySk46Q/9CoGMBl7XRTViSiGPZ3eqxJ/t1+vU6LR5f5+3NK hu78q4Jxf/3X9R/7W6ArPkd+fy3jP9dAibS0bKEVQqr+nFIr6p2StPQBj9fjmJNpQOcQ aQyMkWBOCB2/5bwcTM5mSrgxjEgonz4hiuTHePJChSyQI5OtMG4NGmEv9PKZwO/J55Fu kRU5qo7FiYecwqj+I1eL5Rg0sDG9yA/K0uLSFzfrAedMAuoTP8XMaaqXSjce+luG/36p S1jZedSbPfGlla2RNWa4JaemFJNV+3JTGTYZA/sZgr4egDdLIc2KtzHvdQMhi/jv9eg/ KuLw== X-Gm-Message-State: AOAM532D1Lt9l6KVhaVUPp6/PzOYLxVSY6pqnOfx6hN0af8OCqNIMrvm CEA9fGZQFWtaV1CrInUbRX8= X-Google-Smtp-Source: ABdhPJwfJGNXEni2uL0E8ntXubdpiGnZunFbZdheFu0qO7DzDWdsh4gutdUf2RiFj4AHEWpPpXt7qg== X-Received: by 2002:a54:488c:: with SMTP id r12mr11714638oic.115.1629992945362; Thu, 26 Aug 2021 08:49:05 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id p4sm651325ooa.35.2021.08.26.08.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Aug 2021 08:49:04 -0700 (PDT) Date: Thu, 26 Aug 2021 08:49:03 -0700 From: Guenter Roeck To: Jian Cai Cc: mike.leach@linaro.org, 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, Mathieu Poirier , Suzuki K Poulose , Leo Yan , Alexander Shishkin , linux-kernel@vger.kernel.org Subject: Re: [PATCH] coresight: syscfg: fix compiler warnings Message-ID: <20210826154903.GA4082743@roeck-us.net> References: <20210825222514.2107728-1-jiancai@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210825222514.2107728-1-jiancai@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210826_084907_331821_AFE9EF42 X-CRM114-Status: GOOD ( 15.36 ) 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 Wed, Aug 25, 2021 at 03:25:14PM -0700, 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 ^ You might want to split this into multiple lines and remove the ANSI escape codes. Otherwise Reviewed-by: Guenter Roeck Guenter > > 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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel