[PATCH v14 4/6] firmware: imx: add driver for NXP EdgeLock Enclave

Pankaj Gupta pankaj.gupta at nxp.com
Tue Apr 1 23:15:02 PDT 2025


>> diff --git a/drivers/firmware/imx/se_ctrl.c
...
>> +		return -EINVAL;
>> +
>> +	attr->family = "Freescale i.MX";
>> +
>> +	attr->serial_number = devm_kasprintf(priv->dev,
>> +					     GFP_KERNEL, "%016llX",
>> +
GET_SERIAL_NUM_FROM_UID(s_info->d_info.uid,
>> +
MAX_UID_SIZE >> 2));

> run checkpatch.pl --strict
Already ran the checkpatch, before sending the V14 patches.
It is the false positive, as there is no possible side-effect here.

>> +
>> +	sdev = soc_device_register(attr);
>> +	if (IS_ERR(sdev))
>> +		return PTR_ERR(sdev);
>> +
>> +	return 0;
>> +}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 11094 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250402/b0a063e1/attachment.p7s>


More information about the linux-arm-kernel mailing list