summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorDenys Vlasenko2022-02-06 20:07:12 +0100
committerDenys Vlasenko2022-02-06 20:07:12 +0100
commit987be932ed3cbea56b68bbe85649191c13b66015 (patch)
treee6bee7fb9dca0402f5ec97807a64c1c9938dd854 /modutils
parentca466f385ac985a8b3491daa9f326dc480cdee70 (diff)
downloadbusybox-987be932ed3cbea56b68bbe85649191c13b66015.zip
busybox-987be932ed3cbea56b68bbe85649191c13b66015.tar.gz
*: 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 ac86324..d0bc2a6 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,
static void hide_special_symbols(struct obj_file *f)
{
- static const char *const specials[] = {
+ static const char *const specials[] ALIGN_PTR = {
SPFX "cleanup_module",
SPFX "init_module",
SPFX "kernel_version",
@@ -3484,7 +3484,7 @@ static int obj_gpl_license(struct obj_file *f, const char **license)
* linux/include/linux/module.h. Checking for leading "GPL" will not
* work, somebody will use "GPL sucks, this is proprietary".
*/
- static const char *const gpl_licenses[] = {
+ static const char *const gpl_licenses[] ALIGN_PTR = {
"GPL",
"GPL v2",
"GPL and additional rights",