On Wed, Mar 15, 2023 at 09:09:16AM -0700, Alison Schofield wrote: > 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. > Hey Alison! I might've written the statement wrong. Actually, here is the output of make drivers/staging/axis-fifo YACC scripts/genksyms/parse.tab.[ch] HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o CC scripts/mod/devicetable-offsets.s HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost CC kernel/bounds.s CC arch/x86/kernel/asm-offsets.s CALL scripts/checksyscalls.sh DESCEND objtool INSTALL libsubcmd_headers DESCEND bpf/resolve_btfids INSTALL libsubcmd_headers make[3]: Nothing to be done for 'drivers/staging/axis-fifo/'. > 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 Sorry, I made a mistake here. I did not change the driver 'Xilinx AXI-Stream FIFO IP core driver' to being compiled as a module by typing 'm'. Is that the problem here? Also, now when I try to change it by pressing 'm', it is not working. And I have tried many times but I cannot change the driver from '*' to 'm'. Kindly help me with this. Regards, Khadija