commit | cf6614db28b1c29472eddeb43391da1f92dc8e10 | [log] [tgz] |
---|---|---|
author | Mauro Rossi <issor.oruam@gmail.com> | Sun Jan 16 16:11:46 2022 +0100 |
committer | Roman Stratiienko <r.stratiienko@gmail.com> | Tue Feb 15 12:06:40 2022 +0200 |
tree | f68c831367c97ea1706db420e8b2d3b7dc93a503 | |
parent | a8927b83ff9abe62a891725a059e50db5c46d160 [diff] |
drm_hwcomposer: fix sign-compare building error in uevent listener d26619b5 ("drm_hwcomposer: CI: Upgrade clang-* to v12") declared 'ret' as ssize_t but after commit 1e053b4e ("drm_hwcomposer: Make uevent listener standalone") drm/UEventListener.cpp is affected by the following builing error: external/drm_hwcomposer/drm/UEventListener.cpp:82:28: error: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'ssize_t' (aka 'int') [-Werror,-Wsign-compare] for (uint32_t i = 0; i < ret;) { ~ ^ ~~~ 1 error generated. Fixes: 1e053b4e ("drm_hwcomposer: Make uevent listener standalone") Signed-off-by: Mauro Rossi <issor.oruam@gmail.com> [RomanS: Fixed CI nitpicks] Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com> Change-Id: Ia97d9019c21ac68be386a627cb101f6e423bbfc7
Patches to drm_hwcomposer are very much welcome, we really want this to be the universal HW composer implementation for Android and similar platforms. So please bring on porting patches, bugfixes, improvements for documentation and new features.
A short list of contribution guidelines:
Submit changes via gitlab merge requests on gitlab.freedesktop.org.
drm_hwcomposer is Apache 2.0 Licensed and we require contributions to follow the developer's certificate of origin: http://developercertificate.org/.
When submitting new code please follow the naming conventions documented in the generated documentation. Also please make full use of all the helpers and convenience macros provided by drm_hwcomposer. The below command can help you with formatting of your patches:
git diff | clang-format-diff-13 -p 1 -style=file
Hardware specific changes should be tested on relevant platforms before committing.
If you need inspiration, please checkout our TODO issues.
Happy hacking!