[PATCH master 1/3] envfs: fix defaultenv_append_directory macro definition

Marco Felsch m.felsch at pengutronix.de
Thu Aug 17 02:33:27 PDT 2023


On 23-08-17, Ahmad Fatoum wrote:
> defaultenv_append_directory is called as if it were a function and the
> trailing semicolon can break parse of if-else statements. Wrap in do { }
> while (0) to avoid this.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>

Reviewed-by: Marco Felsch <m.felsch at pengutronix.de>



More information about the barebox mailing list