Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp788720pxb; Wed, 25 Aug 2021 15:26:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAK3Z5mJPLdnN6BmSENFJwg5/Pyu8CBxpM8IpPvZ1l1ti58zH6y+tKfdhzyKbuG1aUsSVk X-Received: by 2002:a92:c841:: with SMTP id b1mr425740ilq.300.1629930388790; Wed, 25 Aug 2021 15:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629930388; cv=none; d=google.com; s=arc-20160816; b=RhvqQtasG4Z/QF3QaEsEElQpIrd+9o3z++610UyOTQpVjZ5zYhd7DcsrvpOgloSQU5 dN5jhfXWhnA+EJSS3rU8x3mdx1BUF3QPE9pqn2s+EvChMcpmp3mEUr4j6wg+xpw9xDtQ mmxUZogQJjOqljbjyhN8T77DDLuiJ0DN1pXqMYPYKZIcv7u7iGuDZEmWbnBIU6va0EPA bBB5XHl7COulQNV4WN95P/vbsR8ypqKws656L7R89nQobpsa+GMk9FIIjnMdvaxxgHOg Y2CbLeeaaCxFl1dCWODd77BeYgvlh0MLLYeNyzB/wp14eS9qIaq4Wv6AQhXLZhrjL4K0 KyHQ== 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=fT/uiX9DJiKWLSrGSaUNQbEmdVHwY+0Iq88fa/vtsiw=; b=VsgtskOdsIAfnE3u3T5fGo8AEMAxzkDsbrtFIx4m+RBd13w35eUfqppbZDUJ9XEREQ UOV8lhezz68okZUl9Zi75PgRFWT+BHjEMkGVd/2d9wEpBDDL9E+gOsDeW41KCQfBgRTp eAt0a7UYgrq+oYhJu3NwpjI19PTtGp2cWMVY7IAOBuPbfuJnR2HozhEkUHAAO9LjlJPm 83hz6zjumDMesbfl+p2UaDtUYT22C/HV7eJgJ8ttgq5UcvWUqdBtPklbSpgvn63Bfimn M4gY7AODjpkcBl+MoQmWEiW2Q79r3jbbFlA94QEoOVpK8mG+K1Rp9xienXGMFtLdPkrs i52w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=SnTQ1ly+; 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 p14si944543ilq.108.2021.08.25.15.26.17; Wed, 25 Aug 2021 15:26:28 -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=SnTQ1ly+; 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 S232013AbhHYW0J (ORCPT + 99 others); Wed, 25 Aug 2021 18:26:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232756AbhHYW0F (ORCPT ); Wed, 25 Aug 2021 18:26:05 -0400 Received: from mail-qt1-x84a.google.com (mail-qt1-x84a.google.com [IPv6:2607:f8b0:4864:20::84a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36585C0613D9 for ; Wed, 25 Aug 2021 15:25:19 -0700 (PDT) Received: by mail-qt1-x84a.google.com with SMTP id f34-20020a05622a1a2200b0029c338949c1so615559qtb.8 for ; Wed, 25 Aug 2021 15:25:19 -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=fT/uiX9DJiKWLSrGSaUNQbEmdVHwY+0Iq88fa/vtsiw=; b=SnTQ1ly+r0hm+ryHx+ivlRgBcYtv2HN0O/wMKbA6Plz8rGu8wDd/AWD4Z0QgcIl/ME 0BrG5+grIN4eYXURMHvCWiHQdIPFwamLf6FSFlN8N4JqIbTJ2npI1ikFCOzTWeF76pon 062ZuXCHX6/0CBPUVlllMqqHi0LRdV+iROcoXZ4snvAB4SQqKQziDOX+mEqY6JZ0aHAS pGsN9drTuW3pMIRpXsKyfWYrwrX7Zt4c7/ifMEolUUaLU7ISGI5FkJFlqg7rMzY4tyjU GbUpwsoKimW8t51tIV4zbZpmpmxEjVlPyFc5Zzqt3kd1DdCdOuoj79nDmpnosUJ5FD6P T3rQ== 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=fT/uiX9DJiKWLSrGSaUNQbEmdVHwY+0Iq88fa/vtsiw=; b=rS/lU/YMxUMU7i3kx2/nBvOHztrlqFNjXOhv2+8qQKwmMtQJBRi5lOUAQjxkPURZyV lJHO16975Jxf9457PDgI2lg3vXZIo7udqh6iPPBUvoWGmvm2s4dtcfLWqOh/mH7Ilnjz qa1Chmj7jxi5N9AIvx45ax7jxJ6GOEf1JlEgH2mbPJDKHejWUMHYaRvYzx0V0B89D0qF eWXf0J8OV8kCy/uEJl9kNv9uqyuL4VZSCyuRMA5wj+422+5Hbfn8HkUdupwrhykpyUsF 7j9CvHm5bqmJwpD4wQcMF1nK4EP1g/ESnIP3oRAwBiZvtmPgcVRL4iX1DfnS6WB3GfMa OMEA== X-Gm-Message-State: AOAM533IJapS6wtWkul0zJ9wc7CdShmtdnP18yFNB5SYiOVIJJSkwEUx a+yioMuovzmvWIUzk3mRKs+jpxyTiJk+ X-Received: from jiancai.svl.corp.google.com ([2620:15c:2ce:200:3664:f78f:3b89:adc6]) (user=jiancai job=sendgmr) by 2002:a0c:f351:: with SMTP id e17mr605774qvm.21.1629930318275; Wed, 25 Aug 2021 15:25:18 -0700 (PDT) Date: Wed, 25 Aug 2021 15:25:14 -0700 Message-Id: <20210825222514.2107728-1-jiancai@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.259.gc128427fd7-goog Subject: [PATCH] coresight: syscfg: fix compiler warnings From: Jian Cai Cc: mike.leach@linaro.org, dianders@chromium.org, mka@chromium.org, linux@roeck-us.net, 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 , 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. ^[[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