Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm64
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-arm64
  • Repository

Switch branch/tag
  • ipipe-arm64
  • drivers
  • scsi
  • scsi_scan.c
Find file BlameHistoryPermalink
  • Amit Arora's avatar
    [SCSI] Return -EINVAL when "id == max_id" in scsi_scan_host_selected() · 091686d3
    Amit Arora authored May 19, 2006
    
    
    The scsi_scan_host_selected() should return -EINVAL when the id is equal
    to the max_id. Currently it uses ">" when comparing with max_id, and
    hence leaves the border case when "id==max_id".
    The channel and lun have values valid from 0 up to,
    and including, max_channel or max_lun. But, the valid values for id
    range from 0 to max_id-1. This patch fixes the problem.
    Signed-off-by: default avatarAmit Arora <aarora@in.ibm.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    091686d3

Replace scsi_scan.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy