On 17 August 2016 at 21:19, Marek Vasut <ma...@denx.de> wrote:
> On 08/16/2016 11:38 PM, Dmitry Osipenko wrote:
>> If you would prefer to keep error'ing out, then I can suggest to add some
>> verbose message instead of the assertion, like:
>>
>> if (!t->freq_hz) {
>>     error_setg(errp, "altera_timer: \"clock-frequency\" property " \

You don't need the '\' at the end of the line here.

>>                      "must be provided");
>>     return;
>> }
>
> That's better, thanks.
>
> btw breaking strings is frowned upon in linux/u-boot as it makes it
> impossible to git grep for error message. Does the same apply to qemu?

We tend to prefer to keep the lines below our line length limit,
even if that means splitting them sometimes.

thanks
-- PMM

Reply via email to