net/rxrpc/rxkad.c:1165:1-3: WARNING: PTR_ERR_OR_ZERO can be used

From: kbuild test robot
Date: Sat Jun 04 2016 - 19:19:13 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993
commit: 648af7fca15901740c7aaafd55904ebd54d01860 rxrpc: Absorb the rxkad security module
date: 8 weeks ago


coccinelle warnings: (new ones prefixed by >>)

>> net/rxrpc/rxkad.c:1165:1-3: WARNING: PTR_ERR_OR_ZERO can be used

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation