Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-iv
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-iv
  • Repository
Switch branch/tag
  • linux-iv
  • arch
  • arm
  • boot
  • compressed
  • string.c
Find file BlameHistoryPermalink
  • Nathan Chancellor's avatar
    ARM: boot: quote aliased symbol names in string.c · 30944760
    Nathan Chancellor authored Nov 24, 2020
    Patch "treewide: Remove stringification from __alias macro definition"
    causes arguments to __alias to no longer be quoted automatically, which
    breaks CONFIG_KASAN on ARM after commit d6d51a96 ("ARM: 9014/2:
    Replace string mem* functions for KASan"):
    
    arch/arm/boot/compressed/string.c:24:1: error: attribute 'alias' argument not a string
       24 | void *__memcpy(void *__dest, __const void *__src, size_t __n) __alias(memcpy);
          | ^~~~
    arch/arm/boot/compressed/string.c:25:1: error: attribute 'alias' argument not a string
       25 | void *__memmove(void *__dest, __const void *__src, size_t count) __alias(memmove);
          | ^~~~
    arch/arm/boot/compressed/string.c:26:1: error: attribute 'alias' argument not a string
       26 | void *__memset(void *s, int c, size_t count) __alias(memset);
          | ^~~~
    make[3]: *** [scripts/Makefile.build:283: arch/arm/boot/compressed/string.o] Error 1
    
    Quote the names like the treewide patch does so there is no more error.
    
    Link: https://lkml.kernel.org/r/20201109001712.3384097-1-natechancellor@gmail.com
    
    
    Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
    Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
    Reported-by: default avatarValdis Klētnieks <valdis.kletnieks@vt.edu>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    30944760