[PATCH RFC 16/16] nvme: Support atomic writes

Bart Van Assche bvanassche at acm.org
Wed May 3 18:49:56 UTC 2023


On 5/3/23 11:38, John Garry wrote:
> +			if (!(boundary & (boundary - 1))) {

Please use is_power_of_2() instead of open-coding it.

Thanks,

Bart.



More information about the Linux-security-module-archive mailing list