“d38e787eccb7afd069e33b2f4a32e02e0ad8decb”上不存在“drivers/git@gitcode.net:openeuler/kernel.git”
-
由 Colin Ian King 提交于
An earlier fix changed the return type from find_bb_size however the integer return is being assigned to a unsigned int so the -ve error check will never be detected. Make bb_size an int to fix this. Detected by CoverityScan CID#1456886 ("Unsigned compared against 0") Fixes: 1e3197d6 ("drm/i915/gvt: Refine error handling for perform_bb_shadow") Signed-off-by: NColin Ian King <colin.king@canonical.com> Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com> (cherry picked from commit 24f8a29a) Signed-off-by: NJani Nikula <jani.nikula@intel.com>
dcd1d830