From fa099795fa49f3cf30535976fdaeaab0b06a4a54 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 29 Aug 2017 14:05:37 -0700 Subject: [PATCH] qcacmn: Replace hdd_adapter_t in wlan_logging_sock_svc 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_adapter_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: Ia5177a671f3657a23e88ec1a47c6ed0ac569934a CRs-Fixed: 2100985 --- utils/logging/src/wlan_logging_sock_svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c index d6a8487174de..7bcca368f9e7 100644 --- a/utils/logging/src/wlan_logging_sock_svc.c +++ b/utils/logging/src/wlan_logging_sock_svc.c @@ -1236,7 +1236,7 @@ static void send_packetdump(qdf_nbuf_t netbuf, uint8_t status, struct ath_pktlog_hdr pktlog_hdr = {0}; struct packet_dump pd_hdr = {0}; struct hdd_context *hdd_ctx; - hdd_adapter_t *adapter; + struct hdd_adapter *adapter; v_CONTEXT_t vos_ctx; vos_ctx = cds_get_global_context();