# git rev-parse -q --verify 3ca706c189db861b2ca2019a0901b94050ca49d8^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 3ca706c189db861b2ca2019a0901b94050ca49d8^{commit} 3ca706c189db861b2ca2019a0901b94050ca49d8 # git checkout -q -f -B kisskb 3ca706c189db861b2ca2019a0901b94050ca49d8 # git clean -qxdf # < git log -1 # commit 3ca706c189db861b2ca2019a0901b94050ca49d8 # Author: Huang Rui # Date: Tue Sep 7 18:03:02 2021 +0800 # # drm/ttm: fix type mismatch error on sparc64 # # On sparc64, __fls() returns an "int", but the drm TTM code expected it # to be "unsigned long" as on x86. As a result, on sparc (and arc, and # m68k) you get build errors because 'min()' checks that the types match. # # As suggested by Linus, it can use min_t instead of min to force the type # to be "unsigned int". # # Suggested-by: Linus Torvalds # Signed-off-by: Huang Rui # Reviewed-by: Christian König # Cc: Alex Deucher # Cc: David Airlie # Cc: Daniel Vetter # Cc: Guenter Roeck # Signed-off-by: Linus Torvalds # < /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 3ca706c189db861b2ca2019a0901b94050ca49d8 # < make -s -j 120 ARCH=microblaze O=/kisskb/build/linus_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- mmu_defconfig # < make -s -j 120 ARCH=microblaze O=/kisskb/build/linus_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- help # make -s -j 120 ARCH=microblaze O=/kisskb/build/linus_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- olddefconfig # make -s -j 120 ARCH=microblaze O=/kisskb/build/linus_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/linus_mmu_defconfig_microblaze # Build took: 0:00:36.957131