intel/dev: Assert the number of slices is not zero
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 5 Apr 2018 07:38:46 +0000 (10:38 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 10 Apr 2018 22:49:56 +0000 (01:49 +0300)
commit26f48fe01092e2fb05daaa5090ac69f8a86a2cfd
tree20e0ac7fef3b89959946ab6793347441412c1a23
parent8960903c90e65c4d824e4ec247e5135d6909caa1
intel/dev: Assert the number of slices is not zero

Fixes: c1900f5b intel: devinfo: add helper functions to fill...
CID: 1433511
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/dev/gen_device_info.c