aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <[email protected]>2018-01-07 12:14:34 +0000
committerGreg Kroah-Hartman <[email protected]>2018-01-08 16:29:36 +0100
commit2392b84fb2f8daf71e70dd13101ec70ff636a3d3 (patch)
tree74e98618cf06d07e0ea217f4aaa2e8768f7c3888 /drivers/mtd/lpddr/lpddr_cmds.c
parentabb8492b2a24b30ce94df3f5c5e47d845506d68a (diff)
stating: ccree: fix allocation of void sized buf
We were allocating buffers using sizeof(*struct->field) where field was type void. Fix it by having a local variable with the real type. Cc: [email protected] Signed-off-by: Gilad Ben-Yossef <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions