No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dustin Brown 1723d45ad2 qcacmn: Don't inline QDF_DEBUG_PANIC for debug builds
Calling panic can cause a compiler to assume any subsequent code is
unreachable. Because these panics may or may not be enabled by the
build configuration, this can cause developers some pain. Consider:

	bool bit;

	if (ptr)
		bit = ptr->returns_bool();
	else
		panic();

	// do stuff with @bit

	return bit;

In this case, @bit is potentially uninitialized when we return!
However, the compiler can correctly assume this case is impossible when
PANIC_ON_BUG is enabled. Because developers typically enable this
feature, the "maybe uninitialized" warning will not be emitted, and the
issue remains uncaught until someone tries to make a build without
PANIC_ON_BUG.

A simple workaround, is to put the definition of QDF_DEBUG_PANIC in
another compilation unit, which prevents the compiler from assuming
subsequent code is unreachable. For CONFIG_SLUB_DEBUG, do this to
catch issues earlier. Otherwise, use the typical inlined approach.

Change-Id: I8901fd33781ccb8229fad16343a5b08d97cdcf68
CRs-Fixed: 2202527
2018-03-09 00:10:40 -08:00
dp qcacmn: Set the pdev mask based on channel id 2018-03-08 22:06:11 -08:00
ftm
global_lmac_if
hal/wifi3.0 qcacmn: Assign lmac id on tx packet enqueue 2018-03-08 18:47:14 -08:00
hif qcacmn: Featurize EPPING Feature 2018-03-07 03:55:50 -08:00
htc qcacmn: Add HTC Credit History Feature flag 2018-03-08 18:47:17 -08:00
init_deinit/dispatcher
os_if/linux
qdf qcacmn: Don't inline QDF_DEBUG_PANIC for debug builds 2018-03-09 00:10:40 -08:00
scheduler
spectral
target_if qcacmn: Add NULL check for wmi_hdl before use 2018-03-08 18:47:11 -08:00
umac qcacmn: Free ROC context if p2p_scan_abort failed 2018-03-08 18:47:09 -08:00
utils qcacmn: Featurize EPPING Feature 2018-03-07 03:55:50 -08:00
wlan_cfg
wmi qcacmn: Implement extract_comb/single_phyerr for tlv 2018-03-08 22:06:14 -08:00
README.txt
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium