Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Jiapeng Zhong authored
coccicheck suggested using PTR_ERR_OR_ZERO() and looking at the code.

Fix the following coccicheck warnings:

./net/bridge/br_multicast.c:1295:7-13: WARNING: PTR_ERR_OR_ZERO can be
used.

Reported-by: default avatarAbaci <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Acked-by: default avatarNikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/1611542381-91178-1-git-send-email-abaci-bugfix@linux.alibaba.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
8d21c882
Forked from BeagleBoard.org / Linux
Loading
Name Last commit Last update