>> + 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