linux/drivers/net/ethernet/mellanox/mlx5/core
Huy Nguyen 0e97a34083 net/mlx5: Fix invalid pointer reference when prof_sel parameter is invalid
When prof_sel is invalid, mlx5_core_warn is called but the
mlx5_core_dev is not initialized yet. Solution is moving the prof_sel code
after dev->pdev assignment

Fixes: 2974ab6e8b ('net/mlx5: Improve driver log messages')
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-04 14:59:37 -04:00
..
alloc.c {net, ib}/mlx5: Make cache line size determination at runtime. 2016-10-29 12:00:39 -04:00
cmd.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-08-30 00:54:02 -04:00
cq.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
debugfs.c {net,IB}/mlx5: QP/XRCD commands via mlx5 ifc 2016-08-17 17:45:57 +03:00
dev.c net/mlx5: Organize device list API in one place 2016-09-10 21:21:50 -07:00
en_arfs.c net/mlx5: Refactor mlx5_add_flow_rule 2016-07-05 00:06:02 -07:00
en_clock.c ptp_clock: future-proofing drivers against PTP subsystem becoming optional 2016-09-22 02:18:33 -04:00
en_common.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-08-30 00:54:02 -04:00
en_dcbnl.c net/mlx5: Add error prints when validate ETS failed 2016-08-28 23:24:16 -04:00
en_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-09-12 15:52:44 -07:00
en_fs_ethtool.c net/mlx5e: Add support to get ethtool flow rules 2016-07-05 00:06:03 -07:00
en_fs.c net/mlx5e: Restore vlan filter after seamless reset 2016-09-10 21:21:50 -07:00
en_main.c net/mlx5e: Re-arrange XDP SQ/CQ creation 2016-11-04 14:59:35 -04:00
en_rep.c net/mlx5e: Disallow changing name-space for VF representors 2016-11-04 14:59:36 -04:00
en_rx_am.c net/mlx5e: Support adaptive RX coalescing 2016-06-27 04:10:41 -04:00
en_rx.c net/mlx5: E-Switch, Support VLAN actions in the offloads mode 2016-09-23 07:22:12 -04:00
en_stats.h net/mlx5e: XDP TX forwarding support 2016-09-22 02:51:41 -04:00
en_tc.c net/mlx5e: Handle matching on vlan priority for offloaded TC rules 2016-11-04 14:59:36 -04:00
en_tc.h net/mlx5e: Hardware offloaded flower filter statistics support 2016-05-16 13:43:51 -04:00
en_tx.c net/mlx5e: XDP TX forwarding support 2016-09-22 02:51:41 -04:00
en_txrx.c net/mlx5e: XDP TX forwarding support 2016-09-22 02:51:41 -04:00
en.h net/mlx5e: Choose best nearest LRO timeout 2016-10-29 12:00:39 -04:00
eq.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
eswitch_offloads.c net/mlx5: E-Switch, Set the actions for offloaded rules properly 2016-11-04 14:59:37 -04:00
eswitch.c net/mlx5: Change the acl enable prototype to return status 2016-10-29 12:00:39 -04:00
eswitch.h net/mlx5: E-Switch, Support VLAN actions in the offloads mode 2016-09-23 07:22:12 -04:00
fs_cmd.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-09-23 06:46:57 -04:00
fs_cmd.h net/mlx5: LAG demux flow table support 2016-08-18 18:49:56 +03:00
fs_core.c net/mlx5: Simplify a test 2016-11-01 12:16:40 -04:00
fs_core.h net/mlx5: Add sniffer namespaces 2016-08-18 18:49:59 +03:00
fs_counters.c net/mlx5: Correctly initialize last use of flow counters 2016-10-29 12:00:39 -04:00
fw.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
health.c net/mlx5: PCI error recovery health care simulation 2016-10-29 12:00:39 -04:00
Kconfig net/mlx5: Add devlink interface 2016-07-02 14:40:40 -04:00
lag.c net/mlx5: Organize device list API in one place 2016-09-10 21:21:50 -07:00
mad.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
main.c net/mlx5: Fix invalid pointer reference when prof_sel parameter is invalid 2016-11-04 14:59:37 -04:00
Makefile net/mlx5: Organize device list API in one place 2016-09-10 21:21:50 -07:00
mcg.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
mlx5_core.h net/mlx5: PCI error recovery health care simulation 2016-10-29 12:00:39 -04:00
mr.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
pagealloc.c net/mlx5: Avoid passing dma address 0 to firmware 2016-10-29 12:00:39 -04:00
pd.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
port.c net/mlx5: Separate query_port_proto_oper for IB and EN 2016-08-18 18:49:52 +03:00
qp.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
rl.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
sriov.c net/mlx5: Align sriov/eswitch modules with the new load/unload flow. 2016-09-10 21:21:50 -07:00
srq.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
transobj.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
uar.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
vport.c net/mlx5: Enable setting minimum inline header mode for VFs 2016-08-17 17:45:59 +03:00
vxlan.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
vxlan.h mlx5: Fix merge errors. 2016-05-09 22:05:13 -04:00
wq.c net/mlx5: use mlx5_buf_alloc_node instead of mlx5_buf_alloc in mlx5_wq_ll_create 2016-06-28 05:17:38 -04:00
wq.h