[Intel-wired-lan] [next-queue] fm10k: do not use enum as boolean

Singh, Krishneil K krishneil.k.singh at intel.com
Wed Sep 30 19:05:46 UTC 2015


-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob Keller
Sent: Monday, August 24, 2015 5:02 PM
To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
Subject: [Intel-wired-lan] [next-queue] fm10k: do not use enum as boolean

Check for actual value NETREG_UNINITIALIZED in case it ever changes from the current value of zero.

Signed-off-by: Bruce Allan <bruce.w.allan at intel.com>
---
 
Tested-by: Krishneil Singh <krishneil.k.singh at intel.com>




More information about the Intel-wired-lan mailing list