Merge tag 'kspp-misc-fixes-5.16-rc1' of...
Merge tag 'kspp-misc-fixes-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux Pull hardening fixes and cleanups from Gustavo A. R. Silva: "Various hardening fixes and cleanups that I've been collecting during the last development cycle: Fix -Wcast-function-type error: - firewire: Remove function callback casts (Oscar Carter) Fix application of sizeof operator: - firmware/psci: fix application of sizeof to pointer (jing yangyang) Replace open coded instances with size_t saturating arithmetic helpers: - assoc_array: Avoid open coded arithmetic in allocator arguments (Len Baker) - writeback: prefer struct_size over open coded arithmetic (Len Baker) - aio: Prefer struct_size over open coded arithmetic (Len Baker) - dmaengine: pxa_dma: Prefer struct_size over open coded arithmetic (Len Baker) Flexible array transformation: - KVM: PPC: Replace zero-length array with flexible array member (Len Baker) Use 2-factor argument multiplication form: - nouveau/svm: Use kvcalloc() instead of kvzalloc() (Gustavo A. R. Silva) - xfs: Use kvcalloc() instead of kvzalloc() (Gustavo A. R. Silva)" * tag 'kspp-misc-fixes-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: firewire: Remove function callback casts nouveau/svm: Use kvcalloc() instead of kvzalloc() firmware/psci: fix application of sizeof to pointer dmaengine: pxa_dma: Prefer struct_size over open coded arithmetic KVM: PPC: Replace zero-length array with flexible array member aio: Prefer struct_size over open coded arithmetic writeback: prefer struct_size over open coded arithmetic xfs: Use kvcalloc() instead of kvzalloc() assoc_array: Avoid open coded arithmetic in allocator arguments
Showing
- arch/powerpc/include/asm/kvm_host.h 1 addition, 1 deletionarch/powerpc/include/asm/kvm_host.h
- arch/powerpc/kvm/book3s_64_vio.c 1 addition, 2 deletionsarch/powerpc/kvm/book3s_64_vio.c
- drivers/dma/pxa_dma.c 1 addition, 2 deletionsdrivers/dma/pxa_dma.c
- drivers/firewire/core-cdev.c 26 additions, 6 deletionsdrivers/firewire/core-cdev.c
- drivers/firmware/psci/psci_checker.c 1 addition, 1 deletiondrivers/firmware/psci/psci_checker.c
- drivers/gpu/drm/nouveau/nouveau_svm.c 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_svm.c
- fs/aio.c 1 addition, 2 deletionsfs/aio.c
- fs/fs-writeback.c 3 additions, 3 deletionsfs/fs-writeback.c
- fs/xfs/xfs_ioctl.c 3 additions, 3 deletionsfs/xfs/xfs_ioctl.c
- include/linux/firewire.h 7 additions, 4 deletionsinclude/linux/firewire.h
- lib/assoc_array.c 10 additions, 12 deletionslib/assoc_array.c
Please register or sign in to comment