summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAlaa Hleihel <alaa@mellanox.com>2018-02-13 12:18:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-02 19:02:34 +0200
commit8d348c13b512db3e0206692b8b7f6f6f3c856c85 (patch)
tree209743f5bf2b785a80565bd7578f73c603473c0e /include/uapi
parent79152052fbb703ff5f66778b3e585c69b95d83d2 (diff)
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>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions