mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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
This commit is contained in:
parent
5e8e07a94a
commit
f0296ccc96
5 changed files with 18 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue