From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: rust: configfs: use `LocalModule` for `THIS_MODULE` Date: Mon, 25 May 2026 20:45:44 +1000 Message-ID: In-Reply-To: <20260521-fix-fops-owner-v2-6-fd99079c5a04@linux.dev> References: <20260521-fix-fops-owner-v2-0-fd99079c5a04@linux.dev> <20260521-fix-fops-owner-v2-6-fd99079c5a04@linux.dev> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review Updates the `configfs_attrs!` macro to use `::THIS_MODULE` instead of the old `THIS_MODULE` static reference: ```rust &::THIS_MODULE, ``` This appears in both the `new::()` and `new_with_child_ctor::()` paths of the macro, as well as in a doc comment example. **Observations:** 1. The macro uses `LocalModule` directly (not a trait associated type) because it's invoked in crate context where `LocalModule` is the type alias set by `module!`. This is correct. 2. The doc comment update (line 1207 in the mbox) keeps the documentation consistent with the actual generated code. **No issues found.** --- Generated by Claude Code Patch Reviewer