Skip to content
Commit 552326f2 authored by Quoc Khanh Le's avatar Quoc Khanh Le Committed by Quoc Khanh Le
Browse files

drm:update the return type of drm_virtcon_mode_valid function



When Control Flow Integrity (CFI) is enabled, making a direct
function call using an incompatible function pointer results
in a CFI failure.

The return type of the drm_virtcon_mode_valid function must
match the return type specified in struct
drm_connector_helper_funcs->mode_valid.

Signed-off-by: default avatarQuoc Khanh Le <QuocKhanh.Le@arm.com>
parent 2c582400
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment