Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
We got slightly different patches removing a double word
in a comment in net/ipv4/raw.c - picked the version from net.
Simple conflict in drivers/net/ethernet/ibm/ibmvnic.c. Use cached
values instead of VNIC login response buffer (following what
commit 507ebe6444 ("ibmvnic: Fix use-after-free of VNIC login
response buffer") did).
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -153,7 +153,7 @@ skip:
|
||||
case NETXEN_BRDTYPE_P3_4_GB_MM:
|
||||
supported |= SUPPORTED_Autoneg;
|
||||
advertising |= ADVERTISED_Autoneg;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case NETXEN_BRDTYPE_P2_SB31_10G_CX4:
|
||||
case NETXEN_BRDTYPE_P3_10G_CX4:
|
||||
case NETXEN_BRDTYPE_P3_10G_CX4_LP:
|
||||
@@ -182,7 +182,7 @@ skip:
|
||||
supported |= SUPPORTED_TP;
|
||||
check_sfp_module = netif_running(dev) &&
|
||||
adapter->has_link_events;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case NETXEN_BRDTYPE_P2_SB31_10G:
|
||||
case NETXEN_BRDTYPE_P3_10G_XFP:
|
||||
supported |= SUPPORTED_FIBRE;
|
||||
|
||||
@@ -2046,7 +2046,7 @@ int qed_cxt_set_pf_params(struct qed_hwfn *p_hwfn, u32 rdma_tasks)
|
||||
rdma_tasks);
|
||||
/* no need for break since RoCE coexist with Ethernet */
|
||||
}
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case QED_PCI_ETH:
|
||||
{
|
||||
struct qed_eth_pf_params *p_params =
|
||||
|
||||
@@ -3109,14 +3109,14 @@ int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params)
|
||||
p_hwfn->hw_info.hw_mode);
|
||||
if (rc)
|
||||
break;
|
||||
/* Fall through */
|
||||
fallthrough;
|
||||
case FW_MSG_CODE_DRV_LOAD_PORT:
|
||||
rc = qed_hw_init_port(p_hwfn, p_hwfn->p_main_ptt,
|
||||
p_hwfn->hw_info.hw_mode);
|
||||
if (rc)
|
||||
break;
|
||||
|
||||
/* Fall through */
|
||||
fallthrough;
|
||||
case FW_MSG_CODE_DRV_LOAD_FUNCTION:
|
||||
rc = qed_hw_init_pf(p_hwfn, p_hwfn->p_main_ptt,
|
||||
p_params->p_tunn,
|
||||
|
||||
@@ -654,7 +654,7 @@ static int qed_set_int_mode(struct qed_dev *cdev, bool force_mode)
|
||||
kfree(int_params->msix_table);
|
||||
if (force_mode)
|
||||
goto out;
|
||||
/* Fallthrough */
|
||||
fallthrough;
|
||||
|
||||
case QED_INT_MODE_MSI:
|
||||
if (cdev->num_hwfns == 1) {
|
||||
@@ -668,7 +668,7 @@ static int qed_set_int_mode(struct qed_dev *cdev, bool force_mode)
|
||||
if (force_mode)
|
||||
goto out;
|
||||
}
|
||||
/* Fallthrough */
|
||||
fallthrough;
|
||||
|
||||
case QED_INT_MODE_INTA:
|
||||
int_params->out.int_mode = QED_INT_MODE_INTA;
|
||||
|
||||
@@ -1085,7 +1085,7 @@ int qed_mcp_unload_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt)
|
||||
DP_NOTICE(p_hwfn,
|
||||
"Unknown WoL configuration %02x\n",
|
||||
p_hwfn->cdev->wol_config);
|
||||
/* Fallthrough */
|
||||
fallthrough;
|
||||
case QED_OV_WOL_DEFAULT:
|
||||
wol_param = DRV_MB_PARAM_UNLOAD_WOL_MCP;
|
||||
}
|
||||
@@ -1365,7 +1365,7 @@ static void qed_mcp_handle_link_change(struct qed_hwfn *p_hwfn,
|
||||
break;
|
||||
case LINK_STATUS_SPEED_AND_DUPLEX_1000THD:
|
||||
p_link->full_duplex = false;
|
||||
/* Fall-through */
|
||||
fallthrough;
|
||||
case LINK_STATUS_SPEED_AND_DUPLEX_1000TFD:
|
||||
p_link->speed = 1000;
|
||||
break;
|
||||
@@ -2451,7 +2451,7 @@ qed_mcp_get_shmem_proto(struct qed_hwfn *p_hwfn,
|
||||
break;
|
||||
case FUNC_MF_CFG_PROTOCOL_ROCE:
|
||||
DP_NOTICE(p_hwfn, "RoCE personality is not a valid value!\n");
|
||||
/* Fallthrough */
|
||||
fallthrough;
|
||||
default:
|
||||
rc = -EINVAL;
|
||||
}
|
||||
@@ -3546,7 +3546,7 @@ qed_mcp_resc_allocation_msg(struct qed_hwfn *p_hwfn,
|
||||
switch (p_in_params->cmd) {
|
||||
case DRV_MSG_SET_RESOURCE_VALUE_MSG:
|
||||
mfw_resc_info.size = p_in_params->resc_max_val;
|
||||
/* Fallthrough */
|
||||
fallthrough;
|
||||
case DRV_MSG_GET_RESOURCE_ALLOC_MSG:
|
||||
break;
|
||||
default:
|
||||
@@ -3823,7 +3823,7 @@ qed_mcp_resc_unlock(struct qed_hwfn *p_hwfn,
|
||||
DP_INFO(p_hwfn,
|
||||
"Resource unlock request for an already released resource [%d]\n",
|
||||
p_params->resource);
|
||||
/* Fallthrough */
|
||||
fallthrough;
|
||||
case RESOURCE_OPCODE_RELEASED:
|
||||
p_params->b_released = true;
|
||||
break;
|
||||
|
||||
@@ -1542,7 +1542,7 @@ static void ql_link_state_machine_work(struct work_struct *work)
|
||||
if (test_bit(QL_LINK_MASTER, &qdev->flags))
|
||||
ql_port_start(qdev);
|
||||
qdev->port_link_state = LS_DOWN;
|
||||
/* Fall Through */
|
||||
fallthrough;
|
||||
|
||||
case LS_DOWN:
|
||||
if (curr_link_state == LS_UP) {
|
||||
|
||||
@@ -353,7 +353,7 @@ skip:
|
||||
case QLCNIC_BRDTYPE_P3P_4_GB_MM:
|
||||
supported |= SUPPORTED_Autoneg;
|
||||
advertising |= ADVERTISED_Autoneg;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case QLCNIC_BRDTYPE_P3P_10G_CX4:
|
||||
case QLCNIC_BRDTYPE_P3P_10G_CX4_LP:
|
||||
case QLCNIC_BRDTYPE_P3P_10000_BASE_T:
|
||||
@@ -377,7 +377,7 @@ skip:
|
||||
supported |= SUPPORTED_TP;
|
||||
check_sfp_module = netif_running(adapter->netdev) &&
|
||||
ahw->has_link_events;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case QLCNIC_BRDTYPE_P3P_10G_XFP:
|
||||
supported |= SUPPORTED_FIBRE;
|
||||
advertising |= ADVERTISED_FIBRE;
|
||||
|
||||
Reference in New Issue
Block a user