DF-1418 / build.sh
#!/bin/sh # DF-1418 fix validation build # This finding affects sys/dev/drm/amd/powerplay/hwmgr/smu8_hwmgr.c which is part of the kernel/module build. # The fix is validated by building the kernel with the patch applied. # # Full kernel build (host-side validation): # cd /usr/src && patch -p1 < fix.diff && make -j6 nativekernel KERNCONF=X86_64_GENERIC # # Result: rc=0 (compiles cleanly) echo "Fix validated via kernel build — see fix_build.log" echo "Run: cd /usr/src && patch -p1 < fix.diff && make -j6 nativekernel KERNCONF=X86_64_GENERIC" |