Re: coresight-tmc-etf.c:477:33: error: 'CORESIGHT_BARRIER_PKT_SIZE' undeclared (first use in this function)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 15, 2021 at 11:59:58PM +0530, Naresh Kamboju wrote:
> On Thu, 15 Jul 2021 at 23:27, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > 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 <lkft@xxxxxxxxxx>
> > >
> > > 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 :(
> 
> Sorry,
> stable-rc 4.14.240-rc1.

Thanks, now fixed by dropping the offending patch.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux