diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2024-04-12 19:54:07 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-04-22 16:22:50 +0300 |
commit | b662ade1be4ac49916251ebec46a3fbcf13b9f2b (patch) | |
tree | 7f719e66b65115f36726668f00e8d9f3f96f6c8c /drivers/gpu/drm/msm/hdmi/hdmi.h | |
parent | afd898c79f828b2cb7fe87fde62d27c8a603ae63 (diff) | |
download | linux-b662ade1be4ac49916251ebec46a3fbcf13b9f2b.tar.xz |
drm/msm: Fix gen_header.py for older python3 versions
The gen_header.py script is failing for older versions of python3 such
as python 3.5. Two issues observed with python 3.5 are ...
1. Python 3 versions prior to 3.6 do not support the f-string format.
2. Early python 3 versions do not support the 'required' argument for
the argparse add_subparsers().
Fix both of the above so that older versions of python 3 still work.
Fixes: 8f7abf0b86fe ("drm/msm: generate headers on the fly")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/589427/
Link: https://lore.kernel.org/r/20240412165407.42163-1-jonathanh@nvidia.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/msm/hdmi/hdmi.h')
0 files changed, 0 insertions, 0 deletions