summaryrefslogtreecommitdiff
path: root/Documentation/lsm.txt
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@broadcom.com>2017-08-22 15:26:56 +0530
committerVinod Koul <vinod.koul@intel.com>2017-08-28 16:44:24 +0530
commit5655e00f5cde2c856c80eb10d0e6c911b7d880f2 (patch)
treeadc764a18c7955eb664e12a2aef903f9dcdbb0a0 /Documentation/lsm.txt
parentabfa251afe27ee7820c3a082fe573ec5bedb3488 (diff)
dmaengine: bcm-sba-raid: Allow arbitrary number free sba_request
Currently, we cannot have any arbitrary number of free sba_request because sba_prealloc_channel_resources() allocates an array of sba_request using devm_kcalloc() and kcalloc() cannot provide memory beyond certain size. This patch removes "reqs" (sba_request array) from sba_device and makes "cmds" as variable array (instead of pointer) in sba_request. This helps sba_prealloc_channel_resources() to allocate sba_request and associated SBA command in one allocation which in-turn allows arbitrary number of free sba_request. Signed-off-by: Anup Patel <anup.patel@broadcom.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'Documentation/lsm.txt')
0 files changed, 0 insertions, 0 deletions