From 459d3236ad453642db3b99817c10a57d7d77faa4 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Mon, 11 Aug 2014 22:18:29 -0400 Subject: [PATCH] staging/lustre/lnet: Fix potential uninitialized variable warning Greg reports that with one of the patches in his queue there's now an unused variable warning in lnet_parse_ip2nets for ipaddrs variable. Apparently the warning is a false positive as in all cases where lnet_ipaddr_enumerate can return without setting ipaddrs to something a negative return value is returned that is then checked before we actually use ipaddrs. Assign ipaddrs to NULL to quiet this. Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed