Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2826 Build 2850: arc lint + arc unit
Event Timeline
sys/dev/isci/isci_controller.c | ||
---|---|---|
748 | that's subtly different. However, in other places in the tree we just check CAM_CDB_PHYS, and I could do that here as well. | |
sys/dev/ncr/ncr.c | ||
3866–3867 | I could just check CAM_CDB_PHYS here, as is done in other places in the tree. | |
sys/dev/ppbus/vpo.c | ||
195 | No. It was done on purpose so we could compute ptr just once. And it doesn't change anything in terms of what is printed since we always call vpo_intr from the place it was moved from, and only from there. |
sys/dev/isci/isci_controller.c | ||
---|---|---|
748 | I suppose that the driver can accidentally handle CAM_CCB_POINTER thanks to the magic of relaxed syntax of referencing pointers vs arrays, and it never tries to reference a single byte in the array directly. CAM_CCB_PHYS has to imply CAM_CCB_POINTER. You could just remove the check for CAM_CCB_POINTER. | |
sys/dev/ppbus/vpo.c | ||
195 | I don't understand. The existing design style was to print the various commands in vpo_action(). What you've changes is not technically incorrect, but it's now inconsistent. |
Update per scott.
Updating D5585: Make sure we check for CAM_CDB_POINTER for all drivers. Also, for the
drivers I've touched, filter out CAM_CDB_PHYS.
sys/dev/ppbus/vpo.c | ||
---|---|---|
195 | Yes. I suppose now that I've created the convenience function, I could move it back. |