]> www.infradead.org Git - users/dwmw2/linux.git/commit
modpost: rename variables in handle_moddevtable()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 19 Nov 2024 23:56:51 +0000 (08:56 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 27 Nov 2024 23:46:02 +0000 (08:46 +0900)
commit9a8ace8bb2efa0ca43a77866fa9c835294b1e045
tree6a625b10e170b55df2bb1fe4c6bda22eec985882
parent9d98038d438d8515473a75a29bc524e9a4a5882a
modpost: rename variables in handle_moddevtable()

This commit renames the variables in handle_moddevtable() as follows:

    name       -> type
    namelen    -> typelen
    identifier -> name

These changes align with the definition in include/linux/module.h:

  extern typeof(name) __mod_##type##__##name##_device_table

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/file2alias.c