Re: [v2 5/7] remoteproc: Restructure firmware name allocation
From: Markus Elfring
Date: Fri Apr 17 2020 - 11:48:59 EST
>> ÂÂÂÂp = firmware ? kstrdup_const(â) : kasprintf(â);
>
> For simple assignments, I too prefer the ternary operator,
Thanks for your feedback.
> but in this case, I think it is better to leave the current code as is.
Would you like to consider the use of the function âkvasprintf_constâ
according to your review comment for the update step â[PATCH v2 4/7] remoteproc:
Use kstrdup_const() rather than kstrup()â?
Regards,
Markus