Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • input
  • evdev.c
Find file BlameHistoryPermalink
  • Daniel Mack's avatar
    Input: fix EVIOCGNAME/JSIOCGNAME regression · f9366014
    Daniel Mack authored Jul 13, 2009
    Commit 3d5cb60e
    
     ("Input: simplify name handling for certain input
    handles") introduced a regression for the EVIOCGNAME/JSIOCGNAME
    ioctl.
    
    Before this, patch, the platform device's name was given back to
    userspace which was good to identify devices. After this patch, the
    device is ("event%d", minor) which is not descriptive at all.
    
    This fixes the behaviour by taking dev->name.
    
    Reported-by: default avatarSven Neumann <s.neumann@raumfeld.com>
    Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
    Reviewed-by: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    f9366014
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7