Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3984920pxb; Tue, 7 Sep 2021 11:54:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1fIrUIEveM+Evm7vNN1b7DXOf1qf4CFSZeY7JAYpciVhJrVvxLctVDK/3OogHHF8q1eK4 X-Received: by 2002:a05:6402:1d28:: with SMTP id dh8mr1048515edb.4.1631040852664; Tue, 07 Sep 2021 11:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631040852; cv=none; d=google.com; s=arc-20160816; b=xw0D7NR+Kllq9wx+pg7Ggj6jdiEdZYMWokDg0YQW9n0k9jMxoxK8eDiF4+k/2yZs/k VS9lGgxctt1iRtItAQPmtTXqglrpgWN8bdrnvUIZPNUif10KYz54WpEoPfo78YWNUYlM fKQukejFqusM10dL/YncZinj8aDXc3JQdoXpbzHA0TVd921c0FkIkx/oIRV9OwgWxalv 5osIs8GS+4/xlHq1I6Ba9MP55LCc6vhN48DrctebUCmZkX/xjLqiYh8/l9lQI4l5hzQX a8pHFT/dyOWFQlEzJi4Vz+uWa4ajCUW/k9VS81VHN1APLqSk33bbop2t4gGU/NNiUxVp uixA== 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=Z8pLJ1FpaVzh5FC1pX+Q5BEfmgO/vOO3RyE4cZ7z6Q8=; b=sFlu8PI+LrSdvMoVPWeF8nC93IO7lCgsmEj246VfqxeyxBDWr6xUjlqpJKgyKzYlkg qYjWROhE+v6iloNfhJhvrdSSp0XlhIF2JRSAVAn5sz9BYgC90d+vYkvPTN++1xpxycQz 5LwkRIdj0OkXqzW0MVVALdSl0y838cQbv6HrCBR5RN/SxzyaMczmGpZqEOLdRMPqZ9q+ EmuWOuwZDe/gJ9dv7XIezu4MFxvsdBOQe9xmOSoj2xO5USaDohK35E1H4eAAUx/mjLme E3U0Etm8IScJUjUfeFRwRELhEVok4Fcr+4K0z0yZgPCPbFpPpRCbhkHoGL8fyy2OhLep xW1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VPu7rS4Y; 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 e4si11670418ejk.72.2021.09.07.11.53.49; Tue, 07 Sep 2021 11:54:12 -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=VPu7rS4Y; 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 S1345332AbhIGR7l (ORCPT + 99 others); Tue, 7 Sep 2021 13:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345260AbhIGR7d (ORCPT ); Tue, 7 Sep 2021 13:59:33 -0400 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFD26C0613CF for ; Tue, 7 Sep 2021 10:58:26 -0700 (PDT) Received: by mail-il1-x12f.google.com with SMTP id l10so10959504ilh.8 for ; Tue, 07 Sep 2021 10:58:26 -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=Z8pLJ1FpaVzh5FC1pX+Q5BEfmgO/vOO3RyE4cZ7z6Q8=; b=VPu7rS4YBeF7IlroZ7du8K/p1skwdho8pDjKL0Td2afcUesHnTuOM4LNVGIgGDOzwv RF9MnzKjq1wxndB6t0dvlo3/GLpNAbGq6B8gEKIuiFR8+yqReSl0H1w9Dzq1gsGsT3RB 7NizSSM77IuqImGQvtk6zuvfv497MYy3UfgMA= 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=Z8pLJ1FpaVzh5FC1pX+Q5BEfmgO/vOO3RyE4cZ7z6Q8=; b=FLIftt1x1BnaknWp7QoNPx3PK8FE7J6GDIR89Q1R89Y+9RXg67/ujOcPz1AwAq+kY0 OaxAigxTU7ysD8qnv1OxfG35UuEdPPUXZvH/QQ1rh8w6HMRcHc019V9K0cWkDOlUWuL7 luxdCZZ3YsMglBCedYSxC6WvrpmPEfe34oWxsQqrqzYsefAgZpGLQrxBcPt84a9ok6Yq k4NAjKQIpTL9m0DTMlm11azJ62QgFdA96x2YC+Eve4Q0vryuRuqSS1fgwEjbUECaxHKz BBmgZ8qxCAdkg+dDzP1RyxV7OA/0mvhCAXJ9BG2rNhTIhZYfEzJoDE+aQNDWc0D5Qp5f WCqg== X-Gm-Message-State: AOAM531IR3nUh+PGiySJkadFXxJZ/vs+QdtApMtwEhGiJOeZDgmw+Cvq HpXT5Ekqp7cVjRLWaLx1bAmveewFHpHdLw== X-Received: by 2002:a05:6e02:1a0a:: with SMTP id s10mr12350488ild.46.1631037506296; Tue, 07 Sep 2021 10:58:26 -0700 (PDT) Received: from mail-il1-f169.google.com (mail-il1-f169.google.com. [209.85.166.169]) by smtp.gmail.com with ESMTPSA id m13sm6300371ilh.43.2021.09.07.10.58.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Sep 2021 10:58:26 -0700 (PDT) Received: by mail-il1-f169.google.com with SMTP id u7so10999713ilk.7 for ; Tue, 07 Sep 2021 10:58:26 -0700 (PDT) X-Received: by 2002:a92:cb52:: with SMTP id f18mr12692305ilq.120.1631037124093; Tue, 07 Sep 2021 10:52:04 -0700 (PDT) MIME-Version: 1.0 References: <20210830172820.2840433-1-jiancai@google.com> <20210906150625.GA1228692@p14s> In-Reply-To: <20210906150625.GA1228692@p14s> From: Doug Anderson Date: Tue, 7 Sep 2021 10:51:53 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] coresight: syscfg: fix compiler warnings To: Mathieu Poirier Cc: Jian Cai , Mike Leach , Guenter Roeck , Matthias Kaehlcke , Manoj Gupta , Luis Lozano , coresight@lists.linaro.org, Linux ARM , clang-built-linux , Suzuki K Poulose , Leo Yan , Alexander Shishkin , Greg Kroah-Hartman , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Sep 6, 2021 at 8:06 AM Mathieu Poirier wrote: > > 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. Out of curiosity, does the fact that it'll be in coresight-next mean that this will target v5.15 or v5.16? I usually think of "-next" branches as targeting one major version later, so I'd assume v5.16? ...but it would be nice if this warning could get fixed somewhere in v5.15. Thanks and sorry if this was obvious and I just didn't know. -Doug