RE: [PATCH] i40iw: avoid potential uninitialized variable use

From: Ismail, Mustafa
Date: Wed Mar 23 2016 - 16:56:35 EST


> -----Original Message-----
> From: Arnd Bergmann [mailto:arnd@xxxxxxxx]
> Sent: Wednesday, March 23, 2016 5:35 AM
> Subject: [PATCH] i40iw: avoid potential uninitialized variable use
>
> gcc finds that the i40iw_make_cm_node() function in the recently added i40iw
> driver uses an uninitilized variable as an index into an array if CONFIG_IPV6 is
> disabled and the driver uses IPv6 mode:
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Mustafa Ismail <Mustafa.ismail@xxxxxxxxx>