From 9797fa1ae3a7ce5fa467d9758973ef262a354fbb Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 28 Aug 2017 11:00:07 -0700 Subject: [PATCH] qcacld-3.0: Replace hdd_context_t in wlan_hdd_fips.c The Linux Coding Style enumerates a few special cases where typedefs are useful, but stresses "NEVER EVER use a typedef unless you can clearly match one of those rules." The hdd_context_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: I8a8189717acf389b326325c1edb64b7df904fa47 CRs-Fixed: 2100141 --- core/hdd/src/wlan_hdd_fips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_fips.c b/core/hdd/src/wlan_hdd_fips.c index a472dba76453..4545ba6f9db8 100644 --- a/core/hdd/src/wlan_hdd_fips.c +++ b/core/hdd/src/wlan_hdd_fips.c @@ -170,7 +170,7 @@ static int __hdd_fips_test(struct net_device *dev, union iwreq_data *wrqu, char *extra) { hdd_adapter_t *adapter; - hdd_context_t *hdd_ctx; + struct hdd_context *hdd_ctx; struct iw_fips_test_request *user_request; struct iw_fips_test_response *user_response; uint32_t request_len;