[Bug 192247] New: [cam][cd] READ_CD_CAPACITY could be reaped from scsi_cd.h
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 29 18:32:04 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192247
Bug ID: 192247
Summary: [cam][cd] READ_CD_CAPACITY could be reaped from
scsi_cd.h
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: yaneurabeya at gmail.com
READ_CAPACITY and READ_CD_CAPACITY have the same value in cam(4). Not sure if
this was intentional given the comment in scsi_cd.h, but the value in scsi_cd.h
could probably be reaped because it wasn't used in the tree (apart from that
header).
$ egrep 'READ_.*CAPACITY' /usr/src/sys/cam/scsi/scsi_all.h
/usr/src/sys/cam/scsi/scsi_cd.h
/usr/src/sys/cam/scsi/scsi_all.h:#define READ_CAPACITY 0x25
/usr/src/sys/cam/scsi/scsi_cd.h:#define READ_CD_CAPACITY 0x25 /*
slightly different from disk */
$ grep -r READ_CD_CAPACITY /usr/src/
/usr/src/sys/cam/scsi/scsi_cd.h:#define READ_CD_CAPACITY 0x25 /*
slightly different from disk */
$
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list