Commit 01f5bbd
mmc: block: Fix incorrectly initialized requests
mmc_init_request() depends on card->bouncesz so it must be calculated
before blk_init_allocated_queue() starts allocating requests.
Reported-by: Seraphime Kirkovski <[email protected]>
Fixes: 304419d ("mmc: core: Allocate per-request data using the..")
Signed-off-by: Adrian Hunter <[email protected]>
Tested-by: Seraphime Kirkovski <[email protected]>
Cc: <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Tested-by: Pavel Machek <[email protected]>1 parent c16a854 commit 01f5bbd
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
245 | 251 | | |
246 | 252 | | |
247 | 253 | | |
| |||
265 | 271 | | |
266 | 272 | | |
267 | 273 | | |
268 | | - | |
269 | 274 | | |
270 | 275 | | |
271 | 276 | | |
| |||
0 commit comments