Prechádzať zdrojové kódy

Merge "qcacmn: serialization: Replace instances of unadorned %p"

Linux Build Service Account 7 rokov pred
rodič
commit
56b85b3a4f

+ 1 - 0
qdf/src/qdf_cpuhp.c

@@ -152,6 +152,7 @@ void qdf_cpuhp_unregister(struct qdf_cpuhp_handler **out_handler)
 	qdf_list_remove_node(&qdf_cpuhp_handlers, &handler->node);
 	qdf_mutex_release(&qdf_cpuhp_lock);
 
+	qdf_mem_free(handler);
 	*out_handler = NULL;
 }
 

+ 2 - 4
umac/cmn_services/serialization/src/wlan_serialization_dequeue.c

@@ -134,10 +134,8 @@ wlan_serialization_remove_all_cmd_from_queue(qdf_list_t *queue,
 		 */
 		if (is_active_queue) {
 			if (!psoc || !cmd_list) {
-			    serialization_err("Can't find cmd psoc:0x%p",
-					      psoc);
-			    serialization_err("Can't find cmd cmd_list:0x%p",
-					      cmd_list);
+				serialization_err("psoc:0x%pK, cmd_list:0x%pK",
+						  psoc, cmd_list);
 				status = WLAN_SER_CMD_NOT_FOUND;
 				break;
 			}