summaryrefslogtreecommitdiffstats
path: root/mm/page_reporting.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-18 09:53:42 -0500
committerDavid S. Miller <davem@davemloft.net>2020-06-19 20:19:24 -0700
commitc5eb179edd8a169949b1fb153ecfd04649a71c8d (patch)
tree81caa2b64f40066395f5a27f6560b2c03ff656f3 /mm/page_reporting.c
parent11a33de2df06b4ed23844181cb5c03eea67bfed1 (diff)
downloadlinux-stable-c5eb179edd8a169949b1fb153ecfd04649a71c8d.tar.gz
linux-stable-c5eb179edd8a169949b1fb153ecfd04649a71c8d.tar.bz2
linux-stable-c5eb179edd8a169949b1fb153ecfd04649a71c8d.zip
net/sched: cls_u32: Use struct_size() in kzalloc()
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes. This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_reporting.c')
0 files changed, 0 insertions, 0 deletions