aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 20:07:12 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 20:07:12 +0100
commit987be932ed3cbea56b68bbe85649191c13b66015 (patch)
treee6bee7fb9dca0402f5ec97807a64c1c9938dd854 /modutils
parentca466f385ac985a8b3491daa9f326dc480cdee70 (diff)
downloadbusybox-w32-987be932ed3cbea56b68bbe85649191c13b66015.tar.gz
busybox-w32-987be932ed3cbea56b68bbe85649191c13b66015.tar.bz2
busybox-w32-987be932ed3cbea56b68bbe85649191c13b66015.zip
*: slap on a few ALIGN_PTR where appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modutils-24.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/modutils-24.c b/modutils/modutils-24.c
index ac8632481..d0bc2a6ef 100644
--- a/modutils/modutils-24.c
+++ b/modutils/modutils-24.c
@@ -3458,7 +3458,7 @@ static int obj_load_progbits(char *image, size_t image_size, struct obj_file *f,
3458 3458
3459static void hide_special_symbols(struct obj_file *f) 3459static void hide_special_symbols(struct obj_file *f)
3460{ 3460{
3461 static const char *const specials[] = { 3461 static const char *const specials[] ALIGN_PTR = {
3462 SPFX "cleanup_module", 3462 SPFX "cleanup_module",
3463 SPFX "init_module", 3463 SPFX "init_module",
3464 SPFX "kernel_version", 3464 SPFX "kernel_version",
@@ -3484,7 +3484,7 @@ static int obj_gpl_license(struct obj_file *f, const char **license)
3484 * linux/include/linux/module.h. Checking for leading "GPL" will not 3484 * linux/include/linux/module.h. Checking for leading "GPL" will not
3485 * work, somebody will use "GPL sucks, this is proprietary". 3485 * work, somebody will use "GPL sucks, this is proprietary".
3486 */ 3486 */
3487 static const char *const gpl_licenses[] = { 3487 static const char *const gpl_licenses[] ALIGN_PTR = {
3488 "GPL", 3488 "GPL",
3489 "GPL v2", 3489 "GPL v2",
3490 "GPL and additional rights", 3490 "GPL and additional rights",