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=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS 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 3A653C636C8 for ; Thu, 15 Jul 2021 17:57:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1B16F611F1 for ; Thu, 15 Jul 2021 17:57:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236646AbhGOSA0 (ORCPT ); Thu, 15 Jul 2021 14:00:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:34068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236602AbhGOSA0 (ORCPT ); Thu, 15 Jul 2021 14:00:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A56F161360; Thu, 15 Jul 2021 17:57:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626371853; bh=VnSwPuo5dgT6nc0RNSvrNiBIb1oJZim1vfnS9nW+4xg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rqm0D4d00iNMFVAvf+jjUqkH7d/9nWzJ4k9fh9DbGU6dy1Wb+MA0GHztIoZp6Vw+k EuMEFxOvsUvFN2S2LGv2Y2zXX8RR0shljO/Es+NKta4AVzRKfo2rLBKgFGa0UM6Dti K9jS+0qnAhGStlC37IrZqvrGnkiXaIoJ2tzo4dno= Date: Thu, 15 Jul 2021 19:57:30 +0200 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: Sasha Levin , linux-stable , lkft-triage@lists.linaro.org Subject: Re: coresight-tmc-etf.c:477:33: error: 'CORESIGHT_BARRIER_PKT_SIZE' undeclared (first use in this function) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, Jul 15, 2021 at 11:22:52PM +0530, Naresh Kamboju wrote: > Results from Linaro’s test farm. > Regression detected on arm and arm64 due to the following patch > with CONFIG_CORESIGHT=y enabled, > > coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer() > commit 5fae8a946ac2df879caf3f79a193d4766d00239b upstream. > > Build error: > ------------ > drivers/hwtracing/coresight/coresight-tmc-etf.c: In function > 'tmc_update_etf_buffer': > drivers/hwtracing/coresight/coresight-tmc-etf.c:477:33: error: > 'CORESIGHT_BARRIER_PKT_SIZE' undeclared (first use in this function) > 477 | if (lost && i < CORESIGHT_BARRIER_PKT_SIZE) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > > Reported-by: Linux Kernel Functional Testing > > ref: > https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1427834041#L384 > https://builds.tuxbuild.com/1vMA3olyV9E6Yr1Ix0LWLlXinkv/ I have no idea what tree/branch/queue this report is from :(