There is a spelling mistake of 'restictions' in comments which should be 'restrictions'.
This typo was not listed in scripts/spelling.txt, thus it was more difficult to detect. Add it for convenience. This typo is reported by GitHub Copilot code review. [1] [1]. https://github.com/deepin-community/kernel/pull/796 Signed-off-by: WangYuli <wangy...@uniontech.com> --- include/uapi/drm/drm.h | 2 +- scripts/spelling.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 7fba37b94401..16f772dd7069 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -860,7 +860,7 @@ struct drm_get_cap { * cursor and have correctly set hotspot properties. * If this client cap is not set the DRM core will hide cursor plane on * those virtualized drivers because not setting it implies that the - * client is not capable of dealing with those extra restictions. + * client is not capable of dealing with those extra restrictions. * Clients which do set cursor hotspot and treat the cursor plane * like a mouse cursor should set this property. * The client must enable &DRM_CLIENT_CAP_ATOMIC first. diff --git a/scripts/spelling.txt b/scripts/spelling.txt index ac94fa1c2415..c33128db7163 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.txt @@ -1406,6 +1406,8 @@ ressizes||resizes ressource||resource ressources||resources restesting||retesting +restiction||restriction +restictions||restrictions resumbmitting||resubmitting retransmited||retransmitted retreived||retrieved -- 2.49.0