From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: 2 bugfixes found in DRM-CI Date: Tue, 10 Mar 2026 12:46:56 +1000 Message-ID: In-Reply-To: <20260308223538.96729-1-jim.cromie@gmail.com> References: <20260308223538.96729-1-jim.cromie@gmail.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Overall Series Review Subject: 2 bugfixes found in DRM-CI Author: Jim Cromie Patches: 3 Reviewed: 2026-03-10T12:46:56.389302 --- This is a 2-patch bugfix series from Jim Cromie addressing issues found in = DRM-CI. Both patches fix real bugs: 1. **Patch 1** fixes a 64-bit truncation bug in `drm_buddy.c` where `roundu= p_pow_of_two()` / `rounddown_pow_of_two()` use `unsigned long` internally, = which truncates `u64` values on 32-bit architectures. 2. **Patch 2** fixes a debug message flood in `drm_print.c` where `__drm_pr= intfn_dbg()` uses the dyndbg-optimized `__drm_debug_enabled()` (which evalu= ates to `true` under `CONFIG_DRM_USE_DYNAMIC_DEBUG=3DY`) instead of perform= ing the actual bitmask check. Both are legitimate fixes with clear problem descriptions. However, each pa= tch has issues worth discussing. Note: The kernel tree at `linux/` has been significantly refactored (drm_bu= ddy =E2=86=92 gpu_buddy), so the patches don't apply. The review is based o= n the patch content and the original code as visible from the diff context. --- --- Generated by Claude Code Patch Reviewer