OSDN Git Service

drm/i915/fbc: s/false/0/
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Apr 2022 15:28:52 +0000 (18:28 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 25 Apr 2022 15:48:03 +0000 (18:48 +0300)
commit14eb76f73e4390e1da448e86b9a8ad22c3f25119
tree80be677ae199f890020171bdafbb2ee5ac7f1186
parent3e1faae3398789abe8d4797255bfe28d95d81308
drm/i915/fbc: s/false/0/

intel_fbc_check_plane() is supposed to an int, not a boolean.
So replace the bogus 'return false's with the correct 'return 0's.
These were accidental copy-paste mistakes when the code got moved
into intel_fbc_check_plane() from somewhere else tht did return
a boolean.

No functional issue here since false==0.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220413152852.7336-2-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
drivers/gpu/drm/i915/display/intel_fbc.c