Messages in this thread |  | | Subject | Re: [PATCH] net: hns3: avoid -Wpointer-bool-conversion warning | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 05 Feb 2021 03:00:08 +0000 |
| |
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. https://korg.docs.kernel.org/patchwork/pwbot.html
|  |