Re: [PATCH v4 3/3] rust: error: Replace pr_warn by pr_warn_once
From: Miguel Ojeda
Date: Tue Nov 26 2024 - 12:08:18 EST
On Tue, Nov 26, 2024 at 5:41 PM Jens Korinth via B4 Relay
<devnull+jens.korinth.tuta.io@xxxxxxxxxx> wrote:
>
> Use new pr_warn_once macro to resolve TODO in error.rs.
Thanks for keeping the work on this!
I would mention here the merits between `pr_warn_once` vs. `WARN_ONCE`
and why the former was picked in this patch (especially since the
`TODO` suggests the latter).
Cheers,
Miguel