Re: [PATCH 4/5] RISC-V: Add native linux support.

Pedro Alves
2018-10-25T12:06:30Z

On 10/25/2018 12:09 PM, Andrew Burgess wrote:
>
> I removed the extra { ... } block in line with the coding standard
> while editing this area.

Actually, this applies here:

> Any two or more lines in code should be wrapped in braces, even if they are comments, as they look like separate statements:
> if (i)
> {
> /* Return success. */
> return 0;
> }
>
> and not:
>
> if (i)
> /* Return success. */
> return 0;

From:

https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards?highlight=%28coding%29%7C%28conventions%29#Whitespaces

Thanks,
Pedro Alves