]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: file2alias: define size of alias
authorMattias Jacobsson <2pi@mok.nu>
Thu, 7 Feb 2019 12:30:22 +0000 (13:30 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 7 Mar 2019 07:12:34 +0000 (23:12 -0800)
commitdeb194db592cdabb388e93c9f72dfe2d2eeda038
tree4536ed1e2389b5074dc9fb866a339a60184428de
parent1550bd98cca18af68b348a6daada5d13c7a1a3d3
modpost: file2alias: define size of alias

The size of the variable alias provided to do_entry functions are
currently not readily available. Thus hindering do_entry functions to
perform bounds checking.

Define the macro ALIAS_SIZE containing the size of the variable alias.

Signed-off-by: Mattias Jacobsson <2pi@mok.nu>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
scripts/mod/file2alias.c