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

2016-03-23 Thread Ismail, Mustafa
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > 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

[PATCH] i40iw: avoid potential uninitialized variable use

2016-03-23 Thread Arnd Bergmann
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: drivers/infiniband/hw/i40iw/i40iw_cm.c: In function 'i40iw_make_cm_node': drivers/infiniband/hw/i40i