[PATCH 34/37] drm: Replace 'format->format' comparisons to just 'format' comparisons

2016-11-19 Thread Laurent Pinchart
Hi Ville, Thank you for the patch. On Friday 18 Nov 2016 21:53:10 ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Rather than compare the format u32s of two format infos, we can direclty > compare the format info pointers themselves. Noramlly all the ->format > pointers all

[PATCH 34/37] drm: Replace 'format->format' comparisons to just 'format' comparisons

2016-11-18 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Rather than compare the format u32s of two format infos, we can direclty compare the format info pointers themselves. Noramlly all the ->format pointers all point to somwehere in the big array, so this is a valid way to test for equality.