Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-dm
  • 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-dm
  • Repository
Switch branch/tag
  • linux-dm
  • drivers
  • auxdisplay
  • ht16k33.c
Find file BlameHistoryPermalink
  • Nishka Dasgupta's avatar
    auxdisplay: ht16k33: Make ht16k33_fb_fix and ht16k33_fb_var constant · a180d023
    Nishka Dasgupta authored Aug 19, 2019
    
    
    The static structures ht16k33_fb_fix and ht16k33_fb_var, of types
    fb_fix_screeninfo and fb_var_screeninfo respectively, are not used
    except to be copied into other variables. Hence make both of them
    constant to prevent unintended modification.
    Issue found with
    Coccinelle.
    
    Acked-by: default avatarRobin van der Gracht <robin@protonic.nl>
    Signed-off-by: default avatarNishka Dasgupta <nishkadg.linux@gmail.com>
    Signed-off-by: default avatarMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
    a180d023