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
  • linux
  • drivers
  • rtc
  • rtc-dev.c
Find file BlameHistoryPermalink
  • John Stultz's avatar
    rtc: Fix ioctl error path return · e17fd4ba
    John Stultz authored May 31, 2011
    
    
    Bryan Henderson noticed that the  "RTC: Fix rtc driver ioctl specific
    shortcutting" commit has a small bug: When an ioctl is called with an
    invalid command code and the clock driver does not have an "ioctl"
    method, the ioctl returns rc 0 instead of -ENOTTY.
    
    This patch fixes the issue.
    
    CC: Bryan Henderson <bryanh@giraffe-data.com>
    CC: Gabor Z. Papp <gzp@papp.hu>
    Reported-by: default avatarBryan Henderson <bryanh@giraffe-data.com>
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
    e17fd4ba
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7