[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <279821116.9N5E1g01tA@suse>
Date: Wed, 15 Mar 2023 17:24:23 +0100
From: "Fabio M. De Francesco" <fmdefrancesco@...il.com>
To: Khadija Kamran <kamrankhadijadj@...il.com>,
Nathan Chancellor <nathan@...nel.org>
Cc: Alison Schofield <alison.schofield@...el.com>,
outreachy@...ts.linux.dev,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: axis-fifo: initialize timeouts in probe only
On mercoledì 15 marzo 2023 16:06:56 CET Nathan Chancellor wrote:
> Hi Khadija,
>
> On Wed, Mar 15, 2023 at 07:22:39PM +0500, Khadija Kamran wrote:
> > On Wed, Mar 15, 2023 at 02:34:31PM +0100, Fabio M. De Francesco wrote:
> > > Aside from what I said and asked for with the other message of this same
> > > thread, please take note that you can build a specific module if you
> > > prefer
> > > not to re-build the whole kernel and other modules at the same time.
> > >
> > > I'm pretty sure that the instructions to do so are in the
> > > OutreachyFirstPatch
> > > tutorial.
> > >
> > > If they are not there, please let us know.
> > >
> > > Fabio
> >
> > Hey Fabio!
> >
> > In the Outreachy FirstPatchTutorial under the 'Compiling only part of
> > the kernel' section there are ways to compile only some part of the
> > kernel.
> >
> > I have tried using "make W=1 drivers/staging/axis-fifo/" and it says
> > 'nothing to be done for'.
>
> Is CONFIG_XIL_AXIS_FIFO enabled in your configuration?
@Khadija:
Maybe that you won't find CONFIG_XIL_AXIS_FIFO among the staging drivers
entries while using "make menuconfig" (or the other similar commands for
working with the configuration).
In that case, first enable the CONFIG_OF option if disabled.
CONFIG_XIL_AXIS_FIFO depends on the former.
For "CONFIG_XIL_AXIS_FIFO depends on CONFIG_OF" we mean that you can the
former if and only if the latter is already enabled.
Actually, CONFIG_XIL_AXIS_FIFO depends also on two other options. However you
shouldn't worry about those others because they are commonly enabled in more
than 99% of PC distributions.
> > Should I start with the steps to reproduce? :'(
>
> I did see a report of this same warning occurring with GCC but the
> report I commented on cane from clang/LLVM; using that toolchain may
> make it easier for you to reproduce this issue. The robot's reproduction
> instructions are fine but I think doing it manually is actually simpler.
>
> Ubuntu 22.04 should have a pretty modern version of clang/LLVM, which
> you can install via 'sudo apt install clang lld llvm'.
> https://apt.llvm.org is another resource.
@Nathan: Congratulations, you now have another clang/LLVM adept!
(Obviously, I'm just kidding :-))
Fabio
Powered by blists - more mailing lists