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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 04, 2025 at 05:58:30PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> ---
>  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




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux