Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp571714pxb; Thu, 26 Aug 2021 09:21:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcXz3zRe90gfhROxJ1CbBtWy+hFKn/AKvQ+u+Ic0jsPdBvunIfYjSbK34CFLWobXAmgoJ9 X-Received: by 2002:a05:6638:3b0:: with SMTP id z16mr4062796jap.139.1629994900660; Thu, 26 Aug 2021 09:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629994900; cv=none; d=google.com; s=arc-20160816; b=aZaOQ2twn6Bxcek8XOpV/suYGhX4ph3i+fBdi0kjq7XQvCHQfKSDJj/7XL+ICwlSty DoQMPOyFYQGebm2D5ucH0ZvF8LrJgBKZDaMnpu76dRIRwyKYhQxr0ZvTOR0WPT0JHpcI G7hJy6V0BiccGIYv8U/DB0w1XLbGxsbRrJAOUKFD9ZKd417fLiWLVL9bEWLGUsN2cHUa LVtyeBqGlAsWK58EaNWqIlkEcvHMRAAzqFNguDcF3D2IN3lty4SDlKk6Oq5AW6L2O90o dTXSQLTGg6OTr8Tu1zig1Y2FEE5ge/m1BFHOVkFtiI5G54/N/qQGRlcvfCiugejAw90C l50A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EUk9NbaQrBGgCHXxaScTJSpGIkLEuFKO3aGI4etH/+I=; b=mH7Nu75D8V/besv8vjPhwF6/Jtsp8oU98ol4nfprIOPVanyw3WD6vO1Jd5PQnGkJ+X iH3P+/EUjygT0SD3DBs29FUFbt63+BQ7UUkVJpk1Ejc6POCkUNRPCmYbvbNFMqcx0VXs TJXElMsFwoThhggp1iNufARW2WQu/iQKhe8PlFp7cWH20+P9b9ApzoKe0I0YK8uWffDj OVarsODE4UlXWXnKyyW7pDRvG+IcZ1cWT7z2w4gHAboR32zgdxvy0sc0EQMLra6GFd4R k9oVvDn1vAA89lH4NV2yb6so9DfuQrfwlc4aBr2BXj/sSLh48P+QDBmw9XYMgZPIzUPT mOPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=REpM3LMb; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si2987489jal.120.2021.08.26.09.21.09; Thu, 26 Aug 2021 09:21:40 -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=@chromium.org header.s=google header.b=REpM3LMb; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243073AbhHZQUq (ORCPT + 99 others); Thu, 26 Aug 2021 12:20:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243015AbhHZQUq (ORCPT ); Thu, 26 Aug 2021 12:20:46 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE349C061757 for ; Thu, 26 Aug 2021 09:19:58 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id a21so4489691ioq.6 for ; Thu, 26 Aug 2021 09:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EUk9NbaQrBGgCHXxaScTJSpGIkLEuFKO3aGI4etH/+I=; b=REpM3LMb/FDeoEXU8v6kQhgxjh5NgDt67VvzYQGmLNcmDjH3C4lB0BwCUcuQRLeP0Z rGgGpq8wh2EmjRmqvFVPR24QGsJ+3wS+dO7uvLeIFIORrLsbwHkelsdky+cRRx8i3hub 3ih1O4z+gqjz43rs/I17tHmjcOrwFP2MtLyz4= 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:to:cc; bh=EUk9NbaQrBGgCHXxaScTJSpGIkLEuFKO3aGI4etH/+I=; b=TMew1rKhb03xkGhFDuUl4FPZCguAv2V84pkOTsJ8VFa3wiFOwadgH8oQ8A8yQLvrUl qqxT7RqIW4F2h2TKnO8KQiSNOFCo9rFmIuOO0L1Hp40+k78uW9IdfIarWbP4Mv/xyZZP 8iBiT0aZm8/StgdKhmpPfFomxPokCQsRacXIxq59WKj0iQ/tbb68ouhGayISLEiOlt0/ 0XtzvNRWIUAOzJLpS6gD05ouuUvFdweNDWJ1w1Qb63MEhsGYuHBSFUWbp0jSFwbGFvc2 b9espiXfU4ABR7sBa6VKgVgC0kacRuI3tNBO2BYv90BB8hpkdc2yDzT/Awj6NyidhLSF 9NOg== X-Gm-Message-State: AOAM533IkL6oACizTFw3+Tbwy9QXxiCUHSQtqdAkVwR2ZIo/Pp3PqyGi 8CBwzwTwHZIq+nOcSlltuuUKm6pvKKRbSQ== X-Received: by 2002:a5d:9ad0:: with SMTP id x16mr3780148ion.182.1629994798275; Thu, 26 Aug 2021 09:19:58 -0700 (PDT) Received: from mail-io1-f43.google.com (mail-io1-f43.google.com. [209.85.166.43]) by smtp.gmail.com with ESMTPSA id j13sm1935943ile.85.2021.08.26.09.19.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Aug 2021 09:19:57 -0700 (PDT) Received: by mail-io1-f43.google.com with SMTP id b10so4454387ioq.9 for ; Thu, 26 Aug 2021 09:19:56 -0700 (PDT) X-Received: by 2002:a02:644:: with SMTP id 65mr4176713jav.84.1629994796361; Thu, 26 Aug 2021 09:19:56 -0700 (PDT) MIME-Version: 1.0 References: <20210825222514.2107728-1-jiancai@google.com> In-Reply-To: <20210825222514.2107728-1-jiancai@google.com> From: Doug Anderson Date: Thu, 26 Aug 2021 09:19:44 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] coresight: syscfg: fix compiler warnings To: Jian Cai Cc: Mike Leach , Matthias Kaehlcke , Guenter Roeck , Manoj Gupta , Luis Lozano , coresight@lists.linaro.org, Linux ARM , clang-built-linux , Mathieu Poirier , Suzuki K Poulose , Leo Yan , Alexander Shishkin , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, 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(+) Can you figure out which patch introduced these warnings and add a "Fixes" tag? -Doug