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

patchwork-bot+netdevbpf
2021-02-05T03:01:40Z

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@arndb.de>
>
> 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.