RE: [PATCH v14 4/6] firmware: imx: add driver for NXP EdgeLock Enclave
From: Pankaj Gupta
Date: Wed Apr 02 2025 - 02:15:19 EST
>> 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;
>> +}
Attachment:
smime.p7s
Description: S/MIME cryptographic signature