Linux kernel -stable discussions
 help / color / mirror / Atom feed
* coresight-tmc-etf.c:477:33: error: 'CORESIGHT_BARRIER_PKT_SIZE' undeclared (first use in this function)
@ 2021-07-15 17:52 Naresh Kamboju
  2021-07-15 17:57 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Naresh Kamboju @ 2021-07-15 17:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin; +Cc: linux-stable, lkft-triage

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 <lkft@linaro.org>

ref:
https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1427834041#L384
https://builds.tuxbuild.com/1vMA3olyV9E6Yr1Ix0LWLlXinkv/

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-15 19:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-15 17:52 coresight-tmc-etf.c:477:33: error: 'CORESIGHT_BARRIER_PKT_SIZE' undeclared (first use in this function) Naresh Kamboju
2021-07-15 17:57 ` Greg Kroah-Hartman
2021-07-15 18:29   ` Naresh Kamboju
2021-07-15 18:55     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox