FIRMWARE_NAME_MAX 38 samples/firmware_class/firmware_sample_firmware_class.c char fw_id[FIRMWARE_NAME_MAX]; FIRMWARE_NAME_MAX 120 samples/firmware_class/firmware_sample_firmware_class.c strncpy(fw_priv->fw_id, fw_name, FIRMWARE_NAME_MAX); FIRMWARE_NAME_MAX 121 samples/firmware_class/firmware_sample_firmware_class.c fw_priv->fw_id[FIRMWARE_NAME_MAX-1] = '\0';