linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4] wifi: ath6kl: Remove error checking for debugfs_create_dir()
@ 2023-07-26 11:11 Wang Ming
  2023-07-27 15:56 ` Kalle Valo
  2023-08-02 18:22 ` Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Wang Ming @ 2023-07-26 11:11 UTC (permalink / raw)
  To: Kalle Valo, Stephen Rothwell, linux-wireless, linux-kernel
  Cc: opensource.kernel, Wang Ming

It is expected that most callers should _ignore_ the errors
return by debugfs_create_dir() in ath6kl_debug_init_fs().

Signed-off-by: Wang Ming <machel@vivo.com>
---
 drivers/net/wireless/ath/ath6kl/debug.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c
index 433a047f3747..b837d31416df 100644
--- a/drivers/net/wireless/ath/ath6kl/debug.c
+++ b/drivers/net/wireless/ath/ath6kl/debug.c
@@ -1793,8 +1793,6 @@ int ath6kl_debug_init_fs(struct ath6kl *ar)
 {
 	ar->debugfs_phy = debugfs_create_dir("ath6kl",
 					     ar->wiphy->debugfsdir);
-	if (!ar->debugfs_phy)
-		return -ENOMEM;
 
 	debugfs_create_file("tgt_stats", 0400, ar->debugfs_phy, ar,
 			    &fops_tgt_stats);
-- 
2.25.1


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

* Re: [PATCH net-next v4] wifi: ath6kl: Remove error checking for debugfs_create_dir()
  2023-07-26 11:11 [PATCH net-next v4] wifi: ath6kl: Remove error checking for debugfs_create_dir() Wang Ming
@ 2023-07-27 15:56 ` Kalle Valo
  2023-08-02 18:22 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2023-07-27 15:56 UTC (permalink / raw)
  To: Wang Ming
  Cc: Stephen Rothwell, linux-wireless, linux-kernel, opensource.kernel

Wang Ming <machel@vivo.com> writes:

> It is expected that most callers should _ignore_ the errors
> return by debugfs_create_dir() in ath6kl_debug_init_fs().
>
> Signed-off-by: Wang Ming <machel@vivo.com>

ath6kl patches go to ath-next, not net-next. So do *not* put net-next
into Subject. No need to resend because of this.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

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

* Re: [PATCH net-next v4] wifi: ath6kl: Remove error checking for debugfs_create_dir()
  2023-07-26 11:11 [PATCH net-next v4] wifi: ath6kl: Remove error checking for debugfs_create_dir() Wang Ming
  2023-07-27 15:56 ` Kalle Valo
@ 2023-08-02 18:22 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2023-08-02 18:22 UTC (permalink / raw)
  To: Wang Ming
  Cc: Stephen Rothwell, linux-wireless, linux-kernel, opensource.kernel,
	Wang Ming

Wang Ming <machel@vivo.com> wrote:

> It is expected that most callers should _ignore_ the errors
> return by debugfs_create_dir() in ath6kl_debug_init_fs().
> 
> Signed-off-by: Wang Ming <machel@vivo.com>

This has been already applied:
https://git.kernel.org/kvalo/ath/c/1301783c8def

Patch set to Superseded.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230726111209.4096-1-machel@vivo.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


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

end of thread, other threads:[~2023-08-02 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-26 11:11 [PATCH net-next v4] wifi: ath6kl: Remove error checking for debugfs_create_dir() Wang Ming
2023-07-27 15:56 ` Kalle Valo
2023-08-02 18:22 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).