From patchwork Mon Sep 13 16:46:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 12490235 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=-17.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,URIBL_BLOCKED, USER_AGENT_GIT 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 A141AC433F5 for ; Mon, 13 Sep 2021 17:07:49 +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 6321A6108B for ; Mon, 13 Sep 2021 17:07:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6321A6108B 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kSgd/0wXnqjYWF/eofjcLoMmxlLmeVxJoo52Wo+NxO0=; b=HsKtxXRwAGvqNs HVtNW3is3JZdDhUqhEEtE3B7eK4H9FOq/p1L5sPUFsxyUn5lvFyDxeaw17EK+vsXbMOyjnuClutNz EaPIXb+N9KT8FBd4HL/SF/ZTP20VqvPixqW3a9FfjNTLUSasOrUr4NCE7F3i8wlqfVj4MuVPCqA90 clUxFeSWQyxMDZ2hwdKS/IpQVy8izrq/QOg/Rn0jC0K9nE4cDxa02rA1GcOqEOe8yi9GSbjEPN20z PN2MvCU+XGXRsG5DHXOrRgjmcXKzFVa1bn4nA8SYFAeo9d5P31rPWOmY1m3RUStdOvvJlgv45t0+U x+3swXYphKiWrXeo1JCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPpNt-002aIj-KI; Mon, 13 Sep 2021 17:04:46 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPp61-002URl-Me for linux-arm-kernel@lists.infradead.org; Mon, 13 Sep 2021 16:46:19 +0000 Received: by mail-pj1-x1034.google.com with SMTP id k23so6793979pji.0 for ; Mon, 13 Sep 2021 09:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WyFI22XceY8sGAgVwRnjjZbEi+n4Q35oKOBHLHyUQYI=; b=T048dSMyPD3UXEfoKYL1hQcBcS9At3mPGkvSyVewCDauTy5g91EhR2AyKcB2/5dNJ0 FYjQegIUuc6HeUsZkqDl+Vd64vmbdkDGmJuFE6AAFPm1G+oR3FkDve9yZ5jIsLII8LQ1 kw2USumd0jKeMNIGlyxmz0LaKHlL7e7uX2gXOEngDwD22LxOQP6wIRnjZvVquhfGBEeu M53B9B7/t16KzpD8h2J95OWKz8NMb9bgDCTi23aydm7rxCpCLhB3tyUm64l/KdICxFmU H1fpw5jdRlS6fMlpu/4eDjJU8BNzSW/qwQM01UHl8xGnnzrbY3AWKnQe1yLQIYYCM3DT Safg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WyFI22XceY8sGAgVwRnjjZbEi+n4Q35oKOBHLHyUQYI=; b=b+v1iBoktMjYhWn59oSAUkApfaAYuZd5eyFGlacy4C74lXmAa52XYWPEyrWKH2YY03 Raq2N5hBv1i1Sg0dnUsmjU+QXFIXZnIZPEFNdInj8EGNQsOIVfmrqWQmV7WZ20cQbQLz 4Y9I4KamzNOo5biViTEligf7UQ0ZuQUlUtyLg2icNHaGgXcg8KYQ3+4NfjJdF/1vA5FT qL0PEFbHHcmZZeRGAywQdk3p8h9rGxQW2Qx7SIT0WfYJiVPjeQj8HZCX2eipRytoeOYU ZJcqRw5mrJsw/qurShQKqpa5cdCQWHFP/EGmFhOKH7zm08Yu876NESTxKXeKbQkZ7pbf DSvA== X-Gm-Message-State: AOAM532rx9TLkkL46W9yleK1ddBKSViA3MYJlz2KIbTOAg2USV6uqDIY +8zOBydcJsNAe0xW0mIarHFfrVU+oXF16w== X-Google-Smtp-Source: ABdhPJzUklGwe8EI/hASvCXBM94ZWyNGh574K4yTLUwm5RSfbMYYF8DB3XbqcXwySka3vhLR/vW2mQ== X-Received: by 2002:a17:903:1c9:b0:13b:f43a:41b8 with SMTP id e9-20020a17090301c900b0013bf43a41b8mr1545685plh.69.1631551576266; Mon, 13 Sep 2021 09:46:16 -0700 (PDT) Received: from p14s.cg.shawcable.net (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id g3sm7615572pfi.197.2021.09.13.09.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 09:46:15 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: jiancai@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] coresight: syscfg: Fix compiler warning Date: Mon, 13 Sep 2021 10:46:13 -0600 Message-Id: <20210913164613.1675791-2-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210913164613.1675791-1-mathieu.poirier@linaro.org> References: <20210913164613.1675791-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210913_094617_807368_A3514552 X-CRM114-Status: GOOD ( 10.56 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jian Cai 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 Link: https://lore.kernel.org/r/20210830172820.2840433-1-jiancai@google.com Signed-off-by: Mathieu Poirier --- 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"