Commit 3125eb5
ice: Simplify bitmap setting in adding recipe
Remove unnecessary size checks when copying bitmaps in ice_add_sw_recipe()
and replace them with compile time assert. Check if the bitmaps are equal
size, as they are copied both ways.
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Co-developed-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Signed-off-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>1 parent c563908 commit 3125eb5
1 file changed
Lines changed: 9 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5067 | 5067 | | |
5068 | 5068 | | |
5069 | 5069 | | |
| 5070 | + | |
| 5071 | + | |
| 5072 | + | |
| 5073 | + | |
5070 | 5074 | | |
5071 | 5075 | | |
5072 | 5076 | | |
| |||
5187 | 5191 | | |
5188 | 5192 | | |
5189 | 5193 | | |
5190 | | - | |
5191 | | - | |
5192 | | - | |
5193 | | - | |
5194 | | - | |
5195 | | - | |
5196 | | - | |
| 5194 | + | |
| 5195 | + | |
| 5196 | + | |
5197 | 5197 | | |
5198 | 5198 | | |
5199 | 5199 | | |
| |||
5256 | 5256 | | |
5257 | 5257 | | |
5258 | 5258 | | |
5259 | | - | |
5260 | | - | |
5261 | | - | |
5262 | | - | |
5263 | | - | |
5264 | | - | |
5265 | | - | |
5266 | | - | |
| 5259 | + | |
| 5260 | + | |
5267 | 5261 | | |
5268 | 5262 | | |
5269 | 5263 | | |
| |||
0 commit comments