aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-06-20 01:14:06 +0000
committerDavid S. Miller <[email protected]>2020-06-22 22:43:16 +0000
commitc05d042fda889f1e591b9d306482d9c16072dd60 (patch)
tree879c23cadb62bd3a4b6cf5a5d41fabb3eba92ee2 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentMerge tag 'spi-fix-v5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-c05d042fda889f1e591b9d306482d9c16072dd60.tar.gz
kernel-c05d042fda889f1e591b9d306482d9c16072dd60.zip
sparc64: viohs: Use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes. Also, remove unnecessary variable _len_. This code was detected with the help of Coccinelle and, audited and fixed manually. Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83 Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions