linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* warning in ./arch/riscv/include/asm/module.h
@ 2018-11-05 14:51 David Abdurachmanov
  2018-11-05 14:51 ` David Abdurachmanov
  2018-11-05 21:02 ` Arnd Bergmann
  0 siblings, 2 replies; 8+ messages in thread
From: David Abdurachmanov @ 2018-11-05 14:51 UTC (permalink / raw)
  To: linux-riscv

Hi,

This happens once you enable "Module signature verification". E.g.,

[..]
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_ALL=y
CONFIG_MODULE_SIG_SHA256=y
CONFIG_MODULE_SIG_HASH="sha256"
CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
[..]

BUILDSTDERR: In file included from kernel/module-internal.h:13,
BUILDSTDERR:                  from kernel/module_signing.c:17:
BUILDSTDERR: ./arch/riscv/include/asm/module.h:11:34: warning: 'struct
module' declared inside parameter list will not be visible outside of
this definition or declaration
BUILDSTDERR:  u64 module_emit_got_entry(struct module *mod, u64 val);
BUILDSTDERR:                                   ^~~~~~
BUILDSTDERR: ./arch/riscv/include/asm/module.h:12:34: warning: 'struct
module' declared inside parameter list will not be visible outside of
this definition or declaration
BUILDSTDERR:  u64 module_emit_plt_entry(struct module *mod, u64 val);
BUILDSTDERR:                                   ^~~~~~
BUILDSTDERR: net/core/rtnetlink.c: In function 'rtnl_newlink':
BUILDSTDERR: net/core/rtnetlink.c:3224:1: warning: the frame size of
1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
BUILDSTDERR:  }
BUILDSTDERR:  ^

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

end of thread, other threads:[~2018-11-07 21:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 14:51 warning in ./arch/riscv/include/asm/module.h David Abdurachmanov
2018-11-05 14:51 ` David Abdurachmanov
2018-11-05 21:02 ` Arnd Bergmann
2018-11-05 21:02   ` Arnd Bergmann
2018-11-07 18:25   ` David Abdurachmanov
2018-11-07 18:25     ` David Abdurachmanov
2018-11-07 21:12     ` Arnd Bergmann
2018-11-07 21:12       ` Arnd Bergmann

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).