diff options
author | Shijie Qin <shijie.qin@nxp.com> | 2020-04-18 09:55:53 +0800 |
---|---|---|
committer | Shijie Qin <shijie.qin@nxp.com> | 2020-04-18 11:14:29 +0800 |
commit | 252217e0dc992ffed64f76fabf79cedae95e09f5 (patch) | |
tree | bcc5640c10fbe5442d73aae4cc1ef07c63963a44 /crypto/acompress.c | |
parent | 02e96760b8fbeffcab1769f9a9a45da661409cc2 (diff) |
LF-1236 mxc: vpu_malone: roundup allocated kfifo size to power-of-two
kfifo memory size must roundup to power-of-two if it is
allocated by driver. Because kfifo elements size will
roundup to power-of-two in kfifo_init(), must guarantee
allocated memory is enough.
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: ming_qian <ming.qian@nxp.com>
(cherry picked from commit c900bb4cd98efc43dddfb18d96c8af358e804481)
Diffstat (limited to 'crypto/acompress.c')
0 files changed, 0 insertions, 0 deletions