android_kernel_samsung_a7y1.../drivers/infiniband
Alaa Hleihel 690c4996f9 IB/ipoib: Do not warn if IPoIB debugfs doesn't exist
[ Upstream commit 14fa91e0fef8e4d6feb8b1fa2a807828e0abe815 ]

netdev_wait_allrefs() could rebroadcast NETDEV_UNREGISTER event
multiple times until all refs are gone, which will result in calling
ipoib_delete_debug_files multiple times and printing a warning.

Remove the WARN_ONCE since checks of NULL pointers before calling
debugfs_remove are not needed.

Fixes: 771a52584096 ("IB/IPoIB: ibX: failed to create mcg debug file")
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 14:23:46 +02:00
..
core RMDA/cm: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen() 2020-04-07 14:10:40 +02:00
hw IB/mlx5: Add missing XRC options to QP optional params mask 2020-04-07 13:41:42 +02:00
ulp IB/ipoib: Do not warn if IPoIB debugfs doesn't exist 2020-04-07 14:23:46 +02:00
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30