|
Lines 183-191
static int iwl_dbg_tlv_alloc_region(struct iwl_trans *trans,
Link Here
|
| 183 |
/* For safe using a string from FW make sure we have a |
183 |
/* For safe using a string from FW make sure we have a |
| 184 |
* null terminator |
184 |
* null terminator |
| 185 |
*/ |
185 |
*/ |
| 186 |
reg->name[IWL_FW_INI_MAX_NAME - 1] = 0; |
186 |
IWL_DEBUG_FW(trans, "WRT: parsing region: %.*s\n", IWL_FW_INI_MAX_NAME, reg->name); |
| 187 |
|
|
|
| 188 |
IWL_DEBUG_FW(trans, "WRT: parsing region: %s\n", reg->name); |
| 189 |
|
187 |
|
| 190 |
if (id >= IWL_FW_INI_MAX_REGION_ID) { |
188 |
if (id >= IWL_FW_INI_MAX_REGION_ID) { |
| 191 |
IWL_ERR(trans, "WRT: Invalid region id %u\n", id); |
189 |
IWL_ERR(trans, "WRT: Invalid region id %u\n", id); |
| 192 |
- |
|
|