diff options
| author | Marek Szyprowski <[email protected]> | 2011-04-14 07:17:44 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2011-04-19 16:07:34 -0300 |
| commit | 13b140953ab4fd86e2065adfef892fe833986ffa (patch) | |
| tree | 1474b2b818b6d6fe244075c712f6ce218b6490b8 /drivers/scsi/mpt2sas/mpt2sas_ctl.c | |
| parent | ea42c8ecb2ff998b8f71e0a5f9d2748a65cb8f04 (diff) | |
[media] media: vb2: correct queue initialization order
q->memory entry is initialized to late, so if allocation of memory buffers
fails, the buffers might not be freed correctly (q->memory is tested in
__vb2_free_mem, which can be called before setting q->memory).
Reported-by: Kamil Debski <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
CC: Pawel Osciak <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_ctl.c')
0 files changed, 0 insertions, 0 deletions