All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] bna: Fix return value check for debugfs create APIs
@ 2024-10-23  8:09 Zhen Lei
  2024-10-23  8:09 ` [PATCH 1/2] " Zhen Lei
  2024-10-23  8:09 ` [PATCH 2/2] bna: Remove field bnad_dentry_files[] in struct bnad Zhen Lei
  0 siblings, 2 replies; 10+ messages in thread
From: Zhen Lei @ 2024-10-23  8:09 UTC (permalink / raw)
  To: Rasesh Mody, Sudarsana Kalluru, GR-Linux-NIC-Dev, Andrew Lunn,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	netdev
  Cc: Zhen Lei

1. Fix the incorrect return value check for debugfs_create_dir() and
   debugfs_create_file(), which returns ERR_PTR(-ERROR) instead of NULL
   when it fails.
2. Remove field bnad_dentry_files[] in struct bnad. When a directory is
   deleted, files in the directory are automatically deleted. Therefore,
   there is need to record these files.

Zhen Lei (2):
  bna: Fix return value check for debugfs create APIs
  bna: Remove field bnad_dentry_files[] in struct bnad

 drivers/net/ethernet/brocade/bna/bnad.h       |  1 -
 .../net/ethernet/brocade/bna/bnad_debugfs.c   | 34 ++++++++-----------
 2 files changed, 14 insertions(+), 21 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-10-25 12:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23  8:09 [PATCH 0/2] bna: Fix return value check for debugfs create APIs Zhen Lei
2024-10-23  8:09 ` [PATCH 1/2] " Zhen Lei
2024-10-24 12:13   ` Simon Horman
2024-10-24 13:26     ` Leizhen (ThunderTown)
2024-10-24 14:04       ` Andrew Lunn
2024-10-25  3:55         ` Leizhen (ThunderTown)
2024-10-24 15:27       ` Simon Horman
2024-10-25  4:17         ` Leizhen (ThunderTown)
2024-10-25 12:09           ` Simon Horman
2024-10-23  8:09 ` [PATCH 2/2] bna: Remove field bnad_dentry_files[] in struct bnad Zhen Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.