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 <[email protected]>
---
  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 <[email protected]>

Thanks,
Maxime

Reply via email to