Re: [PATCH] lib/crc_kunit.c: update comment in crc_benchmark()

Eric Biggers
2025-03-06T17:21:53Z

On Tue, Mar 04, 2025 at 05:58:30PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
>
> None of the CRC library functions use __pure anymore, so the comment in
> crc_benchmark() is outdated. But the comment was not really correct
> anyway, since the CRC computation could (in principle) be optimized out
> regardless of __pure. Update the comment to have a proper explanation.
>
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
> lib/crc_kunit.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to
https://web.git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next

- Eric