linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: nsdeps not working on modules in 5.4-rc1
       [not found] <CAH2r5mv49T9gwwoJxKJfkgdi6xbf+hDALUiAJHghGikgUNParw@mail.gmail.com>
@ 2019-10-02 23:54 ` Steve French
  2019-10-03 10:43   ` Matthias Maennich
  0 siblings, 1 reply; 10+ messages in thread
From: Steve French @ 2019-10-02 23:54 UTC (permalink / raw)
  To: LKML, Matthias Maennich; +Cc: CIFS

And running the build differently, from the root of the git tree
(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails

e.g. "make  M=fs/cifs modules nsdeps"

...
  LD [M]  fs/cifs/cifs.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: module cifs uses symbol sigprocmask from namespace
_fs/cifs/cache.o), but does not import it.
...
WARNING: module cifs uses symbol posix_test_lock from namespace
cifs/cache.o), but does not import it.
  CC [M]  fs/cifs/cifs.mod.o
  LD [M]  fs/cifs/cifs.ko
  Building modules, stage 2.
  MODPOST 1 modules
./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
make: *** [Makefile:1710: nsdeps] Error 2

On Wed, Oct 2, 2019 at 6:45 PM Steve French <smfrench@gmail.com> wrote:
>
> Following the instructions in Documentation/namespaces to autogenerate
> the namespace changes to avoid the multiple build warnings in 5.4-rc1
> for my module ... I am not able to get nsdeps to work.   For example
> in my module directory (fs/cifs) trying to build with nsdeps:
>
>       make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules nsdeps
>
> gets the error "cat: ./modules.order: No such file or directory"
>
> This is on Ubuntu 18, running current 5.4-rc1 kernel.  It looks like
> it is looking for modules.order in the wrong directory (it is present
> in fs/cifs - but it looks like it is looking for it in /usr/src where
> of course it won't be found)
>
> I am trying to remove the hundreds of new warnings introduced by
> namespaces in 5.4-rc1 when building my module e.g.
>
> WARNING: module cifs uses symbol __fscache_acquire_cookie from
> namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does
> not import it.
> --
> Thanks,
>
> Steve



-- 
Thanks,

Steve

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-02 23:54 ` nsdeps not working on modules in 5.4-rc1 Steve French
@ 2019-10-03 10:43   ` Matthias Maennich
  2019-10-03 15:14     ` Steve French
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Maennich @ 2019-10-03 10:43 UTC (permalink / raw)
  To: Steve French; +Cc: LKML, CIFS, Masahiro Yamada, Jessica Yu

Hi Steve!

On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
>And running the build differently, from the root of the git tree
>(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
>
>e.g. "make  M=fs/cifs modules nsdeps"
>
>...
>  LD [M]  fs/cifs/cifs.o
>  Building modules, stage 2.
>  MODPOST 1 modules
>WARNING: module cifs uses symbol sigprocmask from namespace
>_fs/cifs/cache.o), but does not import it.
>...
>WARNING: module cifs uses symbol posix_test_lock from namespace
>cifs/cache.o), but does not import it.
>  CC [M]  fs/cifs/cifs.mod.o
>  LD [M]  fs/cifs/cifs.ko
>  Building modules, stage 2.
>  MODPOST 1 modules
>./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
>make: *** [Makefile:1710: nsdeps] Error 2

Thanks for reporting this. It appears to me you hit a bug that was
recently discovered: when building with `make M=some/subdirectory`,
modpost is misbehaving. Can you try whether this patch series solves
your problems:
https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
In particular patch 2/6 out of the series.

Cheers,
Matthias

>On Wed, Oct 2, 2019 at 6:45 PM Steve French <smfrench@gmail.com> wrote:
>>
>> Following the instructions in Documentation/namespaces to autogenerate
>> the namespace changes to avoid the multiple build warnings in 5.4-rc1
>> for my module ... I am not able to get nsdeps to work.   For example
>> in my module directory (fs/cifs) trying to build with nsdeps:
>>
>>       make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules nsdeps
>>
>> gets the error "cat: ./modules.order: No such file or directory"
>>
>> This is on Ubuntu 18, running current 5.4-rc1 kernel.  It looks like
>> it is looking for modules.order in the wrong directory (it is present
>> in fs/cifs - but it looks like it is looking for it in /usr/src where
>> of course it won't be found)
>>
>> I am trying to remove the hundreds of new warnings introduced by
>> namespaces in 5.4-rc1 when building my module e.g.
>>
>> WARNING: module cifs uses symbol __fscache_acquire_cookie from
>> namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does
>> not import it.
>> --
>> Thanks,
>>
>> Steve
>
>
>
>-- 
>Thanks,
>
>Steve

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-03 10:43   ` Matthias Maennich
@ 2019-10-03 15:14     ` Steve French
  2019-10-03 15:23       ` Masahiro Yamada
  0 siblings, 1 reply; 10+ messages in thread
From: Steve French @ 2019-10-03 15:14 UTC (permalink / raw)
  To: Matthias Maennich; +Cc: LKML, CIFS, Masahiro Yamada, Jessica Yu

On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
>
> Hi Steve!
>
> On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
> >And running the build differently, from the root of the git tree
> >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
> >
> >e.g. "make  M=fs/cifs modules nsdeps"
> >
> >...
> >  LD [M]  fs/cifs/cifs.o
> >  Building modules, stage 2.
> >  MODPOST 1 modules
> >WARNING: module cifs uses symbol sigprocmask from namespace
> >_fs/cifs/cache.o), but does not import it.
> >...
> >WARNING: module cifs uses symbol posix_test_lock from namespace
> >cifs/cache.o), but does not import it.
> >  CC [M]  fs/cifs/cifs.mod.o
> >  LD [M]  fs/cifs/cifs.ko
> >  Building modules, stage 2.
> >  MODPOST 1 modules
> >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> >make: *** [Makefile:1710: nsdeps] Error 2
>
> Thanks for reporting this. It appears to me you hit a bug that was
> recently discovered: when building with `make M=some/subdirectory`,
> modpost is misbehaving. Can you try whether this patch series solves
> your problems:
> https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
> In particular patch 2/6 out of the series.
>
> Cheers,
> Matthias


Applying just patch 2 and doing "make" from the root of the git tree
(5.4-rc1), at the tail end of the build I got

...
Kernel: arch/x86/boot/bzImage is ready  (#87)
  Building modules, stage 2.
  MODPOST 5340 modules
free(): invalid pointer
Aborted (core dumped)
make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 134
make: *** [Makefile:1303: modules] Error 2

With patch 2 and doing make M=fs/cifs nsdeps from the root of the git tree I get

$ make M=fs/cifs nsdeps
  Building modules, stage 2.
  MODPOST 1 modules
  Building modules, stage 2.
  MODPOST 1 modules
./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
make: *** [Makefile:1710: nsdeps] Error 2


-- 
Thanks,

Steve

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-03 15:14     ` Steve French
@ 2019-10-03 15:23       ` Masahiro Yamada
  2019-10-03 16:06         ` Steve French
  0 siblings, 1 reply; 10+ messages in thread
From: Masahiro Yamada @ 2019-10-03 15:23 UTC (permalink / raw)
  To: Steve French; +Cc: Matthias Maennich, LKML, CIFS, Jessica Yu

Hi Steve,

On Fri, Oct 4, 2019 at 12:15 AM Steve French <smfrench@gmail.com> wrote:
>
> On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
> >
> > Hi Steve!
> >
> > On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
> > >And running the build differently, from the root of the git tree
> > >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
> > >
> > >e.g. "make  M=fs/cifs modules nsdeps"
> > >
> > >...
> > >  LD [M]  fs/cifs/cifs.o
> > >  Building modules, stage 2.
> > >  MODPOST 1 modules
> > >WARNING: module cifs uses symbol sigprocmask from namespace
> > >_fs/cifs/cache.o), but does not import it.
> > >...
> > >WARNING: module cifs uses symbol posix_test_lock from namespace
> > >cifs/cache.o), but does not import it.
> > >  CC [M]  fs/cifs/cifs.mod.o
> > >  LD [M]  fs/cifs/cifs.ko
> > >  Building modules, stage 2.
> > >  MODPOST 1 modules
> > >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> > >make: *** [Makefile:1710: nsdeps] Error 2
> >
> > Thanks for reporting this. It appears to me you hit a bug that was
> > recently discovered: when building with `make M=some/subdirectory`,
> > modpost is misbehaving. Can you try whether this patch series solves
> > your problems:
> > https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
> > In particular patch 2/6 out of the series.
> >
> > Cheers,
> > Matthias
>
>
> Applying just patch 2 and doing "make" from the root of the git tree
> (5.4-rc1), at the tail end of the build I got
>
> ...
> Kernel: arch/x86/boot/bzImage is ready  (#87)
>   Building modules, stage 2.
>   MODPOST 5340 modules
> free(): invalid pointer
> Aborted (core dumped)


Right.

Since 2/6 depends on 1/6,
applying only the second one does not work.




> make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 134
> make: *** [Makefile:1303: modules] Error 2
>
> With patch 2 and doing make M=fs/cifs nsdeps from the root of the git tree I get
>
> $ make M=fs/cifs nsdeps
>   Building modules, stage 2.
>   MODPOST 1 modules
>   Building modules, stage 2.
>   MODPOST 1 modules
> ./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> make: *** [Makefile:1710: nsdeps] Error 2
>
>
> --
> Thanks,
>
> Steve



-- 
Best Regards
Masahiro Yamada

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-03 15:23       ` Masahiro Yamada
@ 2019-10-03 16:06         ` Steve French
  2019-10-04  3:40           ` Masahiro Yamada
  0 siblings, 1 reply; 10+ messages in thread
From: Steve French @ 2019-10-03 16:06 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Matthias Maennich, LKML, CIFS, Jessica Yu

On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Hi Steve,
>
> On Fri, Oct 4, 2019 at 12:15 AM Steve French <smfrench@gmail.com> wrote:
> >
> > On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
> > >
> > > Hi Steve!
> > >
> > > On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
> > > >And running the build differently, from the root of the git tree
> > > >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
> > > >
> > > >e.g. "make  M=fs/cifs modules nsdeps"
> > > >
> > > >...
> > > >  LD [M]  fs/cifs/cifs.o
> > > >  Building modules, stage 2.
> > > >  MODPOST 1 modules
> > > >WARNING: module cifs uses symbol sigprocmask from namespace
> > > >_fs/cifs/cache.o), but does not import it.
> > > >...
> > > >WARNING: module cifs uses symbol posix_test_lock from namespace
> > > >cifs/cache.o), but does not import it.
> > > >  CC [M]  fs/cifs/cifs.mod.o
> > > >  LD [M]  fs/cifs/cifs.ko
> > > >  Building modules, stage 2.
> > > >  MODPOST 1 modules
> > > >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> > > >make: *** [Makefile:1710: nsdeps] Error 2
> > >
> > > Thanks for reporting this. It appears to me you hit a bug that was
> > > recently discovered: when building with `make M=some/subdirectory`,
> > > modpost is misbehaving. Can you try whether this patch series solves
> > > your problems:
> > > https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
> > > In particular patch 2/6 out of the series.
> > >
> > > Cheers,
> > > Matthias
> >
> >
> > Applying just patch 2 and doing "make" from the root of the git tree
> > (5.4-rc1), at the tail end of the build I got
> >
> > ...
> > Kernel: arch/x86/boot/bzImage is ready  (#87)
> >   Building modules, stage 2.
> >   MODPOST 5340 modules
> > free(): invalid pointer
> > Aborted (core dumped)
>
>
> Right.
>
> Since 2/6 depends on 1/6,
> applying only the second one does not work.

Applying both 1 and 2 I get the following error doing make (although
it makes it a long way into the build)

<snip>
WARNING: drivers/usb/storage/usb-storage: 'USB_STORAGE' exported
twice. Previous export was in drivers/usb/storage/usb-storage.ko
ERROR: "usb_stor_set_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
ERROR: "usb_stor_access_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
ERROR: "usb_stor_post_reset" [drivers/usb/storage/ums-usbat.ko] undefined!
ERROR: "usb_stor_disconnect" [drivers/usb/storage/ums-usbat.ko] undefined!
<snip>
ERROR: "usb_stor_adjust_quirks" [drivers/usb/storage/uas.ko] undefined!
ERROR: "usb_stor_sense_invalidCDB" [drivers/usb/storage/uas.ko] undefined!
WARNING: "USB_STORAGE" [drivers/usb/storage/usb-storage] is a static
EXPORT_SYMBOL_GPL
make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make: *** [Makefile:1303: modules] Error 2

Running "make M=fs/cifs nsdeps" I still get the error

  Building modules, stage 2.
  MODPOST 1 modules
./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
make: *** [Makefile:1710: nsdeps] Error 2



-- 
Thanks,

Steve

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-03 16:06         ` Steve French
@ 2019-10-04  3:40           ` Masahiro Yamada
  2019-10-04  4:27             ` Steve French
  0 siblings, 1 reply; 10+ messages in thread
From: Masahiro Yamada @ 2019-10-04  3:40 UTC (permalink / raw)
  To: Steve French; +Cc: Matthias Maennich, LKML, CIFS, Jessica Yu

Hi Steve,

On Fri, Oct 4, 2019 at 1:07 AM Steve French <smfrench@gmail.com> wrote:
>
> On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
> >
> > Hi Steve,
> >
> > On Fri, Oct 4, 2019 at 12:15 AM Steve French <smfrench@gmail.com> wrote:
> > >
> > > On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
> > > >
> > > > Hi Steve!
> > > >
> > > > On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
> > > > >And running the build differently, from the root of the git tree
> > > > >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
> > > > >
> > > > >e.g. "make  M=fs/cifs modules nsdeps"
> > > > >
> > > > >...
> > > > >  LD [M]  fs/cifs/cifs.o
> > > > >  Building modules, stage 2.
> > > > >  MODPOST 1 modules
> > > > >WARNING: module cifs uses symbol sigprocmask from namespace
> > > > >_fs/cifs/cache.o), but does not import it.
> > > > >...
> > > > >WARNING: module cifs uses symbol posix_test_lock from namespace
> > > > >cifs/cache.o), but does not import it.
> > > > >  CC [M]  fs/cifs/cifs.mod.o
> > > > >  LD [M]  fs/cifs/cifs.ko
> > > > >  Building modules, stage 2.
> > > > >  MODPOST 1 modules
> > > > >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> > > > >make: *** [Makefile:1710: nsdeps] Error 2
> > > >
> > > > Thanks for reporting this. It appears to me you hit a bug that was
> > > > recently discovered: when building with `make M=some/subdirectory`,
> > > > modpost is misbehaving. Can you try whether this patch series solves
> > > > your problems:
> > > > https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
> > > > In particular patch 2/6 out of the series.
> > > >
> > > > Cheers,
> > > > Matthias
> > >
> > >
> > > Applying just patch 2 and doing "make" from the root of the git tree
> > > (5.4-rc1), at the tail end of the build I got
> > >
> > > ...
> > > Kernel: arch/x86/boot/bzImage is ready  (#87)
> > >   Building modules, stage 2.
> > >   MODPOST 5340 modules
> > > free(): invalid pointer
> > > Aborted (core dumped)
> >
> >
> > Right.
> >
> > Since 2/6 depends on 1/6,
> > applying only the second one does not work.
>
> Applying both 1 and 2 I get the following error doing make (although
> it makes it a long way into the build)
>
> <snip>
> WARNING: drivers/usb/storage/usb-storage: 'USB_STORAGE' exported
> twice. Previous export was in drivers/usb/storage/usb-storage.ko
> ERROR: "usb_stor_set_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> ERROR: "usb_stor_access_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> ERROR: "usb_stor_post_reset" [drivers/usb/storage/ums-usbat.ko] undefined!
> ERROR: "usb_stor_disconnect" [drivers/usb/storage/ums-usbat.ko] undefined!
> <snip>
> ERROR: "usb_stor_adjust_quirks" [drivers/usb/storage/uas.ko] undefined!
> ERROR: "usb_stor_sense_invalidCDB" [drivers/usb/storage/uas.ko] undefined!
> WARNING: "USB_STORAGE" [drivers/usb/storage/usb-storage] is a static
> EXPORT_SYMBOL_GPL
> make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
> make: *** [Makefile:1303: modules] Error 2


Hmm, I do not see those error.
I was able to build the kernel successfully.
(I asked the 0-day bot to test whole of my patch set
in case I am missing something.)


Could you share the steps to reproduce the errors and your .config file?






> Running "make M=fs/cifs nsdeps" I still get the error

Sorry, I do not understand why you are doing this.


>
>   Building modules, stage 2.
>   MODPOST 1 modules
> ./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> make: *** [Makefile:1710: nsdeps] Error 2
>
>
>
> --
> Thanks,
>
> Steve



-- 
Best Regards
Masahiro Yamada

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-04  3:40           ` Masahiro Yamada
@ 2019-10-04  4:27             ` Steve French
  2019-10-04  4:50               ` Masahiro Yamada
  0 siblings, 1 reply; 10+ messages in thread
From: Steve French @ 2019-10-04  4:27 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Matthias Maennich, LKML, CIFS, Jessica Yu

On Thu, Oct 3, 2019 at 10:41 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Hi Steve,
>
> On Fri, Oct 4, 2019 at 1:07 AM Steve French <smfrench@gmail.com> wrote:
> >
> > On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada
> > <yamada.masahiro@socionext.com> wrote:
> > >
> > > Hi Steve,
> > >
> > > On Fri, Oct 4, 2019 at 12:15 AM Steve French <smfrench@gmail.com> wrote:
> > > >
> > > > On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
> > > > >
> > > > > Hi Steve!
> > > > >
> > > > > On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
> > > > > >And running the build differently, from the root of the git tree
> > > > > >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
> > > > > >
> > > > > >e.g. "make  M=fs/cifs modules nsdeps"
> > > > > >
> > > > > >...
> > > > > >  LD [M]  fs/cifs/cifs.o
> > > > > >  Building modules, stage 2.
> > > > > >  MODPOST 1 modules
> > > > > >WARNING: module cifs uses symbol sigprocmask from namespace
> > > > > >_fs/cifs/cache.o), but does not import it.
> > > > > >...
> > > > > >WARNING: module cifs uses symbol posix_test_lock from namespace
> > > > > >cifs/cache.o), but does not import it.
> > > > > >  CC [M]  fs/cifs/cifs.mod.o
> > > > > >  LD [M]  fs/cifs/cifs.ko
> > > > > >  Building modules, stage 2.
> > > > > >  MODPOST 1 modules
> > > > > >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> > > > > >make: *** [Makefile:1710: nsdeps] Error 2
> > > > >
> > > > > Thanks for reporting this. It appears to me you hit a bug that was
> > > > > recently discovered: when building with `make M=some/subdirectory`,
> > > > > modpost is misbehaving. Can you try whether this patch series solves
> > > > > your problems:
> > > > > https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
> > > > > In particular patch 2/6 out of the series.
> > > > >
> > > > > Cheers,
> > > > > Matthias
> > > >
> > > >
> > > > Applying just patch 2 and doing "make" from the root of the git tree
> > > > (5.4-rc1), at the tail end of the build I got
> > > >
> > > > ...
> > > > Kernel: arch/x86/boot/bzImage is ready  (#87)
> > > >   Building modules, stage 2.
> > > >   MODPOST 5340 modules
> > > > free(): invalid pointer
> > > > Aborted (core dumped)
> > >
> > >
> > > Right.
> > >
> > > Since 2/6 depends on 1/6,
> > > applying only the second one does not work.
> >
> > Applying both 1 and 2 I get the following error doing make (although
> > it makes it a long way into the build)
> >
> > <snip>
> > WARNING: drivers/usb/storage/usb-storage: 'USB_STORAGE' exported
> > twice. Previous export was in drivers/usb/storage/usb-storage.ko
> > ERROR: "usb_stor_set_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> > ERROR: "usb_stor_access_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> > ERROR: "usb_stor_post_reset" [drivers/usb/storage/ums-usbat.ko] undefined!
> > ERROR: "usb_stor_disconnect" [drivers/usb/storage/ums-usbat.ko] undefined!
> > <snip>
> > ERROR: "usb_stor_adjust_quirks" [drivers/usb/storage/uas.ko] undefined!
> > ERROR: "usb_stor_sense_invalidCDB" [drivers/usb/storage/uas.ko] undefined!
> > WARNING: "USB_STORAGE" [drivers/usb/storage/usb-storage] is a static
> > EXPORT_SYMBOL_GPL
> > make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
> > make: *** [Makefile:1303: modules] Error 2
>
>
> Hmm, I do not see those error.
> I was able to build the kernel successfully.
> (I asked the 0-day bot to test whole of my patch set
> in case I am missing something.)
>
>
> Could you share the steps to reproduce the errors and your .config file?

From the root of git tree - at exactly 5.4-rc1

~/cifs-2.6$ make nsdeps
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  CHK     include/generated/compile.h
  CHK     kernel/kheaders_data.tar.xz
  Building modules, stage 2.
  MODPOST 5340 modules
  Building modules, stage 2.
  MODPOST 5340 modules
./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
make: *** [Makefile:1710: nsdeps] Error 2

I get the same error doing "rm fs/cifs/*.o" and repeating the "make
nsdeps" command

I will send you the .config

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-04  4:27             ` Steve French
@ 2019-10-04  4:50               ` Masahiro Yamada
  2019-10-04  5:01                 ` Steve French
  0 siblings, 1 reply; 10+ messages in thread
From: Masahiro Yamada @ 2019-10-04  4:50 UTC (permalink / raw)
  To: Steve French; +Cc: Matthias Maennich, LKML, CIFS, Jessica Yu

Hi Steve,

On Fri, Oct 4, 2019 at 1:28 PM Steve French <smfrench@gmail.com> wrote:
>
> On Thu, Oct 3, 2019 at 10:41 PM Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
> >
> > Hi Steve,
> >
> > On Fri, Oct 4, 2019 at 1:07 AM Steve French <smfrench@gmail.com> wrote:
> > >
> > > On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada
> > > <yamada.masahiro@socionext.com> wrote:
> > > >
> > > > Hi Steve,
> > > >
> > > > On Fri, Oct 4, 2019 at 12:15 AM Steve French <smfrench@gmail.com> wrote:
> > > > >
> > > > > On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
> > > > > >
> > > > > > Hi Steve!
> > > > > >
> > > > > > On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
> > > > > > >And running the build differently, from the root of the git tree
> > > > > > >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
> > > > > > >
> > > > > > >e.g. "make  M=fs/cifs modules nsdeps"
> > > > > > >
> > > > > > >...
> > > > > > >  LD [M]  fs/cifs/cifs.o
> > > > > > >  Building modules, stage 2.
> > > > > > >  MODPOST 1 modules
> > > > > > >WARNING: module cifs uses symbol sigprocmask from namespace
> > > > > > >_fs/cifs/cache.o), but does not import it.
> > > > > > >...
> > > > > > >WARNING: module cifs uses symbol posix_test_lock from namespace
> > > > > > >cifs/cache.o), but does not import it.
> > > > > > >  CC [M]  fs/cifs/cifs.mod.o
> > > > > > >  LD [M]  fs/cifs/cifs.ko
> > > > > > >  Building modules, stage 2.
> > > > > > >  MODPOST 1 modules
> > > > > > >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> > > > > > >make: *** [Makefile:1710: nsdeps] Error 2
> > > > > >
> > > > > > Thanks for reporting this. It appears to me you hit a bug that was
> > > > > > recently discovered: when building with `make M=some/subdirectory`,
> > > > > > modpost is misbehaving. Can you try whether this patch series solves
> > > > > > your problems:
> > > > > > https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
> > > > > > In particular patch 2/6 out of the series.
> > > > > >
> > > > > > Cheers,
> > > > > > Matthias
> > > > >
> > > > >
> > > > > Applying just patch 2 and doing "make" from the root of the git tree
> > > > > (5.4-rc1), at the tail end of the build I got
> > > > >
> > > > > ...
> > > > > Kernel: arch/x86/boot/bzImage is ready  (#87)
> > > > >   Building modules, stage 2.
> > > > >   MODPOST 5340 modules
> > > > > free(): invalid pointer
> > > > > Aborted (core dumped)
> > > >
> > > >
> > > > Right.
> > > >
> > > > Since 2/6 depends on 1/6,
> > > > applying only the second one does not work.
> > >
> > > Applying both 1 and 2 I get the following error doing make (although
> > > it makes it a long way into the build)
> > >
> > > <snip>
> > > WARNING: drivers/usb/storage/usb-storage: 'USB_STORAGE' exported
> > > twice. Previous export was in drivers/usb/storage/usb-storage.ko
> > > ERROR: "usb_stor_set_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > ERROR: "usb_stor_access_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > ERROR: "usb_stor_post_reset" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > ERROR: "usb_stor_disconnect" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > <snip>
> > > ERROR: "usb_stor_adjust_quirks" [drivers/usb/storage/uas.ko] undefined!
> > > ERROR: "usb_stor_sense_invalidCDB" [drivers/usb/storage/uas.ko] undefined!
> > > WARNING: "USB_STORAGE" [drivers/usb/storage/usb-storage] is a static
> > > EXPORT_SYMBOL_GPL
> > > make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
> > > make: *** [Makefile:1303: modules] Error 2
> >
> >
> > Hmm, I do not see those error.
> > I was able to build the kernel successfully.
> > (I asked the 0-day bot to test whole of my patch set
> > in case I am missing something.)
> >
> >
> > Could you share the steps to reproduce the errors and your .config file?
>
> From the root of git tree - at exactly 5.4-rc1
>
> ~/cifs-2.6$ make nsdeps
>   CALL    scripts/checksyscalls.sh
>   CALL    scripts/atomic/check-atomics.sh
>   DESCEND  objtool
>   CHK     include/generated/compile.h
>   CHK     kernel/kheaders_data.tar.xz
>   Building modules, stage 2.
>   MODPOST 5340 modules
>   Building modules, stage 2.
>   MODPOST 5340 modules
> ./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> make: *** [Makefile:1710: nsdeps] Error 2
>
> I get the same error doing "rm fs/cifs/*.o" and repeating the "make
> nsdeps" command
>
> I will send you the .config



You need to clarify your problem.

In the first post from you, you pointed out
"hundreds of new warnings introduced by namespaces in 5.4-rc1 when
building my module"

So, 1/6 and 2/6 should address that problem.
https://lore.kernel.org/patchwork/patch/1133628/
https://lore.kernel.org/patchwork/patch/1133626/


Then, in the previous email ("Applying both 1 and 2 I get the
following error doing make")
it looks like you were talking about in-kernel building
instead of the external module.


Then, in this email, you are talking about "make nsdeps".
"make nsdeps" obviously does not support M=.


I am afraid you are mixing up different issues,
which is so confusing. (and I am afraid you were too confused)

Currently, the namespace is used only by USB_STORAGE.
So, it should not be a problem for your module.

To sum up, you do not need to run nsdeps at all.
The hundreds of false-positive warnings came from the modpost bug,
and should be fixed soon.


-- 
Best Regards
Masahiro Yamada

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-04  4:50               ` Masahiro Yamada
@ 2019-10-04  5:01                 ` Steve French
  2019-10-04 10:40                   ` Matthias Maennich
  0 siblings, 1 reply; 10+ messages in thread
From: Steve French @ 2019-10-04  5:01 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Matthias Maennich, LKML, CIFS, Jessica Yu

[-- Attachment #1: Type: text/plain, Size: 6611 bytes --]

ok - so to sum up, it sounds like you are saying the 350 false
positives (see attached file) that happen on building cifs.ko .will be
fixed by a
future change to modpost?  This is  a typical module build ...
download and install current kernel package (in this case Ubuntu
5.4-rc1). which saves huge amount of build time, then build just the
module of interest (in my case cifs.ko)

                   cd fs/cifs
                   make C=1 -C /usr/src/linux-headers-`uname -r` M=`pwd` modules

If nsdeps is not needed to fixup some namespace issue then shouldn't
be a problem, just trying to avoid the distraction of 300+
warning messages every time I build just this one module.  Is there a
workaround?

On Thu, Oct 3, 2019 at 11:51 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Hi Steve,
>
> On Fri, Oct 4, 2019 at 1:28 PM Steve French <smfrench@gmail.com> wrote:
> >
> > On Thu, Oct 3, 2019 at 10:41 PM Masahiro Yamada
> > <yamada.masahiro@socionext.com> wrote:
> > >
> > > Hi Steve,
> > >
> > > On Fri, Oct 4, 2019 at 1:07 AM Steve French <smfrench@gmail.com> wrote:
> > > >
> > > > On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada
> > > > <yamada.masahiro@socionext.com> wrote:
> > > > >
> > > > > Hi Steve,
> > > > >
> > > > > On Fri, Oct 4, 2019 at 12:15 AM Steve French <smfrench@gmail.com> wrote:
> > > > > >
> > > > > > On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
> > > > > > >
> > > > > > > Hi Steve!
> > > > > > >
> > > > > > > On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
> > > > > > > >And running the build differently, from the root of the git tree
> > > > > > > >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
> > > > > > > >
> > > > > > > >e.g. "make  M=fs/cifs modules nsdeps"
> > > > > > > >
> > > > > > > >...
> > > > > > > >  LD [M]  fs/cifs/cifs.o
> > > > > > > >  Building modules, stage 2.
> > > > > > > >  MODPOST 1 modules
> > > > > > > >WARNING: module cifs uses symbol sigprocmask from namespace
> > > > > > > >_fs/cifs/cache.o), but does not import it.
> > > > > > > >...
> > > > > > > >WARNING: module cifs uses symbol posix_test_lock from namespace
> > > > > > > >cifs/cache.o), but does not import it.
> > > > > > > >  CC [M]  fs/cifs/cifs.mod.o
> > > > > > > >  LD [M]  fs/cifs/cifs.ko
> > > > > > > >  Building modules, stage 2.
> > > > > > > >  MODPOST 1 modules
> > > > > > > >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> > > > > > > >make: *** [Makefile:1710: nsdeps] Error 2
> > > > > > >
> > > > > > > Thanks for reporting this. It appears to me you hit a bug that was
> > > > > > > recently discovered: when building with `make M=some/subdirectory`,
> > > > > > > modpost is misbehaving. Can you try whether this patch series solves
> > > > > > > your problems:
> > > > > > > https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
> > > > > > > In particular patch 2/6 out of the series.
> > > > > > >
> > > > > > > Cheers,
> > > > > > > Matthias
> > > > > >
> > > > > >
> > > > > > Applying just patch 2 and doing "make" from the root of the git tree
> > > > > > (5.4-rc1), at the tail end of the build I got
> > > > > >
> > > > > > ...
> > > > > > Kernel: arch/x86/boot/bzImage is ready  (#87)
> > > > > >   Building modules, stage 2.
> > > > > >   MODPOST 5340 modules
> > > > > > free(): invalid pointer
> > > > > > Aborted (core dumped)
> > > > >
> > > > >
> > > > > Right.
> > > > >
> > > > > Since 2/6 depends on 1/6,
> > > > > applying only the second one does not work.
> > > >
> > > > Applying both 1 and 2 I get the following error doing make (although
> > > > it makes it a long way into the build)
> > > >
> > > > <snip>
> > > > WARNING: drivers/usb/storage/usb-storage: 'USB_STORAGE' exported
> > > > twice. Previous export was in drivers/usb/storage/usb-storage.ko
> > > > ERROR: "usb_stor_set_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > > ERROR: "usb_stor_access_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > > ERROR: "usb_stor_post_reset" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > > ERROR: "usb_stor_disconnect" [drivers/usb/storage/ums-usbat.ko] undefined!
> > > > <snip>
> > > > ERROR: "usb_stor_adjust_quirks" [drivers/usb/storage/uas.ko] undefined!
> > > > ERROR: "usb_stor_sense_invalidCDB" [drivers/usb/storage/uas.ko] undefined!
> > > > WARNING: "USB_STORAGE" [drivers/usb/storage/usb-storage] is a static
> > > > EXPORT_SYMBOL_GPL
> > > > make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
> > > > make: *** [Makefile:1303: modules] Error 2
> > >
> > >
> > > Hmm, I do not see those error.
> > > I was able to build the kernel successfully.
> > > (I asked the 0-day bot to test whole of my patch set
> > > in case I am missing something.)
> > >
> > >
> > > Could you share the steps to reproduce the errors and your .config file?
> >
> > From the root of git tree - at exactly 5.4-rc1
> >
> > ~/cifs-2.6$ make nsdeps
> >   CALL    scripts/checksyscalls.sh
> >   CALL    scripts/atomic/check-atomics.sh
> >   DESCEND  objtool
> >   CHK     include/generated/compile.h
> >   CHK     kernel/kheaders_data.tar.xz
> >   Building modules, stage 2.
> >   MODPOST 5340 modules
> >   Building modules, stage 2.
> >   MODPOST 5340 modules
> > ./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
> > make: *** [Makefile:1710: nsdeps] Error 2
> >
> > I get the same error doing "rm fs/cifs/*.o" and repeating the "make
> > nsdeps" command
> >
> > I will send you the .config
>
>
>
> You need to clarify your problem.
>
> In the first post from you, you pointed out
> "hundreds of new warnings introduced by namespaces in 5.4-rc1 when
> building my module"
>
> So, 1/6 and 2/6 should address that problem.
> https://lore.kernel.org/patchwork/patch/1133628/
> https://lore.kernel.org/patchwork/patch/1133626/
>
>
> Then, in the previous email ("Applying both 1 and 2 I get the
> following error doing make")
> it looks like you were talking about in-kernel building
> instead of the external module.
>
>
> Then, in this email, you are talking about "make nsdeps".
> "make nsdeps" obviously does not support M=.
>
>
> I am afraid you are mixing up different issues,
> which is so confusing. (and I am afraid you were too confused)
>
> Currently, the namespace is used only by USB_STORAGE.
> So, it should not be a problem for your module.
>
> To sum up, you do not need to run nsdeps at all.
> The hundreds of false-positive warnings came from the modpost bug,
> and should be fixed soon.
>
>
> --
> Best Regards
> Masahiro Yamada



-- 
Thanks,

Steve

[-- Attachment #2: out --]
[-- Type: application/octet-stream, Size: 57312 bytes --]

make: Entering directory '/usr/src/linux-headers-5.4.0-050400rc1-generic'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: module cifs uses symbol sigprocmask from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol alloc_pages_current from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol system_wq from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_acquire_cookie from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strpbrk from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmem_cache_destroy from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iget_failed from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmalloc_caches from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __kmalloc from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol msleep from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sg_init_table from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol drop_nlink from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol utf8s_to_utf16s from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol set_anon_super from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iov_iter_npages from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_r8 from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iterate_supers_type from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol up_read from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_handle_return from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol unload_nls from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_file_llseek from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __put_devmap_managed_page from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_wait_on_page_write from namespace $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __mark_inode_dirty from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol try_wait_for_completion from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_invalidate from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __set_page_dirty_nobuffers from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol key_invalidate from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol vmalloc from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_alloc_shash from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol filemap_fault from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strchr from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol single_open from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mntget from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kvfree from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_write_checks from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iov_iter_revert from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol bpf_trace_run7 from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol wake_up_bit from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strlen from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol locks_delete_block from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol rcu_barrier from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strspn from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __generic_file_write_iter from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iget5_locked from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fdget from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol prepare_kernel_cred from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol proc_create_single_data from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol from_kuid_munged from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iov_iter_get_pages_alloc from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kill_anon_super from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kfree_link from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_r12 from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol send_sig from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol seq_escape from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol get_random_bytes from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol single_release from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol seq_puts from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol pagecache_get_page from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol truncate_inode_pages_range from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_file_open from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol match_strdup from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol system_freezing_cnt from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sock_release from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __lock_page from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol lookup_one_len_unlocked from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol filemap_write_and_wait from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol utf16s_to_utf8s from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol touch_atime from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol deactivate_locked_super from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol delayed_work_timer_fn from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol lockref_get from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol get_random_u32 from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_r9 from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol dput from namespace fs-2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sock_recvmsg from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_rsi from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol seq_printf from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __warn_printk from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol cancel_work_sync from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_write_page from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol remove_proc_entry from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __dynamic_pr_debug from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __get_user_4 from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mempool_destroy from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol match_token from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmemdup from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_rcx from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol inc_nlink from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol invalidate_inode_pages2 from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol request_key_tag from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol init_user_ns from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol param_ops_bool from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol init_timer_key from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol filemap_fdatawait_range from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol cancel_delayed_work_sync from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mutex_unlock from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_register_netfs from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strsep from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol rename_lock from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_shash_final from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_add from namespace s-2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_event_buffer_reserve from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_read_dir from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __get_user_1 from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol super_setup_bdi from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol call_rcu from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol ex_handler_refcount from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol cpu_number from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strcspn from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strscpy from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol vmemmap_base from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol redirty_page_for_writepage from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sprintf from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol ktime_get_real_seconds from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __put_net from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol seq_read from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol override_creds from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol bpf_trace_run3 from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol pv_ops from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kstrdup from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_uncache_page from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol des_expand_key from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol copy_page_from_iter from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol set_page_dirty from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kthread_create_on_node from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol jiffies from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strnchr from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol truncate_setsize from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol lru_cache_add_file from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kfree_const from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strcmp from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol down_read from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol out_of_line_wait_on_bit_lock from namespace $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol end_page_writeback from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol from_kgid_munged from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol rb_first from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol make_kgid from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __init_waitqueue_head from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol _copy_to_user from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mempool_alloc_slab from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol wait_for_completion from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strlcat from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol key_revoke from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kernel_setsockopt from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iov_iter_bvec from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_define_field from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kstrtoull from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_r10 from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol memset from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol cancel_delayed_work from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol from_kuid from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol proc_mkdir from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_read_or_alloc_page from namespace $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_uncache_all_inode_pages from namespace s_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kstrtobool from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol des_encrypt from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol _ctype from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol finish_no_open from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol current_task from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol wait_for_completion_killable from namespace $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol freezing_slow_path from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strncat from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __mutex_init from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol printk from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sscanf from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol copy_page_to_iter from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol file_modified from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol memcmp from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __cpu_online_mask from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iov_iter_get_pages from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol ktime_get_real_ts64 from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_shash_update from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sock_sendmsg from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_writepages from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sget from namespace fs-2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol timespec64_trunc from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol phys_base from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mod_delayed_work_on from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iov_iter_kvec from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strcasecmp from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mark_mounts_for_expiry from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol _cond_resched from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol rb_erase from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strncpy from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_event_reg from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_maybe_release_page from namespace $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol from_kgid from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol set_normalized_timespec64 from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol seq_putc from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strncmp from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strlcpy from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmem_cache_free from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mutex_lock from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol set_nlink from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol destroy_workqueue from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol arc4_crypt from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kernel_sock_shutdown from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol setattr_copy from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol bpf_trace_run5 from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol wait_on_page_writeback from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generate_random_uuid from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol unlock_two_nondirectories from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_aead_encrypt from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol init_uts_ns from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol user_describe from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol truncate_pagecache from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmem_cache_create_usercopy from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol memchr from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mempool_free_slab from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mempool_resize from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol key_type_logon from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_shash_setkey from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol unlock_page from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_file_read_iter from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol up_write from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_req_done from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol down_write from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol fput from namespace fs-2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol find_get_pages_range_tag from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol perf_trace_run_bpf_submit from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol perf_trace_buf_alloc from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol init_wait_entry from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_aead_setkey from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol key_put from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kstrndup from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol dns_query from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_unregister_netfs from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strcat from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol utf8_to_utf32 from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol file_write_and_wait_range from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol inode_init_once from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kstrdup_const from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol page_offset_base from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol print_hex_dump from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol module_put from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mnt_drop_write_file from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol capable from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol bit_wait from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmem_cache_alloc from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_rdx from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mempool_alloc from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __put_user_4 from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strnlen from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_file_mmap from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol simple_dir_operations from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __filemap_set_wb_err from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol usleep_range from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_setlease from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol truncate_inode_pages_final from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol make_kuid from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_event_ignore_this_pid from namespace  $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol load_nls from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol queue_delayed_work_on from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __stack_chk_fail from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol vmalloc_base from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol schedule_timeout from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol schedule from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol ___ratelimit from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmalloc_order_trace from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strncasecmp from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol in4_pton from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mempool_create from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol fiemap_fill_next_extent from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __d_lookup_done from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol unlock_new_inode from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mnt_want_write_file from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol deactivate_super from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol in_group_p from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol dump_stack from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_drop from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol lock_two_nondirectories from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol current_umask from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol locks_lock_inode_wait from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_rax from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_r11 from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __refrigerator from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_destroy_tfm from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_event_buffer_commit from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __module_put_and_exit from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol wake_up_process from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __put_cred from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fentry__ from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol vfs_setpos from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol keyring_alloc from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol clear_page_dirty_for_io from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol fortify_panic from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol memzero_explicit from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol register_key_type from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmem_cache_alloc_trace from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mempool_free from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol _raw_spin_lock from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kstrtobool_from_user from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol rb_insert_color from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kmem_cache_create from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol register_filesystem from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_relinquish_cookie from namespace  $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __module_get from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol event_triggers_call from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_file_write_iter from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __wake_up from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_aead_decrypt from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_aead_setauthsize from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol add_to_page_cache_locked from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_hash_and_lookup from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol out_of_line_wait_on_bit from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol prepare_to_wait_event from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol bpf_trace_run2 from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __test_set_page_writeback from namespace o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol crypto_alloc_aead from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iter_file_splice_write from namespace he.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol seq_lseek from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iput from namespace fs-2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol finish_open from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol posix_lock_file from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kfree from namespace s-2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_readpages_cancel from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iunique from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kstrtouint from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_permission from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol memcpy from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_event_raw_init from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kernel_sigaction from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol current_time from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol load_nls_default from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol set_freezable from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_splice_alias from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol unregister_key_type from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol sync_filesystem from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol in6_pton from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __x86_indirect_thunk_r15 from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol this_cpu_off from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol scnprintf from namespace 6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_make_root from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol kzfree from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol iov_iter_advance from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol finish_wait from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol rb_next from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol vfs_submount from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol bpf_trace_run6 from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol unregister_filesystem from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol init_special_inode from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_raw_output_prep from namespace che.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol queue_work_on from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol complete from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol filemap_map_pages from namespace s/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol snprintf from namespace .6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol fiemap_check_flags from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol trace_seq_printf from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol memmove from namespace 2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __break_lease from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_file_splice_read from namespace .o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol vmalloc_to_page from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol proc_create from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol mnt_set_expiry from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __msecs_to_jiffies from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol _copy_from_user from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol grab_cache_page_write_begin from namespace  $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __fscache_read_or_alloc_pages from namespace (deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol param_ops_uint from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol bpf_trace_run4 from namespace cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol clear_inode from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol alloc_workqueue from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol arc4_setkey from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol _copy_to_iter from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_instantiate from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __init_rwsem from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol revert_creds from namespace s/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol d_alloc_parallel from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __check_object_size from namespace cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __put_page from namespace /fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol __sock_create from namespace /cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol clear_nlink from namespace fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol vfs_fsync_range from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol setattr_prepare from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_fillattr from namespace fs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol filemap_fdatawrite from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol strcpy from namespace -2.6/fs/cifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol generic_copy_file_range from namespace e.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol ktime_get_coarse_real_ts64 from namespace : $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol truncate_inode_pages from namespace ache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol devmap_managed_key from namespace /cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
WARNING: module cifs uses symbol posix_test_lock from namespace ifs/cache.o: $(deps_/home/sfrench/cifs-2.6/fs/cifs/cache.o), but does not import it.
  LD [M]  /home/sfrench/cifs-2.6/fs/cifs/cifs.ko
make: Leaving directory '/usr/src/linux-headers-5.4.0-050400rc1-generic'

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

* Re: nsdeps not working on modules in 5.4-rc1
  2019-10-04  5:01                 ` Steve French
@ 2019-10-04 10:40                   ` Matthias Maennich
  0 siblings, 0 replies; 10+ messages in thread
From: Matthias Maennich @ 2019-10-04 10:40 UTC (permalink / raw)
  To: Steve French; +Cc: Masahiro Yamada, LKML, CIFS, Jessica Yu

Hi Steve,

On Fri, Oct 04, 2019 at 12:01:20AM -0500, Steve French wrote:
>ok - so to sum up, it sounds like you are saying the 350 false
>positives (see attached file) that happen on building cifs.ko .will be
>fixed by a
>future change to modpost?  This is  a typical module build ...

Yes, the reason for you to see these false positive warnings is a bug in
modpost. The patch series we were referring to addresses this problem
(and some others). I do not believe you need to run nsdeps to fixup
anything in fs/cifs at this time.

>download and install current kernel package (in this case Ubuntu
>5.4-rc1). which saves huge amount of build time, then build just the
>module of interest (in my case cifs.ko)
>
>                   cd fs/cifs
>                   make C=1 -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
>
>If nsdeps is not needed to fixup some namespace issue then shouldn't
>be a problem, just trying to avoid the distraction of 300+
>warning messages every time I build just this one module.  Is there a
>workaround?

Sorry for the noise this creates. The only known workaround is to
locally apply the complete patch series.

Cheers,
Matthias

>On Thu, Oct 3, 2019 at 11:51 PM Masahiro Yamada
><yamada.masahiro@socionext.com> wrote:
>>
>> Hi Steve,
>>
>> On Fri, Oct 4, 2019 at 1:28 PM Steve French <smfrench@gmail.com> wrote:
>> >
>> > On Thu, Oct 3, 2019 at 10:41 PM Masahiro Yamada
>> > <yamada.masahiro@socionext.com> wrote:
>> > >
>> > > Hi Steve,
>> > >
>> > > On Fri, Oct 4, 2019 at 1:07 AM Steve French <smfrench@gmail.com> wrote:
>> > > >
>> > > > On Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada
>> > > > <yamada.masahiro@socionext.com> wrote:
>> > > > >
>> > > > > Hi Steve,
>> > > > >
>> > > > > On Fri, Oct 4, 2019 at 12:15 AM Steve French <smfrench@gmail.com> wrote:
>> > > > > >
>> > > > > > On Thu, Oct 3, 2019 at 5:43 AM Matthias Maennich <maennich@google.com> wrote:
>> > > > > > >
>> > > > > > > Hi Steve!
>> > > > > > >
>> > > > > > > On Wed, Oct 02, 2019 at 06:54:26PM -0500, Steve French wrote:
>> > > > > > > >And running the build differently, from the root of the git tree
>> > > > > > > >(5.4-rc1) rather than using the Ubuntu 5.4-rc1 headers also fails
>> > > > > > > >
>> > > > > > > >e.g. "make  M=fs/cifs modules nsdeps"
>> > > > > > > >
>> > > > > > > >...
>> > > > > > > >  LD [M]  fs/cifs/cifs.o
>> > > > > > > >  Building modules, stage 2.
>> > > > > > > >  MODPOST 1 modules
>> > > > > > > >WARNING: module cifs uses symbol sigprocmask from namespace
>> > > > > > > >_fs/cifs/cache.o), but does not import it.
>> > > > > > > >...
>> > > > > > > >WARNING: module cifs uses symbol posix_test_lock from namespace
>> > > > > > > >cifs/cache.o), but does not import it.
>> > > > > > > >  CC [M]  fs/cifs/cifs.mod.o
>> > > > > > > >  LD [M]  fs/cifs/cifs.ko
>> > > > > > > >  Building modules, stage 2.
>> > > > > > > >  MODPOST 1 modules
>> > > > > > > >./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
>> > > > > > > >make: *** [Makefile:1710: nsdeps] Error 2
>> > > > > > >
>> > > > > > > Thanks for reporting this. It appears to me you hit a bug that was
>> > > > > > > recently discovered: when building with `make M=some/subdirectory`,
>> > > > > > > modpost is misbehaving. Can you try whether this patch series solves
>> > > > > > > your problems:
>> > > > > > > https://lore.kernel.org/lkml/20191003075826.7478-1-yamada.masahiro@socionext.com/
>> > > > > > > In particular patch 2/6 out of the series.
>> > > > > > >
>> > > > > > > Cheers,
>> > > > > > > Matthias
>> > > > > >
>> > > > > >
>> > > > > > Applying just patch 2 and doing "make" from the root of the git tree
>> > > > > > (5.4-rc1), at the tail end of the build I got
>> > > > > >
>> > > > > > ...
>> > > > > > Kernel: arch/x86/boot/bzImage is ready  (#87)
>> > > > > >   Building modules, stage 2.
>> > > > > >   MODPOST 5340 modules
>> > > > > > free(): invalid pointer
>> > > > > > Aborted (core dumped)
>> > > > >
>> > > > >
>> > > > > Right.
>> > > > >
>> > > > > Since 2/6 depends on 1/6,
>> > > > > applying only the second one does not work.
>> > > >
>> > > > Applying both 1 and 2 I get the following error doing make (although
>> > > > it makes it a long way into the build)
>> > > >
>> > > > <snip>
>> > > > WARNING: drivers/usb/storage/usb-storage: 'USB_STORAGE' exported
>> > > > twice. Previous export was in drivers/usb/storage/usb-storage.ko
>> > > > ERROR: "usb_stor_set_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
>> > > > ERROR: "usb_stor_access_xfer_buf" [drivers/usb/storage/ums-usbat.ko] undefined!
>> > > > ERROR: "usb_stor_post_reset" [drivers/usb/storage/ums-usbat.ko] undefined!
>> > > > ERROR: "usb_stor_disconnect" [drivers/usb/storage/ums-usbat.ko] undefined!
>> > > > <snip>
>> > > > ERROR: "usb_stor_adjust_quirks" [drivers/usb/storage/uas.ko] undefined!
>> > > > ERROR: "usb_stor_sense_invalidCDB" [drivers/usb/storage/uas.ko] undefined!
>> > > > WARNING: "USB_STORAGE" [drivers/usb/storage/usb-storage] is a static
>> > > > EXPORT_SYMBOL_GPL
>> > > > make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
>> > > > make: *** [Makefile:1303: modules] Error 2
>> > >
>> > >
>> > > Hmm, I do not see those error.
>> > > I was able to build the kernel successfully.
>> > > (I asked the 0-day bot to test whole of my patch set
>> > > in case I am missing something.)
>> > >
>> > >
>> > > Could you share the steps to reproduce the errors and your .config file?
>> >
>> > From the root of git tree - at exactly 5.4-rc1
>> >
>> > ~/cifs-2.6$ make nsdeps
>> >   CALL    scripts/checksyscalls.sh
>> >   CALL    scripts/atomic/check-atomics.sh
>> >   DESCEND  objtool
>> >   CHK     include/generated/compile.h
>> >   CHK     kernel/kheaders_data.tar.xz
>> >   Building modules, stage 2.
>> >   MODPOST 5340 modules
>> >   Building modules, stage 2.
>> >   MODPOST 5340 modules
>> > ./scripts/nsdeps: 34: local: ./fs/cifs/cifsfs.c: bad variable name
>> > make: *** [Makefile:1710: nsdeps] Error 2
>> >
>> > I get the same error doing "rm fs/cifs/*.o" and repeating the "make
>> > nsdeps" command
>> >
>> > I will send you the .config
>>
>>
>>
>> You need to clarify your problem.
>>
>> In the first post from you, you pointed out
>> "hundreds of new warnings introduced by namespaces in 5.4-rc1 when
>> building my module"
>>
>> So, 1/6 and 2/6 should address that problem.
>> https://lore.kernel.org/patchwork/patch/1133628/
>> https://lore.kernel.org/patchwork/patch/1133626/
>>
>>
>> Then, in the previous email ("Applying both 1 and 2 I get the
>> following error doing make")
>> it looks like you were talking about in-kernel building
>> instead of the external module.
>>
>>
>> Then, in this email, you are talking about "make nsdeps".
>> "make nsdeps" obviously does not support M=.
>>
>>
>> I am afraid you are mixing up different issues,
>> which is so confusing. (and I am afraid you were too confused)
>>
>> Currently, the namespace is used only by USB_STORAGE.
>> So, it should not be a problem for your module.
>>
>> To sum up, you do not need to run nsdeps at all.
>> The hundreds of false-positive warnings came from the modpost bug,
>> and should be fixed soon.
>>
>>
>> --
>> Best Regards
>> Masahiro Yamada
>
>
>
>-- 
>Thanks,
>
>Steve



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

end of thread, other threads:[~2019-10-04 10:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAH2r5mv49T9gwwoJxKJfkgdi6xbf+hDALUiAJHghGikgUNParw@mail.gmail.com>
2019-10-02 23:54 ` nsdeps not working on modules in 5.4-rc1 Steve French
2019-10-03 10:43   ` Matthias Maennich
2019-10-03 15:14     ` Steve French
2019-10-03 15:23       ` Masahiro Yamada
2019-10-03 16:06         ` Steve French
2019-10-04  3:40           ` Masahiro Yamada
2019-10-04  4:27             ` Steve French
2019-10-04  4:50               ` Masahiro Yamada
2019-10-04  5:01                 ` Steve French
2019-10-04 10:40                   ` Matthias Maennich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).