Re: [PATCH v2] wcn36xx: Add support for Factory Test Mode (FTM)

From: Kalle Valo
Date: Tue May 22 2018 - 09:03:11 EST


Ramon Fried <ramon.fried@xxxxxxxxx> writes:

> From: Eyal Ilsar <eilsar@xxxxxxxxxxxxxx>
>
> Introduce infrastructure for supporting Factory Test Mode (FTM) of the
> wireless LAN subsystem. In order for the user space to access the
> firmware in test mode the relevant netlink channel needs to be exposed
> from the kernel driver.
>
> The above is achieved as follows:
> 1) Register wcn36xx driver to testmode callback from netlink
> 2) Add testmode callback implementation to handle incoming FTM commands
> 3) Add FTM command packet structure
> 4) Add handling for GET_BUILD_RELEASE_NUMBER (msgid=0x32A2)
> 5) Add generic handling for all PTT_MSG packets
>
> Signed-off-by: Eyal Ilsar <eilsar@xxxxxxxxxxxxxx>
> Signed-off-by: Ramon Fried <ramon.fried@xxxxxxxxxx>

kbuild bot reported a warning:

drivers/net/wireless/ath/wcn36xx/testmode.c:122:5: warning: 'msg' may be used uninitialized in this function [-Wmaybe-uninitialized]

--
Kalle Valo