treewide: sec: Address clang-17 build warnings

Change-Id: I3f29a36cfc89fbb9ecc4b4bfbf5c05eac4408dd4
This commit is contained in:
LuK1337
2023-10-21 16:55:38 +02:00
committed by Bruno Martins
parent 354a0b5336
commit a602e03b87
2 changed files with 3 additions and 3 deletions

View File

@@ -16674,7 +16674,7 @@ static void hdd_driver_unload(void)
} }
#if defined (SEC_CONFIG_PSM_SYSFS) #if defined (SEC_CONFIG_PSM_SYSFS)
int wlan_hdd_sec_get_psm() int wlan_hdd_sec_get_psm(void)
{ {
int psm = 0; int psm = 0;

View File

@@ -102,7 +102,7 @@ int is_root(void) {
return 0; return 0;
} }
int is_current_adbd() { int is_current_adbd(void) {
DEK_LOGD("current->comm : %s\n", current->comm); DEK_LOGD("current->comm : %s\n", current->comm);
#if 1 #if 1
if(is_root()) { if(is_root()) {
@@ -118,7 +118,7 @@ int is_current_adbd() {
#endif #endif
} }
int is_current_epmd() { int is_current_epmd(void) {
DEK_LOGD("current->comm : %s\n", current->comm); DEK_LOGD("current->comm : %s\n", current->comm);
#if 1 #if 1
if(is_root()) { if(is_root()) {