Re: [PATCH v2 1/4] RISC-V: Avoid empty create_*_mapping definitions

From: Andreas Schwab
Date: Wed Apr 20 2022 - 18:12:43 EST


On Apr 20 2022, Palmer Dabbelt wrote:

> (create_pmd_mpping() ends up skipped on XIP_KERNEL).

Does it? There is always the semicolon left as the body of the
conditional (which is why you get the empty-body warning in the first
place).

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."