70ecaadb49
[ Upstream commit 4745ea2628bb43a7ec34b71763b5a56407b33990 ]
Return NULL instead of passing to ERR_PTR while err is zero,
this fix smatch warnings:
drivers/xen/xen-pciback/conf_space_capability.c:163
pm_ctrl_init() warn: passing zero to 'ERR_PTR'
Fixes:
|
||
---|---|---|
.. | ||
conf_space_capability.c | ||
conf_space_header.c | ||
conf_space_quirks.c | ||
conf_space_quirks.h | ||
conf_space.c | ||
conf_space.h | ||
Makefile | ||
passthrough.c | ||
pci_stub.c | ||
pciback_ops.c | ||
pciback.h | ||
vpci.c | ||
xenbus.c |