Skip to content

Commit 934da21

Browse files
committed
Johannes Berg says: ==================== Just two fixes: - fix crash in rfkill due to uninitialized type_name - fix aggregation in iwlwifi 7000/8000 devices * tag 'wireless-2025-09-17' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless: net: rfkill: gpio: Fix crash due to dereferencering uninitialized pointer wifi: iwlwifi: pcie: fix byte count table for some devices ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
2 parents d7995c2 + b6f56a4 commit 934da21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2092,7 +2092,7 @@ static void iwl_txq_gen1_update_byte_cnt_tbl(struct iwl_trans *trans,
20922092
break;
20932093
}
20942094

2095-
if (trans->mac_cfg->device_family >= IWL_DEVICE_FAMILY_9000 &&
2095+
if (trans->mac_cfg->device_family >= IWL_DEVICE_FAMILY_7000 &&
20962096
trans->mac_cfg->device_family < IWL_DEVICE_FAMILY_AX210)
20972097
len = DIV_ROUND_UP(len, 4);
20982098

net/rfkill/rfkill-gpio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ static const struct dmi_system_id rfkill_gpio_deny_table[] = {
9494
static int rfkill_gpio_probe(struct platform_device *pdev)
9595
{
9696
struct rfkill_gpio_data *rfkill;
97-
struct gpio_desc *gpio;
97+
const char *type_name = NULL;
9898
const char *name_property;
9999
const char *type_property;
100-
const char *type_name;
100+
struct gpio_desc *gpio;
101101
int ret;
102102

103103
if (dmi_check_system(rfkill_gpio_deny_table))

0 commit comments

Comments
 (0)