Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 22:07:12 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 22:07:12 +0300
commit987be932ed3cbea56b68bbe85649191c13b66015 (patch)
treee6bee7fb9dca0402f5ec97807a64c1c9938dd854 /modutils
parentca466f385ac985a8b3491daa9f326dc480cdee70 (diff)
*: 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,
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",