*: slap on a few ALIGN_PTR where appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user