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
  • include
  • uapi
  • linux
  • fd.h
Find file BlameHistoryPermalink
  • Denis Efremov's avatar
    floppy: add defines for sizes of cmd & reply buffers of floppy_raw_cmd · bd10a5f3
    Denis Efremov authored May 01, 2020
    Use FD_RAW_CMD_SIZE, FD_RAW_REPLY_SIZE defines instead of magic numbers
    for cmd & reply buffers of struct floppy_raw_cmd. Remove local to
    floppy.c MAX_REPLIES define, as it is now FD_RAW_REPLY_SIZE.
    FD_RAW_CMD_FULLSIZE added as we allow command to also fill reply_count
    and reply fields.
    
    Link: https://lore.kernel.org/r/20200501134416.72248-4-efremov@linux.com
    
    
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
    bd10a5f3
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7