diff options
author | Laurent Pinchart <[email protected]> | 2014-04-15 17:13:35 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2014-05-02 21:19:07 +0530 |
commit | 593d9c2e10bc66f1c5cf1adb5eeb709432eb616d (patch) | |
tree | ae663809b01d865620daea0870a6a43e5e6b236a /fs/jbd/commit.c | |
parent | a2a7c176cc4ae48ec1589429ef12b89975963b48 (diff) |
dma: mmp_pdma: Fix physical channel memory allocation size
Use sizeof(*var) instead of sizeof(type) when calling devm_k*alloc().
This avoids using the wrong type as was done to allocate the physical
channels array.
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions