Browse Source

qcacmn: Fix style issue in crypto register functions

Fix the following ERROR-level issue reported by checkpatch:
open brace '{' following function declarations go on the next line

Reported in the following functions:
wep_register()
wapi_register()
ccmp_register()
ccmp256_register()
gcmp_register()
gcmp256_register()
tkip_register()
none_register()

Change-Id: Ie463976295625de38ebb71aea8da2d25239db9a3
CRs-Fixed: 2241593
Jeff Johnson 7 years ago
parent
commit
f0296ccc96

+ 8 - 4
umac/cmn_services/crypto/src/wlan_crypto_ccmp.c

@@ -298,18 +298,22 @@ const struct wlan_crypto_cipher gcmp256_cipher_table = {
 	ccmp_demic,
 };
 
-const struct wlan_crypto_cipher *ccmp_register(void){
+const struct wlan_crypto_cipher *ccmp_register(void)
+{
 	return &ccmp_cipher_table;
 }
 
-const struct wlan_crypto_cipher *ccmp256_register(void){
+const struct wlan_crypto_cipher *ccmp256_register(void)
+{
 	return &ccmp256_cipher_table;
 }
 
-const struct wlan_crypto_cipher *gcmp_register(void){
+const struct wlan_crypto_cipher *gcmp_register(void)
+{
 	return &gcmp_cipher_table;
 }
 
-const struct wlan_crypto_cipher *gcmp256_register(void){
+const struct wlan_crypto_cipher *gcmp256_register(void)
+{
 	return &gcmp256_cipher_table;
 }

+ 3 - 2
umac/cmn_services/crypto/src/wlan_crypto_none.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -77,6 +77,7 @@ const struct wlan_crypto_cipher none_cipher_table = {
 	none_demic,
 };
 
-const struct wlan_crypto_cipher *none_register(void){
+const struct wlan_crypto_cipher *none_register(void)
+{
 	return &none_cipher_table;
 }

+ 2 - 1
umac/cmn_services/crypto/src/wlan_crypto_tkip.c

@@ -168,6 +168,7 @@ const struct wlan_crypto_cipher tkip_cipher_table = {
 	tkip_demic,
 };
 
-const struct wlan_crypto_cipher *tkip_register(void){
+const struct wlan_crypto_cipher *tkip_register(void)
+{
 	return &tkip_cipher_table;
 }

+ 3 - 2
umac/cmn_services/crypto/src/wlan_crypto_wapi.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -78,6 +78,7 @@ const struct wlan_crypto_cipher wapi_cipher_table = {
 	wapi_demic,
 };
 
-const struct wlan_crypto_cipher *wapi_register(void){
+const struct wlan_crypto_cipher *wapi_register(void)
+{
 	return &wapi_cipher_table;
 }

+ 2 - 1
umac/cmn_services/crypto/src/wlan_crypto_wep.c

@@ -155,7 +155,8 @@ const struct wlan_crypto_cipher wep_cipher_table = {
 	wep_demic,
 };
 
-const struct wlan_crypto_cipher *wep_register(void){
+const struct wlan_crypto_cipher *wep_register(void)
+{
 	return &wep_cipher_table;
 }