u-boot: 2026.04: drop #warnings in fdt_fixup_ethernet logging patch#9713
Conversation
- those were added to ensure that code was actually being compiled - we're pretty sure now, so avoid spurious warnings during compilation Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
📝 WalkthroughWalkthroughAdds comprehensive logging instrumentation to the Ethernet FDT fixup flow, tracking function entry, alias discovery, skip reasons, and patch operations. Replaces compile-time warnings in FDT image setup with weak stub functions that log invocations, providing runtime visibility into board and system FDT setup operations. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@patch/u-boot/v2026.04/1001-fdt_fixup_ethernet-add-logs.patch`:
- Around line 130-132: Remove the stray empty line inserted before the SPDX
header so that the comment "// SPDX-License-Identifier: GPL-2.0+" is the very
first line of the file; specifically, drop the added leading blank line from the
hunk that prepended an empty line before the SPDX tag in boot/image-fdt.c so the
SPDX header resumes being on line 1.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 36a62389-5221-472b-8c5b-4203e99e76a4
📒 Files selected for processing (1)
patch/u-boot/v2026.04/1001-fdt_fixup_ethernet-add-logs.patch
|
✅ This PR has been reviewed and approved — all set for merge! |
Summary by CodeRabbit