OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon
xypron.glpk@gmx.de 8da07a393f net: hns: avoid null pointer dereference
In the statement
  assert(priv || priv->ae_handle);
the right side of || is only evaluated if priv is null.

v2:
	As suggested by David Leight and David Miller the assert
	statements are removed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-23 13:54:03 -07:00
..
hns net: hns: avoid null pointer dereference 2016-05-23 13:54:03 -07:00
Kconfig net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM 2016-03-07 14:45:07 -05:00
Makefile net: add Hisilicon Network Subsystem hnae framework support 2015-09-20 21:42:57 -07:00
hip04_eth.c hip04_eth: fix missing error handle for build_skb failed 2016-01-13 15:48:14 -05:00
hix5hd2_gmac.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
hns_mdio.c net: hns: fixes no syscon error when init mdio 2016-01-15 14:40:03 -05:00