bna: Fix return value check for debugfs create APIs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bna: Fix return value check for debugfs create APIsdrivers/ | +9 | 7 replies | |
| 2/2 | bna: Remove field bnad_dentry_files[] in struct bnaddrivers/ drivers/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] bna: Fix return value check for debugfs create APIs
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(-)
Signature · 1 line
2.34.1