gfx: pvr: fw_version should compare 4 integers instead of 4 bytes
authorOlev Kartau <olev.kartau@intel.com>
Fri, 16 Mar 2012 07:05:20 +0000 (09:05 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:45 +0000 (12:30 +0300)
commitd8c64a2ad97d050f7011aab1ef153316ccd6a3b8
treed5ca0e8e92d7ced9ec796c6b34014c16e57b9cc5
parent1334c626cde10d7fa4be24f7d1a91bfef904f8c1
gfx: pvr: fw_version should compare 4 integers instead of 4 bytes

sizeof() was misused in fw_version_supported;
If array is given as argument, the size of it is size of pointer,
so comparison used only first 4 bytes instead of 4 integers,
which made all entries to match.

Signed-off-by: Olev Kartau <olev.kartau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c