diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-07-09 20:54:47 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-07-09 20:54:47 +0200 |
| commit | 59da9e439317c83d5374d06832060fbd66efbbbc (patch) | |
| tree | 65b1b18119198a4df79828f81da6b2bab313e8a5 /sys/linux/sg.txt | |
| parent | 710eefe85a976c438da255499fbefd1a6c989ef6 (diff) | |
sys/linux: use negative consts where useful
Diffstat (limited to 'sys/linux/sg.txt')
| -rw-r--r-- | sys/linux/sg.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/sg.txt b/sys/linux/sg.txt index 315eed770..864e7c74f 100644 --- a/sys/linux/sg.txt +++ b/sys/linux/sg.txt @@ -111,7 +111,7 @@ sg_interface_id = 0, 'S' sg_dxfer_direction = SG_DXFER_NONE, SG_DXFER_TO_DEV, SG_DXFER_FROM_DEV, SG_DXFER_TO_FROM_DEV, SG_DXFER_UNKNOWN sg_flags = SG_FLAG_DIRECT_IO, SG_FLAG_UNUSED_LUN_INHIBIT, SG_FLAG_MMAP_IO, SG_FLAG_NO_DXFER, SG_FLAG_Q_AT_TAIL, SG_FLAG_Q_AT_HEAD # TODO: we need negative integers for -1 -sg_pack_id = 0xffffffffffffffff, 0, 1, 2, 3 +sg_pack_id = -1, 0, 1, 2, 3 define SG_MAX_CDB_SIZE 252 define SG_REQUEST_TABLE_SIZE SG_MAX_QUEUE * sizeof(sg_req_info_t) |
