# git rev-parse -q --verify 36b450654483f167e7a0bb784fdf4a14f45820b7^{commit} 36b450654483f167e7a0bb784fdf4a14f45820b7 already have revision, skipping fetch # git checkout -q -f -B kisskb 36b450654483f167e7a0bb784fdf4a14f45820b7 # git clean -qxdf # < git log -1 # commit 36b450654483f167e7a0bb784fdf4a14f45820b7 # Author: Gustavo A. R. Silva # Date: Wed Aug 28 12:11:41 2019 -0500 # # ioat/dca: Use struct_size() helper # # One of the more common cases of allocation size calculations is finding # the size of a structure that has a zero-sized array at the end, along # with memory for some number of elements for that array. For example: # # struct ioat_dca_priv { # ... # struct ioat_dca_slot req_slots[0]; # }; # # Make use of the struct_size() helper instead of an open-coded version # in order to avoid any potential type mistakes. # # So, replace the following form: # # sizeof(*ioatdca) + (sizeof(struct ioat_dca_slot) * slots) # # with: # # struct_size(ioatdca, req_slots, slots) # # This code was detected with the help of Coccinelle. # # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-gcc --version # < /opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-ld --version # < git log --format=%s --max-count=1 36b450654483f167e7a0bb784fdf4a14f45820b7 # < make -s -j 48 ARCH=microblaze O=/kisskb/build/gustavoars_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- mmu_defconfig # make -s -j 48 ARCH=microblaze O=/kisskb/build/gustavoars_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- Kernel: arch/microblaze/boot/linux.bin is ready (#1) Completed OK # rm -rf /kisskb/build/gustavoars_mmu_defconfig_microblaze # Build took: 0:00:51.295243