Commit 85eeda3
committed
ioctl: fix nvme_directive_recv_stream_status
Take the nr_entries parameter for the returned data structure length
into account.
Signed-off-by: Dennis Maisenbacher <[email protected]>1 parent 4cef519 commit 85eeda3
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
4041 | 4042 | | |
4042 | 4043 | | |
4043 | 4044 | | |
| 4045 | + | |
| 4046 | + | |
| 4047 | + | |
| 4048 | + | |
| 4049 | + | |
4044 | 4050 | | |
4045 | 4051 | | |
4046 | 4052 | | |
| |||
4051 | 4057 | | |
4052 | 4058 | | |
4053 | 4059 | | |
4054 | | - | |
| 4060 | + | |
4055 | 4061 | | |
4056 | 4062 | | |
4057 | 4063 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
0 commit comments