[PATCH] nvme/auth: optimize code redundancy and provide code quality

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Jan 15 14:21:30 PST 2024


>> +        return transformed_key ? transformed_key : ERR_PTR(-ENOMEM);

I've received many comments about not using ?: in kernel code as
if .. else is preferred way, not sure if this is a good idea

-ck




More information about the Linux-nvme mailing list