[PATCH 5/6] devtools: make uAPI check exclusive to other options
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Sep 3 15:52:18 CEST 2025
On 8/27/25 10:21 AM, Thomas Monjalon wrote:
> When doing a check of Linux uAPI headers,
> it is better to not fix them before.
> Also, it does not make sense to check just after doing an update,
> as the check would just repeat the same update process.
> That's why a check is now run alone without any update.
>
> The current version has to be retrieved in all cases,
> so it is moved at the beginning of any processing.
>
> If the check option (-c) is used with an import (-i) or an upgrade (-u),
> an error is raised.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> devtools/linux-uapi.sh | 22 ++++++++++++----------
> 1 file changed, 12 insertions(+), 10 deletions(-)
>
As discussed off-list, I agree it did not made sense to make possible
both check and import/update at the same time.
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list