Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -Wformat errors with explicit void* -> char* cast. #2

Open
wants to merge 1 commit into
base: arrow-12.0-caf-sm8350
Choose a base branch
from

Conversation

ravikiranp123
Copy link

hardware/qcom/sm7250/display/sde-drm/drm_plane.cpp:439:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~

hardware/qcom/sm7250/display/sde-drm/drm_connector.cpp:497:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~

hardware/qcom/sm7250/display/sde-drm/drm_connector.cpp:580:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~

hardware/qcom/sm7250/display/sde-drm/drm_crtc.cpp:308:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~

Bug: http://b/155835175
Bug: http://b/169166735
Test: m
Change-Id: Ie9c174aaa38bb9a492b433b27ebafcfe1e1fc115
Merged-In: Ie9c174aaa38bb9a492b433b27ebafcfe1e1fc115
(cherry picked from commit d6c77ce7fae676a501db369ea2c2378f14cda6b2)

hardware/qcom/sm7250/display/sde-drm/drm_plane.cpp:439:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
           blob->data, blob->length);
           ^~~~~~~~~~

hardware/qcom/sm7250/display/sde-drm/drm_connector.cpp:497:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
           blob->data, blob->length);
           ^~~~~~~~~~

hardware/qcom/sm7250/display/sde-drm/drm_connector.cpp:580:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
           blob->data, blob->length);
           ^~~~~~~~~~

hardware/qcom/sm7250/display/sde-drm/drm_crtc.cpp:308:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
           blob->data, blob->length);
           ^~~~~~~~~~

Bug: http://b/155835175
Bug: http://b/169166735
Test: m
Change-Id: Ie9c174aaa38bb9a492b433b27ebafcfe1e1fc115
Merged-In: Ie9c174aaa38bb9a492b433b27ebafcfe1e1fc115
(cherry picked from commit d6c77ce7fae676a501db369ea2c2378f14cda6b2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants