Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-arm
  • Repository
Switch branch/tag
  • ipipe-arm
  • drivers
  • misc
  • acer-wmi.c
Find file BlameHistoryPermalink
  • Arjan van de Ven's avatar
    Fix oops in acer_wmi driver (acer_wmi_init) · 83097aca
    Arjan van de Ven authored Aug 23, 2008
    
    
    The acer_wmi driver does a DMI scan for quirks, and then sets flags into the
    "interface" datastructure for some cases. However, the quirks happen real early
    before "interface" is per se initialized from NULL.
    
    The patch below 1) adds a NULL pointer check and 2) (re)runs the quirks at the
    end, when "interface" has it's final value.
    
    Reported-by: kerneloops.org
    Acked-by: default avatarCarlos Corbacho <carlos@strangeworlds.co.uk>
    CC: stable@vger.kernel.org
    Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    83097aca

Imprint & Privacy Policy