From: Changyeon Lee Date: Wed, 18 Jul 2018 10:36:20 +0000 (+0900) Subject: fixed wrong checking abi version of module X-Git-Tag: accepted/tizen/unified/20180813.061409~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F184516%2F3;p=platform%2Fcore%2Fuifw%2Flibtdm.git fixed wrong checking abi version of module if minor version of module less than minimum minor version, func return false even if major version greater than minimum major version. so patch fixed it Change-Id: I6bb6a9dc7d46d4b6e949577f01d5bb443bc99b49 --- diff --git a/src/tdm_display.c b/src/tdm_display.c index 45ccdf2..297dd70 100644 --- a/src/tdm_display.c +++ b/src/tdm_display.c @@ -850,6 +850,9 @@ tdm_module_check_abi(tdm_private_module *private_module, int abimaj, int abimin) { tdm_backend_module *module = private_module->module_data; + if (TDM_BACKEND_GET_ABI_MAJOR(module->abi_version) > abimaj) + return 1; + if (TDM_BACKEND_GET_ABI_MAJOR(module->abi_version) < abimaj) return 0;