-
Ville Syrjälä authored
AT_LEAST_GEN() seems utterluy pointless. Just compare the numbers the natural way. Partly done with cocci (until it choked on the igt magic constructs): @@ expression devid, ver; @@ ( - !AT_LEAST_GEN(devid, ver) + intel_gen(devid) < ver | - AT_LEAST_GEN(devid, ver) + intel_gen(devid) >= ver ) Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
5aa24417
Loading