[PATCHv2 6/7] block: add pi for nvme enhanced integrity

Bart Van Assche bvanassche at acm.org
Wed Feb 2 10:40:59 PST 2022


On 2/1/22 11:01, Keith Busch wrote:
> +			ref = get_unaligned_be48(pi->ref_tag);
> +			seed = iter->seed & 0xffffffffffffull;

The "& 0xffffffffffffull" operation occurs three times in this patch. 
Has it been considered to introduce a lower_48_bits() function?

Thanks,

Bart.



More information about the Linux-nvme mailing list