aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/genxml/gen_pack_header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py
index 0bf838de8c6..9675b4b4d52 100644
--- a/src/intel/genxml/gen_pack_header.py
+++ b/src/intel/genxml/gen_pack_header.py
@@ -306,7 +306,7 @@ class Field(object):
print(" %-36s %s%s;" % (type, self.name, dim))
prefix = ""
- if self.values and self.default == None:
+ if self.values and self.default is None:
if self.prefix:
prefix = self.prefix + "_"