Re: [PATCH] staging: axis-fifo: initialize timeouts in probe only
From: Alison Schofield
Date: Wed Mar 15 2023 - 12:12:25 EST
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'.
>
> Should I start with the steps to reproduce? :'(
Khadija,
I've applied your patch and it fails to compile with the warnings
that LKP reports.
If you are doing: $ make drivers/staging/axis-fifo/
and it is saying 'nothing to be done...'
You either have not changed anything since the last compile, or you
do not have the module configured.
I suspect it has never compiled for you and you need to look at
the direction in the tutorial for 'Recompiling the driver' section
and learn how to use make menuconfig.
This driver has a couple of dependencies described in the Kconfig
file. You will not even see the 'XIL_AXIS_FIFO' option until you
turn on 'OF' and HAS_'IOMEM'.
See the drivers/staging/axis-fifo/Kconfig
Please confirm that you have compiled the driver before chasing
after the build env that lkp reports.
Thanks,
Alison
>
> Thank you!
>
> Regards,
> Khadija
>
>
> >
> >
> >