aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorHui Su <[email protected]>2020-10-13 16:56:52 -0700
committerLinus Torvalds <[email protected]>2020-10-13 18:38:34 -0700
commitf94afee9980c5722dfff6d3e46fd34a36293a509 (patch)
tree985d6acb1d518a96f4531993c3b9d7a19ed685b0 /include/linux/fpga/fpga-bridge.h
parent01c4776ba08ca9ab8cf58fb27d311868193dd368 (diff)
mm/z3fold.c: use xx_zalloc instead xx_alloc and memset
alloc_slots() allocates memory for slots using kmem_cache_alloc(), then memsets it. We can just use kmem_cache_zalloc(). Signed-off-by: Hui Su <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Link: https://lkml.kernel.org/r/20200926100834.GA184671@rlk Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions