Re: [PATCH] scsi: lpfc: Use the crc32c() function
From: Martin K. Petersen
Date: Thu Mar 19 2026 - 21:48:12 EST
Eric,
> lpfc_cgn_calc_crc32(data, size, crc) is really just an open-coded
> version of ~crc32c(bitrev32(crc), data, size). However, all callers
> pass crc == ~0, so it can be simplified even further to just
> ~crc32c(~0, data, size). Remove the crc argument and implement it that
> way.
Applied to 7.1/scsi-staging, thanks!
--
Martin K. Petersen