diff options
author | dianlujitao <dianlujitao@lineageos.org> | 2018-05-12 13:17:40 +0800 |
---|---|---|
committer | dianlujitao <dianlujitao@lineageos.org> | 2018-05-12 13:17:40 +0800 |
commit | f41aeb31fa6e0dccdfa9e0e2a84e4ceff3f00fed (patch) | |
tree | 7ba602be8bb9029fba25fc0d28e7f8d764ed086b | |
parent | 5292f9b93454f425d6726840b3eb42c8fd0375b3 (diff) | |
download | android_vendor_qcom_opensource_cryptfs_hw-f41aeb31fa6e0dccdfa9e0e2a84e4ceff3f00fed.tar.gz android_vendor_qcom_opensource_cryptfs_hw-f41aeb31fa6e0dccdfa9e0e2a84e4ceff3f00fed.tar.bz2 android_vendor_qcom_opensource_cryptfs_hw-f41aeb31fa6e0dccdfa9e0e2a84e4ceff3f00fed.zip |
cryptfs_hw: Properly define log taglineage-15.1
* LOG_TAG should be defined before including log.h
vendor/qcom/opensource/cryptfs_hw/cryptfs_hw.c:45:9: warning: 'LOG_TAG'
macro redefined [-Wmacro-redefined]
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is
here
Change-Id: Id6fdf6f1582360514de9140bd42feaa698527557
-rwxr-xr-x | cryptfs_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptfs_hw.c b/cryptfs_hw.c index 4e4a7ba..5b52eb6 100755 --- a/cryptfs_hw.c +++ b/cryptfs_hw.c @@ -26,6 +26,8 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#define LOG_TAG "Cryptfs_hw" + #include <stdlib.h> #include <string.h> #include <sys/limits.h> @@ -42,8 +44,6 @@ #include "hardware.h" #include "cryptfs_hw.h" -#define LOG_TAG "Cryptfs_hw" - #ifdef LEGACY_HW_DISK_ENCRYPTION #if defined(__LP64__) #define QSEECOM_LIBRARY_PATH "/vendor/lib64/libQSEEComAPI.so" |