Re: [PATCH] net: hns3: avoid -Wpointer-bool-conversion warning

From: patchwork-bot+netdevbpf
Date: Thu Feb 04 2021 - 22:01:13 EST


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Thu, 4 Feb 2021 16:38:06 +0100 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> clang points out a redundant sanity check:
>
> drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:497:28: error: address of array 'filp->f_path.dentry->d_iname' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
>
> This can never fail, so just remove the check.
>
> [...]

Here is the summary with links:
- net: hns3: avoid -Wpointer-bool-conversion warning
https://git.kernel.org/netdev/net-next/c/8f8a42ff003a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html