Kernel Tree For Xiaomi 11 Lite NE 5G
Currently hdd_handle_t is defined as a void pointer. This is convenient from an information hiding point of view since that means a non-HDD component cannot dereference an HDD handle to access HDD private data. However this is not convenient from a defect prevention point of view since the C standard allows any other pointer type to be freely and silently converted to and from a void pointer, and hence the compiler is unable to detect when an HDD handle is used in a context where a different pointer type is expected. An example of one such defect was addressed by Change-Id I2bbf1bf4a7975e5cb44066b6a3b1a98e82df9fad (qcacld-3.0: Fix bad param passed during QoS Map conversion). To help prevent this kind of defect change the definition of hdd_handle_t to be a pointer to an opaque struct. Change-Id: I6e885f84c0554bbe5c8582474fddb65ab6a0fdac CRs-Fixed: 2254907 |
||
---|---|---|
components | ||
configs | ||
core | ||
uapi/linux | ||
Android.mk | ||
Kbuild | ||
Kconfig | ||
Makefile | ||
README.txt |
This is CNSS WLAN Host Driver for products starting from iHelium