hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/wireless/ath/ath6kl/init.c
....@@ -710,8 +710,8 @@
710710 for_each_compatible_node(node, NULL, "atheros,ath6kl") {
711711 board_id = of_get_property(node, board_id_prop, NULL);
712712 if (board_id == NULL) {
713
- ath6kl_warn("No \"%s\" property on %s node.\n",
714
- board_id_prop, node->name);
713
+ ath6kl_warn("No \"%s\" property on %pOFn node.\n",
714
+ board_id_prop, node);
715715 continue;
716716 }
717717 snprintf(board_filename, sizeof(board_filename),
....@@ -1140,7 +1140,7 @@
11401140
11411141 len -= ie_len;
11421142 data += ie_len;
1143
- };
1143
+ }
11441144
11451145 ret = 0;
11461146 out:
....@@ -1575,7 +1575,7 @@
15751575
15761576 int ath6kl_init_hw_params(struct ath6kl *ar)
15771577 {
1578
- const struct ath6kl_hw *uninitialized_var(hw);
1578
+ const struct ath6kl_hw *hw;
15791579 int i;
15801580
15811581 for (i = 0; i < ARRAY_SIZE(hw_list); i++) {
....@@ -1752,7 +1752,7 @@
17521752
17531753 ret = ath6kl_init_service_ep(ar);
17541754 if (ret) {
1755
- ath6kl_err("Endpoint service initilisation failed: %d\n", ret);
1755
+ ath6kl_err("Endpoint service initialization failed: %d\n", ret);
17561756 goto err_cleanup_scatter;
17571757 }
17581758